Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.001372/0.001372, allocations: 109 kB / 21.1 MB, free: 0.7734 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.001461/0.001461, allocations: 225.4 kB / 24.39 MB, free: 4.184 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.481/1.481, allocations: 230.4 MB / 257.9 MB, free: 8.078 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2428/0.2428, allocations: 46.93 MB / 361.3 MB, free: 4.25 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") translateModel(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002529/0.002529, allocations: 79.88 kB / 0.4971 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4023, allocations: 66.08 MB / 0.5616 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01366/0.4159, allocations: 8.751 MB / 0.5701 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01787/0.4338, allocations: 14.01 MB / 0.5838 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.703e-05/0.4339, allocations: 3.938 kB / 0.5838 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.4341, allocations: 51.77 kB / 0.5839 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007631/0.4418, allocations: 2.454 MB / 0.5863 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001114/0.4419, allocations: 19.91 kB / 0.5863 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.4421, allocations: 127.2 kB / 0.5864 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.192e-05/0.4421, allocations: 4 kB / 0.5864 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.4423, allocations: 71.7 kB / 0.5865 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.4424, allocations: 39.84 kB / 0.5865 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.4424, allocations: 0 / 0.5865 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01338/0.4558, allocations: 7.275 MB / 0.5936 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.303e-05/0.4559, allocations: 11.98 kB / 0.5936 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.456, allocations: 43.8 kB / 0.5937 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01848/0.4744, allocations: 6.34 MB / 0.5999 GB, free: 12.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.4745, allocations: 0 / 0.5999 GB, free: 12.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4745, allocations: 0 / 0.5999 GB, free: 12.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.4745, allocations: 4 kB / 0.5999 GB, free: 12.97 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.004648/0.4791, allocations: 0.6636 MB / 0.6005 GB, free: 12.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.4792, allocations: 16.02 kB / 0.6005 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.4794, allocations: 23.94 kB / 0.6006 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.4795, allocations: 109.2 kB / 0.6007 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.4795, allocations: 7.938 kB / 0.6007 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.4796, allocations: 11.98 kB / 0.6007 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.48, allocations: 206.7 kB / 0.6009 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.48, allocations: 3.938 kB / 0.6009 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.48, allocations: 8 kB / 0.6009 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.48, allocations: 0 / 0.6009 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003806/0.4804, allocations: 115.9 kB / 0.601 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007807/0.4812, allocations: 0.581 MB / 0.6016 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/0.4817, allocations: 130.5 kB / 0.6017 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.4818, allocations: 44.83 kB / 0.6017 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0023/0.4841, allocations: 0.6399 MB / 0.6024 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004613/0.4846, allocations: 220.3 kB / 0.6026 GB, free: 9.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.4846, allocations: 0 / 0.6026 GB, free: 9.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008256/0.4854, allocations: 233.5 kB / 0.6028 GB, free: 9.746 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.4854, allocations: 59.41 kB / 0.6028 GB, free: 9.676 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.706e-05/0.4855, allocations: 97.86 kB / 0.6029 GB, free: 9.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.4856, allocations: 33.69 kB / 0.603 GB, free: 9.531 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.4856, allocations: 91.88 kB / 0.6031 GB, free: 9.438 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/0.4857, allocations: 51.56 kB / 0.6031 GB, free: 9.387 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.4857, allocations: 37.7 kB / 0.6031 GB, free: 9.344 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4859, allocations: 326.8 kB / 0.6035 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.486, allocations: 43.97 kB / 0.6035 GB, free: 8.973 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.4862, allocations: 65.62 kB / 0.6036 GB, free: 8.902 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.4865, allocations: 112.7 kB / 0.6037 GB, free: 8.789 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4865, allocations: 0 / 0.6037 GB, free: 8.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004063/0.4869, allocations: 165.5 kB / 0.6038 GB, free: 8.621 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4869, allocations: 4 kB / 0.6038 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4869, allocations: 3.938 kB / 0.6038 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4869, allocations: 0 / 0.6038 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.487, allocations: 27.98 kB / 0.6039 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.487, allocations: 0 / 0.6039 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.4872, allocations: 23.88 kB / 0.6039 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.4872, allocations: 8 kB / 0.6039 GB, free: 8.555 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: 9 (dT,$PRE.dT,state.phase,p,$PRE.p,state_check.phase,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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.0001136/0.4873, allocations: 117.8 kB / 0.604 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.307e-05/0.4874, allocations: 15.94 kB / 0.604 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000701/0.4881, allocations: 365.3 kB / 0.6044 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005145/0.4886, allocations: 305.5 kB / 0.6047 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4886, allocations: 0 / 0.6047 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4886, allocations: 0 / 0.6047 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.4897, allocations: 0.6807 MB / 0.6053 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4897, allocations: 4 kB / 0.6053 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.4899, allocations: 27.97 kB / 0.6054 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.4899, allocations: 0 / 0.6054 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.4899, allocations: 8 kB / 0.6054 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4899, allocations: 0 / 0.6054 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4899, allocations: 0 / 0.6054 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007591/0.4907, allocations: 463.1 kB / 0.6058 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.4907, allocations: 19.81 kB / 0.6058 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.4907, allocations: 15.92 kB / 0.6058 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.4909, allocations: 24.05 kB / 0.6059 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.491, allocations: 19.95 kB / 0.6059 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.491, allocations: 12 kB / 0.6059 GB, free: 6.418 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.325e-05/0.4911, allocations: 83.27 kB / 0.606 GB, free: 6.336 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4911, allocations: 0 / 0.606 GB, free: 6.336 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003603/0.4947, allocations: 458.7 kB / 0.6064 GB, free: 5.887 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (T) * Number of discrete variables: 10 (state.phase,$cse3.phase,$cse4,$cse5.phase,$whenCondition3,$whenCondition2,$whenCondition1,dT,state_check.phase,p) * Number of discrete states: 2 (dT,p) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.01828/0.5129, allocations: 4.887 MB / 0.6112 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006014/0.5135, allocations: 193.5 kB / 0.6114 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5135, allocations: 0 / 0.6114 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.5138, allocations: 107.8 kB / 0.6115 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/0.5144, allocations: 78.25 kB / 0.6115 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008453/0.5152, allocations: 391.2 kB / 0.6119 GB, free: 204 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.5155, allocations: 0.7212 MB / 0.6126 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.5157, allocations: 48.81 kB / 0.6127 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.5157, allocations: 31.42 kB / 0.6127 GB, free: 15.37 MB / 462.1 MB Notification: Performance of SimCode: time 4.2e-07/0.5157, allocations: 0 / 0.6127 GB, free: 15.37 MB / 462.1 MB Notification: Performance of Templates: time 0.03386/0.5496, allocations: 21.14 MB / 0.6333 GB, free: 10.21 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_pTX_phX_all/R134a_pTX_phX_all.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.256522696465254]