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.000945/0.000945, 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.000923/0.000923, allocations: 161 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 1.028/1.028, allocations: 177.1 MB / 205 MB, free: 5.23 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.263/0.263, allocations: 34.26 MB / 295.7 MB, free: 0.707 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 2.635e-06/2.635e-06, allocations: 0 / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.452e-05, allocations: 2.312 kB / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01395/0.01398, allocations: 8.53 MB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01323/0.02722, allocations: 11.05 MB / 397.6 MB, free: 15.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.736e-05/0.0273, allocations: 0 / 397.6 MB, free: 15.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.02757, allocations: 39.83 kB / 397.6 MB, free: 15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004795/0.03236, allocations: 1.883 MB / 399.5 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.412e-06/0.03237, allocations: 0 / 399.5 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.902e-05/0.03247, allocations: 55.55 kB / 399.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.03251, allocations: 4 kB / 399.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.03265, allocations: 31.91 kB / 399.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.182e-05/0.03269, allocations: 23.91 kB / 399.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.0327, allocations: 0 / 399.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006966/0.03966, allocations: 6.599 MB / 406.2 MB, free: 6.379 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.03968, allocations: 7.984 kB / 406.2 MB, free: 6.371 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.03974, allocations: 11.94 kB / 406.2 MB, free: 6.359 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007961/0.0477, allocations: 5.337 MB / 411.6 MB, free: 1.016 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.0477, allocations: 0 / 411.6 MB, free: 1.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.04771, allocations: 0 / 411.6 MB, free: 1.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.04771, allocations: 0 / 411.6 MB, free: 1.016 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.001693/0.04941, allocations: 0.607 MB / 412.2 MB, free: 380 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.04945, allocations: 12.03 kB / 412.2 MB, free: 368 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.04959, allocations: 27.88 kB / 412.2 MB, free: 340 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.794e-05/0.04968, allocations: 104.1 kB / 412.3 MB, free: 208 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.04969, allocations: 4 kB / 412.3 MB, free: 204 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.04971, allocations: 4 kB / 412.3 MB, free: 200 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.04983, allocations: 53.62 kB / 412.4 MB, free: 140 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.04984, allocations: 3.984 kB / 412.4 MB, free: 136 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.04985, allocations: 4 kB / 412.4 MB, free: 132 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.04986, allocations: 3.938 kB / 412.4 MB, free: 128 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.957e-05/0.04991, allocations: 39.95 kB / 412.4 MB, free: 88 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.05031, allocations: 307.7 kB / 412.7 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.703e-05/0.05037, allocations: 42.98 kB / 412.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.0504, allocations: 23.75 kB / 412.8 MB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001501/0.0519, allocations: 0.8538 MB / 413.7 MB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.05193, allocations: 33.39 kB / 413.7 MB, free: 14.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.05193, allocations: 0 / 413.7 MB, free: 14.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002286/0.05216, allocations: 109.7 kB / 413.8 MB, free: 14.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.05219, allocations: 55.41 kB / 413.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/0.05227, allocations: 157.9 kB / 414 MB, free: 14.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.05228, allocations: 25.7 kB / 414 MB, free: 14.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.05233, allocations: 130.8 kB / 414.2 MB, free: 14.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.05235, allocations: 31.73 kB / 414.2 MB, free: 14.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.05238, allocations: 27.38 kB / 414.2 MB, free: 14.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.05251, allocations: 0.4884 MB / 414.7 MB, free: 13.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.05254, allocations: 15.94 kB / 414.7 MB, free: 13.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.942e-05/0.05258, allocations: 39.36 kB / 414.8 MB, free: 13.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.235e-05/0.05265, allocations: 59.36 kB / 414.8 MB, free: 13.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.05265, allocations: 4 kB / 414.8 MB, free: 13.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000119/0.05277, allocations: 93.45 kB / 414.9 MB, free: 13.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.05279, allocations: 4 kB / 414.9 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.05279, allocations: 0 / 414.9 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.05281, allocations: 4 kB / 414.9 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.245e-05/0.05286, allocations: 11.94 kB / 414.9 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.05287, allocations: 7.984 kB / 414.9 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.05288, allocations: 0 / 414.9 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.0529, allocations: 7.984 kB / 414.9 MB, free: 13.42 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.53e-05/0.05296, allocations: 156.6 kB / 415.1 MB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.05299, allocations: 19.83 kB / 415.1 MB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.05316, allocations: 126.3 kB / 415.2 MB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-05/0.05324, allocations: 97.61 kB / 415.3 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.05324, allocations: 4 kB / 415.3 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.05325, allocations: 0 / 415.3 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.05355, allocations: 401.2 kB / 415.7 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.05356, allocations: 0 / 415.7 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.0536, allocations: 15.94 kB / 415.7 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.0536, allocations: 11.98 kB / 415.8 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.05361, allocations: 4 kB / 415.8 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.05361, allocations: 0 / 415.8 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.05361, allocations: 0 / 415.8 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.05377, allocations: 263.8 kB / 416 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.05377, allocations: 7.891 kB / 416 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.05379, allocations: 4 kB / 416 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.856e-05/0.05382, allocations: 0 / 416 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.05384, allocations: 11.98 kB / 416 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.05384, allocations: 192 / 416 MB, free: 12.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.501e-05/0.05388, allocations: 131.1 kB / 416.2 MB, free: 12.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05388, allocations: 4 kB / 416.2 MB, free: 12.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009988/0.05488, allocations: 370.9 kB / 416.5 MB, free: 11.74 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.009143/0.06402, allocations: 4.13 MB / 420.7 MB, free: 7.598 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.06423, allocations: 102.6 kB / 420.8 MB, free: 7.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.06423, allocations: 0 / 420.8 MB, free: 7.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.451e-05/0.06427, allocations: 43.67 kB / 420.8 MB, free: 7.438 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.06457, allocations: 48.12 kB / 420.9 MB, free: 7.391 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008032/0.06538, allocations: 224.3 kB / 421.1 MB, free: 7.145 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.983e-05/0.06543, allocations: 63.34 kB / 421.1 MB, free: 7.062 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.75e-05/0.06547, allocations: 16.11 kB / 421.2 MB, free: 7.047 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.0655, allocations: 20.44 kB / 421.2 MB, free: 7.027 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0655, allocations: 0 / 421.2 MB, free: 7.027 MB / 394.7 MB Notification: Performance of Templates: time 0.01913/0.08464, allocations: 18.56 MB / 439.7 MB, free: 4.473 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.209049514960498]