Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009591/0.0009591, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004092/0.004092, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8599/0.8599, allocations: 177 MB / 204.9 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 34.24 MB / 295.6 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 443.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.941e-05, allocations: 6.281 kB / 443.4 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.1645/0.1645, allocations: 8.035 MB / 451.4 MB, free: 40.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005976/0.1705, allocations: 11.45 MB / 462.9 MB, free: 33.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.1705, allocations: 0 / 462.9 MB, free: 33.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.1707, allocations: 31.78 kB / 462.9 MB, free: 33.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003513/0.1742, allocations: 2.167 MB / 465.1 MB, free: 32.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.44e-06/0.1742, allocations: 3.312 kB / 465.1 MB, free: 32.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.245e-05/0.1743, allocations: 58.84 kB / 465.1 MB, free: 32.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.1744, allocations: 7.344 kB / 465.2 MB, free: 32.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1745, allocations: 38.78 kB / 465.2 MB, free: 32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.537e-05/0.1745, allocations: 21.78 kB / 465.2 MB, free: 31.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1745, allocations: 3.188 kB / 465.2 MB, free: 31.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004619/0.1791, allocations: 5.877 MB / 471.1 MB, free: 31.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.1792, allocations: 6.859 kB / 471.1 MB, free: 31.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.1792, allocations: 19.3 kB / 471.1 MB, free: 31.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005449/0.1846, allocations: 5.065 MB / 476.2 MB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1846, allocations: 3.938 kB / 476.2 MB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1846, allocations: 4 kB / 476.2 MB, free: 30.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1846, allocations: 3.031 kB / 476.2 MB, free: 30.56 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001721/0.1864, allocations: 0.5552 MB / 476.7 MB, free: 30.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1864, allocations: 8.875 kB / 476.8 MB, free: 30.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.363e-05/0.1865, allocations: 14.12 kB / 476.8 MB, free: 30.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.143e-05/0.1865, allocations: 105.2 kB / 476.9 MB, free: 29.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.1866, allocations: 7.125 kB / 476.9 MB, free: 29.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.1866, allocations: 3.312 kB / 476.9 MB, free: 29.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.1868, allocations: 116.7 kB / 477 MB, free: 29.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1868, allocations: 0 / 477 MB, free: 29.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1868, allocations: 5.672 kB / 477 MB, free: 29.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1868, allocations: 6.781 kB / 477 MB, free: 29.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.187, allocations: 133.7 kB / 477.1 MB, free: 29.89 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.1873, allocations: 278.7 kB / 477.4 MB, free: 29.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.1875, allocations: 74.27 kB / 477.5 MB, free: 29.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.034e-05/0.1875, allocations: 41.05 kB / 477.5 MB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/0.189, allocations: 0.8768 MB / 478.4 MB, free: 29.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.189, allocations: 36.62 kB / 478.4 MB, free: 29.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.189, allocations: 0 / 478.4 MB, free: 29.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003541/0.1893, allocations: 148.2 kB / 478.6 MB, free: 29.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.1893, allocations: 52.47 kB / 478.6 MB, free: 29.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.922e-05/0.1894, allocations: 102.2 kB / 478.7 MB, free: 29.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.6e-06/0.1894, allocations: 25.7 kB / 478.8 MB, free: 29.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.247e-05/0.1894, allocations: 90.22 kB / 478.8 MB, free: 29.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.12e-05/0.1894, allocations: 22.39 kB / 478.9 MB, free: 29.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.1895, allocations: 25.31 kB / 478.9 MB, free: 28.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.701e-05/0.1895, allocations: 315.1 kB / 479.2 MB, free: 28.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-05/0.1895, allocations: 27.81 kB / 479.2 MB, free: 28.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.271e-05/0.1896, allocations: 44.38 kB / 479.3 MB, free: 28.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.681e-05/0.1897, allocations: 69.53 kB / 479.3 MB, free: 28.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1897, allocations: 0 / 479.3 MB, free: 28.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001399/0.1898, allocations: 108.6 kB / 479.4 MB, free: 28.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1898, allocations: 7.156 kB / 479.5 MB, free: 28.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1898, allocations: 1.469 kB / 479.5 MB, free: 28.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1898, allocations: 0 / 479.5 MB, free: 28.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.586e-05/0.1899, allocations: 21.47 kB / 479.5 MB, free: 28.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1899, allocations: 8.531 kB / 479.5 MB, free: 28.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.1899, allocations: 2.719 kB / 479.5 MB, free: 28.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.19, allocations: 5.453 kB / 479.5 MB, free: 28.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.19, allocations: 115.9 kB / 479.6 MB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.19, allocations: 10.89 kB / 479.6 MB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.1903, allocations: 262.4 kB / 479.9 MB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1903, allocations: 4.719 kB / 479.9 MB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1903, allocations: 3.797 kB / 479.9 MB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1903, allocations: 0 / 479.9 MB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.1904, allocations: 163.5 kB / 480 MB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1904, allocations: 0 / 480 MB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.1904, allocations: 26.2 kB / 480.1 MB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1904, allocations: 3.938 kB / 480.1 MB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1904, allocations: 2.281 kB / 480.1 MB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.1904, allocations: 4 kB / 480.1 MB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1904, allocations: 4.562 kB / 480.1 MB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.1906, allocations: 257.5 kB / 480.3 MB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.1906, allocations: 14.98 kB / 480.3 MB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.1906, allocations: 1 kB / 480.3 MB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.535e-05/0.1907, allocations: 2.25 kB / 480.3 MB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.1907, allocations: 16.05 kB / 480.4 MB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.1907, allocations: 2.406 kB / 480.4 MB, free: 27.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.32e-05/0.1907, allocations: 85.89 kB / 480.5 MB, free: 27.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1907, allocations: 0 / 480.5 MB, free: 27.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009549/0.1917, allocations: 379.3 kB / 480.8 MB, free: 27.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007052/0.1987, allocations: 3.617 MB / 484.4 MB, free: 25.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.1989, allocations: 98.72 kB / 484.5 MB, free: 25.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1989, allocations: 0 / 484.5 MB, free: 25.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.199, allocations: 65.14 kB / 484.6 MB, free: 25.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.1992, allocations: 20.2 kB / 484.6 MB, free: 25.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.1995, allocations: 261.8 kB / 484.9 MB, free: 25.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.408e-05/0.1996, allocations: 80.81 kB / 485 MB, free: 25.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.1996, allocations: 20.94 kB / 485 MB, free: 25.54 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1996, allocations: 0 / 485 MB, free: 25.54 MB / 410.7 MB Notification: Performance of Templates: time 0.01685/0.2165, allocations: 17.02 MB / 0.4902 GB, free: 21.68 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.910671586170793]