Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001382/0.001382, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001427/0.001427, allocations: 165 kB / 24.56 MB, free: 16 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.9249/0.9249, allocations: 177.2 MB / 205 MB, free: 5.297 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.2346/0.2346, allocations: 34.26 MB / 295.7 MB, free: 0.6328 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,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") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172e-05/1.3e-05, allocations: 6.25 kB / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.008362/0.008375, allocations: 8.522 MB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007718/0.01609, allocations: 11.05 MB / 397.6 MB, free: 15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/0.01613, allocations: 0 / 397.6 MB, free: 15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.01632, allocations: 35.81 kB / 397.6 MB, free: 14.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003787/0.02011, allocations: 1.894 MB / 399.5 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.819e-06/0.02012, allocations: 4 kB / 399.5 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.229e-05/0.02021, allocations: 55.55 kB / 399.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.617e-05/0.02024, allocations: 4 kB / 399.6 MB, free: 13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.02037, allocations: 35.89 kB / 399.6 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.971e-05/0.0204, allocations: 11.94 kB / 399.6 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.267e-06/0.02041, allocations: 0 / 399.6 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006132/0.02654, allocations: 6.599 MB / 406.2 MB, free: 6.344 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.02656, allocations: 7.938 kB / 406.2 MB, free: 6.336 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.02659, allocations: 11.94 kB / 406.3 MB, free: 6.324 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007895/0.03449, allocations: 5.337 MB / 411.6 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.03449, allocations: 0 / 411.6 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.03449, allocations: 0 / 411.6 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.0345, allocations: 0 / 411.6 MB, free: 0.9805 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.00198/0.03648, allocations: 0.6031 MB / 412.2 MB, free: 348 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.03651, allocations: 8.031 kB / 412.2 MB, free: 340 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.03665, allocations: 27.88 kB / 412.2 MB, free: 312 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.162e-05/0.03674, allocations: 116 kB / 412.3 MB, free: 168 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.03676, allocations: 4 kB / 412.3 MB, free: 164 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.03676, allocations: 0 / 412.3 MB, free: 164 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.03687, allocations: 65.66 kB / 412.4 MB, free: 92 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.03688, allocations: 0 / 412.4 MB, free: 92 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.03689, allocations: 3.984 kB / 412.4 MB, free: 88 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.0369, allocations: 3.938 kB / 412.4 MB, free: 84 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/0.03695, allocations: 39.92 kB / 412.5 MB, free: 44 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.03732, allocations: 299.7 kB / 412.8 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.527e-05/0.03737, allocations: 43.06 kB / 412.8 MB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.0374, allocations: 27.73 kB / 412.8 MB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/0.0388, allocations: 0.8578 MB / 413.7 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.03882, allocations: 33.39 kB / 413.7 MB, free: 14.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.03882, allocations: 0 / 413.7 MB, free: 14.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.000201/0.03903, allocations: 105.6 kB / 413.8 MB, free: 14.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.03905, allocations: 51.41 kB / 413.9 MB, free: 14.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.444e-05/0.03912, allocations: 157.9 kB / 414 MB, free: 14.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.03913, allocations: 25.7 kB / 414 MB, free: 14.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.03917, allocations: 138.8 kB / 414.2 MB, free: 14.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.03919, allocations: 27.75 kB / 414.2 MB, free: 14.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.03922, allocations: 31.36 kB / 414.2 MB, free: 14.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.03931, allocations: 496.1 kB / 414.7 MB, free: 13.65 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.316e-05/0.03933, allocations: 19.98 kB / 414.7 MB, free: 13.63 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.292e-05/0.03937, allocations: 39.3 kB / 414.8 MB, free: 13.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.7e-05/0.03942, allocations: 55.38 kB / 414.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.03943, allocations: 0 / 414.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001347/0.03956, allocations: 93.45 kB / 414.9 MB, free: 13.42 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.03958, allocations: 8.625 kB / 414.9 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.03958, allocations: 0 / 414.9 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.03959, allocations: 0 / 414.9 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.515e-05/0.03964, allocations: 16.02 kB / 414.9 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.03964, allocations: 3.938 kB / 415 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.03966, allocations: 4.188 kB / 415 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.03967, allocations: 4 kB / 415 MB, free: 13.39 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.359e-05/0.03974, allocations: 156.6 kB / 415.1 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.03976, allocations: 15.89 kB / 415.1 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.03991, allocations: 126 kB / 415.3 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-05/0.03998, allocations: 97.62 kB / 415.3 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.03998, allocations: 0 / 415.3 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.03999, allocations: 7.984 kB / 415.4 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.04026, allocations: 405.1 kB / 415.8 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.04026, allocations: 3.984 kB / 415.8 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.23e-05/0.04029, allocations: 12 kB / 415.8 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.04029, allocations: 0 / 415.8 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.0403, allocations: 4 kB / 415.8 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.0403, allocations: 3.984 kB / 415.8 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.04031, allocations: 0 / 415.8 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.04045, allocations: 267.5 kB / 416 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.04046, allocations: 11.89 kB / 416 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.04047, allocations: 8 kB / 416.1 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.743e-05/0.0405, allocations: 0 / 416.1 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.04051, allocations: 7.984 kB / 416.1 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.04052, allocations: 8 kB / 416.1 MB, free: 12.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.037e-05/0.04055, allocations: 131.3 kB / 416.2 MB, free: 12.06 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.04055, allocations: 0 / 416.2 MB, free: 12.06 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001204/0.04176, allocations: 358.9 kB / 416.5 MB, free: 11.71 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.008315/0.05007, allocations: 4.143 MB / 420.7 MB, free: 7.551 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.05024, allocations: 102.7 kB / 420.8 MB, free: 7.438 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.05024, allocations: 0 / 420.8 MB, free: 7.438 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.783e-05/0.05028, allocations: 43.61 kB / 420.8 MB, free: 7.391 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.05053, allocations: 35.91 kB / 420.9 MB, free: 7.355 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006074/0.05114, allocations: 220.5 kB / 421.1 MB, free: 7.113 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.381e-05/0.05117, allocations: 67.28 kB / 421.2 MB, free: 7.027 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.423e-05/0.05121, allocations: 16.12 kB / 421.2 MB, free: 7.012 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.05123, allocations: 16.5 kB / 421.2 MB, free: 6.996 MB / 394.7 MB Notification: Performance of SimCode: time 5.52e-07/0.05123, allocations: 0 / 421.2 MB, free: 6.996 MB / 394.7 MB Notification: Performance of Templates: time 0.01949/0.07072, allocations: 21.16 MB / 442.3 MB, free: 1.832 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.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.010768135078251]