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.001927/0.001927, allocations: 117 kB / 18.46 MB, free: 4.613 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.002498/0.002499, allocations: 205.8 kB / 21.4 MB, free: 1.668 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.592/1.592, allocations: 227.4 MB / 251.6 MB, free: 80 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.2462/0.2462, allocations: 46.17 MB / 351.1 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.002186/0.002186, allocations: 81.45 kB / 490.2 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1138, allocations: 62.45 MB / 0.5397 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01276/0.1266, allocations: 8.419 MB / 0.5479 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01375/0.1404, allocations: 11.13 MB / 0.5588 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.1405, allocations: 0 / 0.5588 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001979/0.1407, allocations: 43.72 kB / 0.5588 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005054/0.1458, allocations: 1.796 MB / 0.5606 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.052e-06/0.1459, allocations: 0 / 0.5606 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.146, allocations: 51.67 kB / 0.5606 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.146, allocations: 0 / 0.5606 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.1462, allocations: 39.84 kB / 0.5606 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.603e-05/0.1462, allocations: 11.94 kB / 0.5606 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.1462, allocations: 0 / 0.5606 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01038/0.1566, allocations: 6.662 MB / 0.5672 GB, free: 7.992 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.1567, allocations: 7.984 kB / 0.5672 GB, free: 7.984 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.1567, allocations: 15.88 kB / 0.5672 GB, free: 7.969 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.1693, allocations: 4.643 MB / 0.5717 GB, free: 3.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1694, allocations: 0 / 0.5717 GB, free: 3.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1694, allocations: 0 / 0.5717 GB, free: 3.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1694, allocations: 0 / 0.5717 GB, free: 3.32 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.002294/0.1717, allocations: 0.5789 MB / 0.5723 GB, free: 2.691 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1717, allocations: 8.031 kB / 0.5723 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.1719, allocations: 11.98 kB / 0.5723 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.172, allocations: 163 kB / 0.5725 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.172, allocations: 12 kB / 0.5725 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.172, allocations: 0 / 0.5725 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1722, allocations: 77.61 kB / 0.5725 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1722, allocations: 7.875 kB / 0.5725 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1722, allocations: 4 kB / 0.5725 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1722, allocations: 4 kB / 0.5726 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.1723, allocations: 71.95 kB / 0.5726 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.1728, allocations: 312.7 kB / 0.5729 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.968e-05/0.1729, allocations: 50.56 kB / 0.573 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.1729, allocations: 44.94 kB / 0.573 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003326/0.1763, allocations: 1.846 MB / 0.5748 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.1763, allocations: 34.5 kB / 0.5748 GB, free: 15.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.1763, allocations: 0 / 0.5748 GB, free: 15.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002685/0.1766, allocations: 109.6 kB / 0.575 GB, free: 15.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.1767, allocations: 55.41 kB / 0.575 GB, free: 15.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.706e-05/0.1767, allocations: 97.84 kB / 0.5751 GB, free: 15.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.1768, allocations: 25.7 kB / 0.5751 GB, free: 15.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.1768, allocations: 88.09 kB / 0.5752 GB, free: 15.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.1768, allocations: 31.73 kB / 0.5752 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.1769, allocations: 25.72 kB / 0.5753 GB, free: 15.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.177, allocations: 318.8 kB / 0.5756 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.075e-05/0.1771, allocations: 20 kB / 0.5756 GB, free: 14.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.249e-05/0.1771, allocations: 37.7 kB / 0.5756 GB, free: 14.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.825e-05/0.1772, allocations: 61.78 kB / 0.5757 GB, free: 14.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1773, allocations: 8 kB / 0.5757 GB, free: 14.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001657/0.1774, allocations: 101.6 kB / 0.5758 GB, free: 14.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.1774, allocations: 4 kB / 0.5758 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1775, allocations: 0 / 0.5758 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1775, allocations: 0 / 0.5758 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.952e-05/0.1775, allocations: 8.375 kB / 0.5758 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1775, allocations: 4 kB / 0.5758 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/0.1776, allocations: 3.938 kB / 0.5758 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.1776, allocations: 4 kB / 0.5758 GB, free: 14.63 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.0001301/0.1777, allocations: 125.7 kB / 0.5759 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.1778, allocations: 8.141 kB / 0.5759 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.178, allocations: 145.6 kB / 0.5761 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000145/0.1782, allocations: 121.7 kB / 0.5762 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1782, allocations: 0 / 0.5762 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1782, allocations: 0 / 0.5762 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.1787, allocations: 434.2 kB / 0.5766 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1787, allocations: 4.094 kB / 0.5766 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.558e-05/0.1788, allocations: 23.92 kB / 0.5766 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1788, allocations: 0 / 0.5766 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.1788, allocations: 3.938 kB / 0.5766 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1788, allocations: 4 kB / 0.5766 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1788, allocations: 0 / 0.5766 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1791, allocations: 225.8 kB / 0.5769 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.1792, allocations: 85 kB / 0.5769 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.1792, allocations: 15.92 kB / 0.5769 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.201e-05/0.1792, allocations: 0 / 0.5769 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.877e-05/0.1793, allocations: 8 kB / 0.577 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.1793, allocations: 0 / 0.577 GB, free: 13.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.2e-05/0.1793, allocations: 83.27 kB / 0.577 GB, free: 13.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1793, allocations: 0 / 0.577 GB, free: 13.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001509/0.1808, allocations: 359 kB / 0.5774 GB, free: 12.91 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.01156/0.1924, allocations: 3.724 MB / 0.581 GB, free: 9.168 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.1927, allocations: 113.6 kB / 0.5811 GB, free: 9.051 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1927, allocations: 0 / 0.5811 GB, free: 9.051 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.806e-05/0.1928, allocations: 59.95 kB / 0.5812 GB, free: 8.992 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.1932, allocations: 31.95 kB / 0.5812 GB, free: 8.961 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.1936, allocations: 229 kB / 0.5814 GB, free: 8.711 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1939, allocations: 0.6885 MB / 0.5821 GB, free: 7.996 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.73e-05/0.194, allocations: 15.88 kB / 0.5821 GB, free: 7.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.194, allocations: 19.42 kB / 0.5821 GB, free: 7.961 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.194, allocations: 4 kB / 0.5821 GB, free: 7.957 MB / 446.1 MB Notification: Performance of Templates: time 0.02602/0.2201, allocations: 18.13 MB / 0.5998 GB, free: 5.801 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.665244444273412]