Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001733/0.001733, allocations: 111.8 kB / 19.12 MB, free: 3.922 MB / 14.72 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.002216/0.002216, allocations: 204.9 kB / 22.07 MB, free: 0.9727 MB / 14.72 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 1.515/1.515, allocations: 227.4 MB / 252.3 MB, free: 60 kB / 190.1 MB " [Timeout remaining time 178] 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.2401/0.2401, allocations: 46.17 MB / 351.8 MB, free: 14.27 MB / 286.1 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_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 80.05 kB / 490.9 MB, free: 28.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.12, allocations: 62.45 MB / 0.5403 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01243/0.1325, allocations: 8.414 MB / 0.5486 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.1451, allocations: 11.13 MB / 0.5594 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.047e-05/0.1452, allocations: 0 / 0.5594 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.1455, allocations: 35.8 kB / 0.5595 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006038/0.1515, allocations: 1.799 MB / 0.5612 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.326e-06/0.1516, allocations: 0 / 0.5612 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.1517, allocations: 47.67 kB / 0.5613 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.1517, allocations: 4 kB / 0.5613 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.1519, allocations: 39.78 kB / 0.5613 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.371e-05/0.1519, allocations: 15.94 kB / 0.5613 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.387e-06/0.1519, allocations: 0 / 0.5613 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01091/0.1629, allocations: 6.647 MB / 0.5678 GB, free: 7.992 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.1629, allocations: 11.92 kB / 0.5678 GB, free: 7.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.049e-05/0.163, allocations: 19.92 kB / 0.5678 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0141/0.1771, allocations: 4.643 MB / 0.5724 GB, free: 3.312 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1771, allocations: 0 / 0.5724 GB, free: 3.312 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1772, allocations: 0 / 0.5724 GB, free: 3.312 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1772, allocations: 0 / 0.5724 GB, free: 3.312 MB / 430.1 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.003/0.1802, allocations: 0.5779 MB / 0.5729 GB, free: 2.688 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1802, allocations: 11.97 kB / 0.573 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.1804, allocations: 16 kB / 0.573 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.1805, allocations: 167 kB / 0.5731 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1805, allocations: 7.938 kB / 0.5731 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.1805, allocations: 0 / 0.5731 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1807, allocations: 81.61 kB / 0.5732 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1807, allocations: 3.938 kB / 0.5732 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1807, allocations: 0 / 0.5732 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1808, allocations: 4 kB / 0.5732 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1809, allocations: 67.97 kB / 0.5733 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.1813, allocations: 324.7 kB / 0.5736 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.353e-05/0.1814, allocations: 54.5 kB / 0.5736 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.1815, allocations: 36.91 kB / 0.5737 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003276/0.1848, allocations: 1.838 MB / 0.5755 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.1848, allocations: 42.66 kB / 0.5755 GB, free: 15.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1848, allocations: 3.938 kB / 0.5755 GB, free: 15.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002939/0.1851, allocations: 105.7 kB / 0.5756 GB, free: 15.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.1852, allocations: 51.41 kB / 0.5757 GB, free: 15.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.685e-05/0.1853, allocations: 101.8 kB / 0.5758 GB, free: 15.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1853, allocations: 29.7 kB / 0.5758 GB, free: 15.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.1853, allocations: 84.09 kB / 0.5759 GB, free: 15.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.1854, allocations: 31.73 kB / 0.5759 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.1854, allocations: 21.72 kB / 0.5759 GB, free: 15.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1856, allocations: 318.8 kB / 0.5762 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.281e-05/0.1856, allocations: 23.98 kB / 0.5763 GB, free: 14.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.988e-05/0.1857, allocations: 33.7 kB / 0.5763 GB, free: 14.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.1858, allocations: 73.97 kB / 0.5764 GB, free: 14.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1858, allocations: 0 / 0.5764 GB, free: 14.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001645/0.186, allocations: 93.58 kB / 0.5764 GB, free: 14.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.186, allocations: 7.984 kB / 0.5765 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.186, allocations: 0 / 0.5765 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.186, allocations: 0 / 0.5765 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.181e-05/0.1861, allocations: 8 kB / 0.5765 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1861, allocations: 4 kB / 0.5765 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.123e-05/0.1862, allocations: 7.938 kB / 0.5765 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.1862, allocations: 8.031 kB / 0.5765 GB, free: 14.61 MB / 446.1 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 (6): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 0.0001098/0.1863, allocations: 113.7 kB / 0.5766 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.401e-05/0.1864, allocations: 7.953 kB / 0.5766 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.1867, allocations: 155 kB / 0.5767 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001474/0.1868, allocations: 113.6 kB / 0.5769 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1868, allocations: 4 kB / 0.5769 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1868, allocations: 0 / 0.5769 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.1873, allocations: 437.1 kB / 0.5773 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1873, allocations: 8.188 kB / 0.5773 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.1874, allocations: 19.98 kB / 0.5773 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1874, allocations: 0 / 0.5773 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1874, allocations: 3.938 kB / 0.5773 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1874, allocations: 0 / 0.5773 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1874, allocations: 4 kB / 0.5773 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.1877, allocations: 223.4 kB / 0.5775 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.1877, allocations: 89 kB / 0.5776 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1878, allocations: 7.938 kB / 0.5776 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.121e-05/0.1878, allocations: 4 kB / 0.5776 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.1878, allocations: 7.984 kB / 0.5776 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.1879, allocations: 0 / 0.5776 GB, free: 13.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.662e-05/0.1879, allocations: 83.28 kB / 0.5777 GB, free: 13.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1879, allocations: 0 / 0.5777 GB, free: 13.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001873/0.1898, allocations: 354.9 kB / 0.578 GB, free: 12.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.01169/0.2015, allocations: 3.734 MB / 0.5817 GB, free: 9.152 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000293/0.2018, allocations: 109.7 kB / 0.5818 GB, free: 9.039 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2018, allocations: 0 / 0.5818 GB, free: 9.039 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.072e-05/0.2019, allocations: 51.92 kB / 0.5818 GB, free: 8.988 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.2024, allocations: 44.14 kB / 0.5819 GB, free: 8.945 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.2028, allocations: 250.6 kB / 0.5821 GB, free: 8.668 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.2031, allocations: 0.6924 MB / 0.5828 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.2032, allocations: 15.44 kB / 0.5828 GB, free: 7.934 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2032, allocations: 0 / 0.5828 GB, free: 7.934 MB / 446.1 MB Notification: Performance of Templates: time 0.02471/0.2279, allocations: 19.39 MB / 0.6017 GB, free: 4.512 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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: 9.31034535402432]