Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009175/0.0009175, allocations: 83.58 kB / 21.19 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009038/0.0009038, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9547/0.9547, allocations: 177.1 MB / 205 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2605/0.2605, allocations: 34.26 MB / 295.7 MB, free: 0.7422 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.499e-05, allocations: 6.312 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.009361/0.009376, allocations: 8.533 MB / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008355/0.01773, allocations: 11.06 MB / 397.6 MB, free: 14.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.103e-05/0.01776, allocations: 3.938 kB / 397.6 MB, free: 14.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.01796, allocations: 35.81 kB / 397.7 MB, free: 14.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002934/0.02089, allocations: 1.892 MB / 399.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.989e-06/0.0209, allocations: 0 / 399.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.02101, allocations: 55.55 kB / 399.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.02106, allocations: 8 kB / 399.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.02122, allocations: 35.89 kB / 399.7 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.326e-05/0.02126, allocations: 19.88 kB / 399.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.02127, allocations: 0 / 399.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006529/0.0278, allocations: 6.591 MB / 406.3 MB, free: 6.324 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.02781, allocations: 4 kB / 406.3 MB, free: 6.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.02785, allocations: 19.92 kB / 406.3 MB, free: 6.301 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007383/0.03524, allocations: 5.333 MB / 411.6 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.03524, allocations: 0 / 411.6 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.03524, allocations: 0 / 411.6 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.03525, allocations: 0 / 411.6 MB, free: 0.9609 MB / 378.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.001347/0.03659, allocations: 0.6032 MB / 412.2 MB, free: 328 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.03663, allocations: 15.97 kB / 412.2 MB, free: 312 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.03675, allocations: 27.88 kB / 412.3 MB, free: 284 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.849e-05/0.03684, allocations: 108.1 kB / 412.4 MB, free: 148 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.03686, allocations: 4 kB / 412.4 MB, free: 144 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.03687, allocations: 0 / 412.4 MB, free: 144 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.03701, allocations: 65.59 kB / 412.4 MB, free: 72 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.03702, allocations: 0 / 412.4 MB, free: 72 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.03703, allocations: 3.984 kB / 412.4 MB, free: 68 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.03704, allocations: 3.938 kB / 412.4 MB, free: 64 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.099e-05/0.03709, allocations: 35.98 kB / 412.5 MB, free: 28 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.03746, allocations: 303.7 kB / 412.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.255e-05/0.03751, allocations: 46.98 kB / 412.8 MB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.03754, allocations: 27.73 kB / 412.9 MB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/0.03898, allocations: 0.8499 MB / 413.7 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.039, allocations: 33.39 kB / 413.7 MB, free: 14.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.039, allocations: 0 / 413.7 MB, free: 14.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002178/0.03922, allocations: 105.7 kB / 413.8 MB, free: 14.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.03924, allocations: 59.41 kB / 413.9 MB, free: 14.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.581e-05/0.03931, allocations: 157.9 kB / 414 MB, free: 14.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.03932, allocations: 29.7 kB / 414.1 MB, free: 14.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.03936, allocations: 130.8 kB / 414.2 MB, free: 14.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.03938, allocations: 27.75 kB / 414.2 MB, free: 14.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.03941, allocations: 31.36 kB / 414.3 MB, free: 14.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.0395, allocations: 496.1 kB / 414.7 MB, free: 13.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.03953, allocations: 19.92 kB / 414.8 MB, free: 13.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/0.03957, allocations: 39.36 kB / 414.8 MB, free: 13.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.803e-05/0.03963, allocations: 55.41 kB / 414.9 MB, free: 13.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.03963, allocations: 0 / 414.9 MB, free: 13.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001093/0.03974, allocations: 97.45 kB / 415 MB, free: 13.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.03975, allocations: 4 kB / 415 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.03976, allocations: 0 / 415 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.03977, allocations: 3.938 kB / 415 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.713e-05/0.03982, allocations: 11.98 kB / 415 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.03982, allocations: 4 kB / 415 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.679e-05/0.03984, allocations: 4 kB / 415 MB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.03985, allocations: 4 kB / 415 MB, free: 13.37 MB / 394.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 (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 6.159e-05/0.03991, allocations: 156.6 kB / 415.1 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.03994, allocations: 11.89 kB / 415.2 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.04011, allocations: 138.2 kB / 415.3 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.421e-05/0.04018, allocations: 89.69 kB / 415.4 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.04019, allocations: 7.938 kB / 415.4 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.04019, allocations: 3.984 kB / 415.4 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.04047, allocations: 401.2 kB / 415.8 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.04048, allocations: 0 / 415.8 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.04051, allocations: 19.92 kB / 415.8 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.04051, allocations: 8 kB / 415.8 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.04052, allocations: 4 kB / 415.8 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.04052, allocations: 0 / 415.8 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.04052, allocations: 0 / 415.8 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.04075, allocations: 263.8 kB / 416.1 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.04076, allocations: 11.89 kB / 416.1 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.04077, allocations: 0 / 416.1 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.856e-05/0.0408, allocations: 4 kB / 416.1 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.04082, allocations: 7.922 kB / 416.1 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.04083, allocations: 8 kB / 416.1 MB, free: 12.17 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.186e-05/0.04086, allocations: 131.3 kB / 416.2 MB, free: 12.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04086, allocations: 4 kB / 416.2 MB, free: 12.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009564/0.04182, allocations: 362.9 kB / 416.6 MB, free: 11.68 MB / 394.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: 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.008327/0.05015, allocations: 4.135 MB / 420.7 MB, free: 7.531 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.05031, allocations: 98.7 kB / 420.8 MB, free: 7.422 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.05032, allocations: 0 / 420.8 MB, free: 7.422 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.699e-05/0.05035, allocations: 39.67 kB / 420.9 MB, free: 7.379 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.05064, allocations: 44.14 kB / 420.9 MB, free: 7.336 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006835/0.05132, allocations: 228.3 kB / 421.1 MB, free: 7.086 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.116e-05/0.05137, allocations: 63.34 kB / 421.2 MB, free: 7.004 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.818e-05/0.0514, allocations: 16.34 kB / 421.2 MB, free: 6.988 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.05143, allocations: 16.5 kB / 421.2 MB, free: 6.973 MB / 394.7 MB Notification: Performance of SimCode: time 8.51e-07/0.05143, allocations: 0 / 421.2 MB, free: 6.973 MB / 394.7 MB Notification: Performance of Templates: time 0.01734/0.06877, allocations: 18.57 MB / 439.8 MB, free: 4.402 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.180299976840615]