Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 100.6 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002278/0.002278, allocations: 185.2 kB / 24.51 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.241/0.241, allocations: 44.91 MB / 353.5 MB, free: 11.84 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002413, allocations: 71.89 kB / 497.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4029, allocations: 64.28 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01618/0.4191, allocations: 8.401 MB / 0.557 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01441/0.4335, allocations: 11.2 MB / 0.5679 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.131e-05/0.4336, allocations: 0 / 0.5679 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.4338, allocations: 39.8 kB / 0.568 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006129/0.4399, allocations: 1.827 MB / 0.5698 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.023e-05/0.4399, allocations: 4 kB / 0.5698 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.4401, allocations: 47.69 kB / 0.5698 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.479e-05/0.4401, allocations: 3.984 kB / 0.5698 GB, free: 9.883 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.4403, allocations: 31.8 kB / 0.5698 GB, free: 9.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.4403, allocations: 19.92 kB / 0.5699 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.765e-06/0.4403, allocations: 0 / 0.5699 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0133/0.4536, allocations: 6.69 MB / 0.5764 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.4537, allocations: 3.984 kB / 0.5764 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.605e-05/0.4537, allocations: 23.88 kB / 0.5764 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01688/0.4706, allocations: 4.639 MB / 0.5809 GB, free: 14.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.4706, allocations: 0 / 0.5809 GB, free: 14.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4706, allocations: 0 / 0.5809 GB, free: 14.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.4706, allocations: 0 / 0.5809 GB, free: 14.46 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.002903/0.4735, allocations: 0.4959 MB / 0.5814 GB, free: 13.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.4736, allocations: 12.92 kB / 0.5814 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.4737, allocations: 7.953 kB / 0.5815 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.4738, allocations: 109.2 kB / 0.5816 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.4738, allocations: 4 kB / 0.5816 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.4739, allocations: 8 kB / 0.5816 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.474, allocations: 77.67 kB / 0.5816 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.474, allocations: 3.938 kB / 0.5816 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.4741, allocations: 7.938 kB / 0.5817 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.4741, allocations: 0 / 0.5817 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.4742, allocations: 75.97 kB / 0.5817 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.4747, allocations: 303.7 kB / 0.582 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.237e-05/0.4748, allocations: 38.58 kB / 0.5821 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.4749, allocations: 28.91 kB / 0.5821 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002709/0.4776, allocations: 0.7295 MB / 0.5828 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.4776, allocations: 34.56 kB / 0.5828 GB, free: 12.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.944e-06/0.4776, allocations: 0 / 0.5828 GB, free: 12.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003395/0.478, allocations: 105.7 kB / 0.5829 GB, free: 12.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.478, allocations: 55.41 kB / 0.583 GB, free: 12.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.4781, allocations: 93.86 kB / 0.5831 GB, free: 12.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.4781, allocations: 25.7 kB / 0.5831 GB, free: 12.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.4782, allocations: 92.2 kB / 0.5832 GB, free: 12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.4782, allocations: 31.75 kB / 0.5832 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.4783, allocations: 25.7 kB / 0.5832 GB, free: 11.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.4785, allocations: 314.8 kB / 0.5835 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.858e-05/0.4785, allocations: 23.94 kB / 0.5836 GB, free: 11.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.068e-05/0.4786, allocations: 37.81 kB / 0.5836 GB, free: 11.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.4787, allocations: 70.02 kB / 0.5837 GB, free: 11.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4787, allocations: 4 kB / 0.5837 GB, free: 11.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001847/0.4789, allocations: 89.56 kB / 0.5838 GB, free: 11.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.4789, allocations: 8 kB / 0.5838 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4789, allocations: 0 / 0.5838 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4789, allocations: 0 / 0.5838 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.479, allocations: 11.94 kB / 0.5838 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.479, allocations: 0 / 0.5838 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.334e-05/0.479, allocations: 11.94 kB / 0.5838 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.4791, allocations: 4 kB / 0.5838 GB, free: 11.35 MB / 430.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.0001165/0.4792, allocations: 125.7 kB / 0.5839 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.4792, allocations: 4 kB / 0.5839 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.4795, allocations: 153.5 kB / 0.5841 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001688/0.4797, allocations: 117.6 kB / 0.5842 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4797, allocations: 0 / 0.5842 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.4797, allocations: 3.984 kB / 0.5842 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.4802, allocations: 409.3 kB / 0.5846 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4802, allocations: 0 / 0.5846 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.363e-05/0.4803, allocations: 23.92 kB / 0.5846 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.4803, allocations: 4.25 kB / 0.5846 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.4803, allocations: 3.938 kB / 0.5846 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.4803, allocations: 7.984 kB / 0.5846 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.4803, allocations: 0 / 0.5846 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.4806, allocations: 223.1 kB / 0.5848 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/0.4806, allocations: 4 kB / 0.5848 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.4806, allocations: 3.938 kB / 0.5848 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.627e-05/0.4807, allocations: 8 kB / 0.5848 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.4807, allocations: 3.984 kB / 0.5848 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.4807, allocations: 7.938 kB / 0.5848 GB, free: 10.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.447e-05/0.4807, allocations: 79.22 kB / 0.5849 GB, free: 10.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4807, allocations: 0 / 0.5849 GB, free: 10.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002402/0.4831, allocations: 354.9 kB / 0.5853 GB, free: 9.766 MB / 430.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.01307/0.4962, allocations: 3.706 MB / 0.5889 GB, free: 6.043 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.4965, allocations: 109.5 kB / 0.589 GB, free: 5.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4965, allocations: 0 / 0.589 GB, free: 5.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.422e-05/0.4966, allocations: 43.98 kB / 0.589 GB, free: 5.887 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.497, allocations: 40.14 kB / 0.5891 GB, free: 5.848 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.4974, allocations: 209.3 kB / 0.5893 GB, free: 5.617 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.4977, allocations: 0.6885 MB / 0.5899 GB, free: 4.902 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.189e-05/0.4978, allocations: 16.12 kB / 0.5899 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.4978, allocations: 19.42 kB / 0.59 GB, free: 4.867 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4978, allocations: 0 / 0.59 GB, free: 4.867 MB / 430.1 MB Notification: Performance of Templates: time 0.02916/0.527, allocations: 18.09 MB / 0.6076 GB, free: 2.75 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.962754632346332]