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.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.001134/0.001134, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.001032/0.001032, allocations: 161.5 kB / 24.99 MB, free: 9.281 MB / 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 1.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2572/0.2572, allocations: 32.81 MB / 294.6 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 180] 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.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.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 1.803e-06/1.803e-06, allocations: 0 / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.016e-05/3.196e-05, allocations: 6.25 kB / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01079/0.01082, allocations: 8.487 MB / 384.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008407/0.01923, allocations: 11.03 MB / 395.5 MB, free: 1.402 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.01927, allocations: 0 / 395.5 MB, free: 1.402 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.01947, allocations: 39.75 kB / 395.5 MB, free: 1.363 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00324/0.02271, allocations: 1.874 MB / 397.4 MB, free: 15.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.817e-06/0.02272, allocations: 0 / 397.4 MB, free: 15.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.836e-05/0.0228, allocations: 51.66 kB / 397.5 MB, free: 15.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.02284, allocations: 4 kB / 397.5 MB, free: 15.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.02296, allocations: 35.78 kB / 397.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.7e-05/0.02299, allocations: 15.97 kB / 397.5 MB, free: 15.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.023, allocations: 4 kB / 397.5 MB, free: 15.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006181/0.02918, allocations: 6.595 MB / 404.1 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.0292, allocations: 7.938 kB / 404.1 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.02923, allocations: 8 kB / 404.1 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00621/0.03544, allocations: 5.333 MB / 409.5 MB, free: 3.406 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.03544, allocations: 0 / 409.5 MB, free: 3.406 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.03544, allocations: 4 kB / 409.5 MB, free: 3.402 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.03545, allocations: 0 / 409.5 MB, free: 3.402 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.001592/0.03704, allocations: 0.5954 MB / 410.1 MB, free: 2.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.03709, allocations: 12.03 kB / 410.1 MB, free: 2.758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.03724, allocations: 27.88 kB / 410.1 MB, free: 2.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.661e-05/0.0373, allocations: 108 kB / 410.2 MB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.03732, allocations: 0 / 410.2 MB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.03733, allocations: 8 kB / 410.2 MB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.03744, allocations: 61.61 kB / 410.3 MB, free: 2.523 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.03745, allocations: 0 / 410.3 MB, free: 2.523 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.03746, allocations: 4 kB / 410.3 MB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.03747, allocations: 3.938 kB / 410.3 MB, free: 2.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.08e-05/0.03752, allocations: 31.98 kB / 410.3 MB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.03788, allocations: 299.7 kB / 410.6 MB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.564e-05/0.03793, allocations: 42.98 kB / 410.7 MB, free: 2.102 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.267e-05/0.03797, allocations: 27.73 kB / 410.7 MB, free: 2.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/0.03944, allocations: 0.8499 MB / 411.5 MB, free: 1.219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.03947, allocations: 37.39 kB / 411.6 MB, free: 1.172 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.914e-06/0.03947, allocations: 0 / 411.6 MB, free: 1.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002455/0.03972, allocations: 101.7 kB / 411.7 MB, free: 1.066 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.03976, allocations: 51.41 kB / 411.7 MB, free: 1.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.933e-05/0.03984, allocations: 149.9 kB / 411.9 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.03985, allocations: 29.7 kB / 411.9 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.03989, allocations: 138.9 kB / 412 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.03992, allocations: 39.72 kB / 412.1 MB, free: 0.625 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.03995, allocations: 27.38 kB / 412.1 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.04008, allocations: 0.4883 MB / 412.6 MB, free: 92 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.576e-05/0.04011, allocations: 16 kB / 412.6 MB, free: 76 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.763e-05/0.04014, allocations: 35.36 kB / 412.6 MB, free: 32 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.402e-05/0.04022, allocations: 55.36 kB / 412.7 MB, free: 15.97 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.04022, allocations: 0 / 412.7 MB, free: 15.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001211/0.04034, allocations: 97.5 kB / 412.8 MB, free: 15.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.04035, allocations: 8 kB / 412.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.04036, allocations: 7.969 kB / 412.8 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.04037, allocations: 3.938 kB / 412.8 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.157e-05/0.04043, allocations: 8 kB / 412.8 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.04043, allocations: 0 / 412.8 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.684e-05/0.04045, allocations: 4 kB / 412.8 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.04046, allocations: 3.984 kB / 412.8 MB, free: 15.83 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.622e-05/0.04053, allocations: 160.6 kB / 413 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.04056, allocations: 15.83 kB / 413 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.04072, allocations: 122.1 kB / 413.1 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.787e-05/0.0408, allocations: 101.7 kB / 413.2 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.04081, allocations: 4 kB / 413.2 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.04081, allocations: 0 / 413.2 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.04111, allocations: 404.9 kB / 413.6 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.04111, allocations: 0 / 413.6 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.04115, allocations: 15.94 kB / 413.6 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.04115, allocations: 0 / 413.6 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.04116, allocations: 3.984 kB / 413.6 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.04116, allocations: 4 kB / 413.6 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.04116, allocations: 0 / 413.6 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.04131, allocations: 267.8 kB / 413.9 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-06/0.04132, allocations: 7.953 kB / 413.9 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.04133, allocations: 0 / 413.9 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.019e-05/0.04136, allocations: 4 kB / 413.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.04138, allocations: 11.92 kB / 413.9 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.04139, allocations: 4 kB / 413.9 MB, free: 14.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.71e-05/0.04141, allocations: 119.2 kB / 414 MB, free: 14.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04141, allocations: 0 / 414 MB, free: 14.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001103/0.04252, allocations: 362.9 kB / 414.4 MB, free: 14.18 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.00911/0.05163, allocations: 4.147 MB / 418.5 MB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.0518, allocations: 102.9 kB / 418.6 MB, free: 9.898 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.05181, allocations: 3.938 kB / 418.6 MB, free: 9.895 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.081e-05/0.05185, allocations: 43.67 kB / 418.7 MB, free: 9.848 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.05212, allocations: 48.12 kB / 418.7 MB, free: 9.801 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006222/0.05274, allocations: 204.4 kB / 418.9 MB, free: 9.574 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.221e-05/0.05278, allocations: 59.36 kB / 419 MB, free: 9.496 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.989e-05/0.05282, allocations: 24.05 kB / 419 MB, free: 9.473 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.05285, allocations: 16.5 kB / 419 MB, free: 9.457 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.05285, allocations: 0 / 419 MB, free: 9.457 MB / 394.7 MB Notification: Performance of Templates: time 0.01834/0.07119, allocations: 18.49 MB / 437.5 MB, free: 6.961 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 240] 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","",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.366968890884891]