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.00114/0.00114, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001082/0.001082, allocations: 170.2 kB / 24.82 MB, free: 9.262 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.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.3196/0.3196, allocations: 34.26 MB / 296.1 MB, free: 0.6406 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.573e-06/1.573e-06, allocations: 0 / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.457e-05, allocations: 2.312 kB / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01147/0.01149, allocations: 8.476 MB / 387 MB, free: 9.871 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009478/0.02096, allocations: 10.86 MB / 397.8 MB, free: 14.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.021, allocations: 4 kB / 397.8 MB, free: 14.97 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.02117, allocations: 39.75 kB / 397.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00318/0.02435, allocations: 1.893 MB / 399.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.027e-06/0.02435, allocations: 0 / 399.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.132e-05/0.02442, allocations: 51.61 kB / 399.8 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.544e-05/0.02446, allocations: 8 kB / 399.8 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.02457, allocations: 35.89 kB / 399.8 MB, free: 12.94 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.688e-05/0.0246, allocations: 15.92 kB / 399.9 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.0246, allocations: 0 / 399.9 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007296/0.0319, allocations: 6.603 MB / 406.5 MB, free: 6.309 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.03191, allocations: 0 / 406.5 MB, free: 6.309 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.03194, allocations: 23.91 kB / 406.5 MB, free: 6.285 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007019/0.03896, allocations: 5.33 MB / 411.8 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.03896, allocations: 0 / 411.8 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.03896, allocations: 7.938 kB / 411.8 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.03896, allocations: 0 / 411.8 MB, free: 0.9414 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.001085/0.04005, allocations: 0.607 MB / 412.4 MB, free: 304 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.04009, allocations: 8.031 kB / 412.4 MB, free: 296 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.04019, allocations: 27.88 kB / 412.5 MB, free: 268 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.411e-05/0.04026, allocations: 108.1 kB / 412.6 MB, free: 132 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-06/0.04027, allocations: 4 kB / 412.6 MB, free: 128 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.04028, allocations: 8 kB / 412.6 MB, free: 120 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.663e-05/0.04036, allocations: 49.69 kB / 412.6 MB, free: 64 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.04036, allocations: 0 / 412.6 MB, free: 64 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.04037, allocations: 0 / 412.6 MB, free: 64 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.04038, allocations: 7.938 kB / 412.6 MB, free: 56 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.304e-05/0.04041, allocations: 27.92 kB / 412.7 MB, free: 28 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.04071, allocations: 288.3 kB / 412.9 MB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.203e-05/0.04075, allocations: 35.06 kB / 413 MB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.39e-05/0.04078, allocations: 31.77 kB / 413 MB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/0.04199, allocations: 0.8265 MB / 413.8 MB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.04201, allocations: 37.33 kB / 413.9 MB, free: 14.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.04201, allocations: 0 / 413.9 MB, free: 14.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001492/0.04216, allocations: 93.56 kB / 414 MB, free: 14.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.04218, allocations: 51.41 kB / 414 MB, free: 14.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.995e-05/0.04224, allocations: 157.9 kB / 414.2 MB, free: 14.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.04225, allocations: 25.7 kB / 414.2 MB, free: 14.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.0423, allocations: 138.8 kB / 414.3 MB, free: 14.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.04231, allocations: 27.73 kB / 414.4 MB, free: 14.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.04234, allocations: 31.36 kB / 414.4 MB, free: 14.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.04244, allocations: 0.4884 MB / 414.9 MB, free: 13.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.04246, allocations: 12 kB / 414.9 MB, free: 13.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.072e-05/0.04249, allocations: 39.28 kB / 414.9 MB, free: 13.63 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.031e-05/0.04253, allocations: 51.36 kB / 415 MB, free: 13.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.04253, allocations: 0 / 415 MB, free: 13.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.436e-05/0.04261, allocations: 89.45 kB / 415.1 MB, free: 13.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.04262, allocations: 5.875 kB / 415.1 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.04263, allocations: 0 / 415.1 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.184e-06/0.04263, allocations: 4 kB / 415.1 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.535e-05/0.04267, allocations: 12.03 kB / 415.1 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.04267, allocations: 7.875 kB / 415.1 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.04269, allocations: 0 / 415.1 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.0427, allocations: 4 kB / 415.1 MB, free: 13.45 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 5.537e-05/0.04275, allocations: 160.6 kB / 415.3 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.04277, allocations: 15.89 kB / 415.3 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.04289, allocations: 110 kB / 415.4 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.103e-05/0.04295, allocations: 89.61 kB / 415.5 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.04296, allocations: 4 kB / 415.5 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.04296, allocations: 4 kB / 415.5 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.04321, allocations: 373.8 kB / 415.8 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.04322, allocations: 0 / 415.8 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-05/0.04325, allocations: 12 kB / 415.9 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.04325, allocations: 0 / 415.9 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.04325, allocations: 8 kB / 415.9 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.04325, allocations: 256 / 415.9 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.04326, allocations: 3.938 kB / 415.9 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.04339, allocations: 259.5 kB / 416.1 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-06/0.0434, allocations: 11.89 kB / 416.1 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.04341, allocations: 11.98 kB / 416.1 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.733e-05/0.04343, allocations: 0 / 416.1 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.04344, allocations: 4.188 kB / 416.1 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.04345, allocations: 3.984 kB / 416.1 MB, free: 12.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.092e-05/0.04348, allocations: 127.2 kB / 416.3 MB, free: 12.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04348, allocations: 0 / 416.3 MB, free: 12.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008255/0.04431, allocations: 363 kB / 416.6 MB, free: 11.84 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.008003/0.05231, allocations: 4.159 MB / 420.8 MB, free: 7.668 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.05243, allocations: 87.05 kB / 420.9 MB, free: 7.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.05243, allocations: 0 / 420.9 MB, free: 7.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.17e-05/0.05246, allocations: 51.61 kB / 420.9 MB, free: 7.516 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.05271, allocations: 55.83 kB / 421 MB, free: 7.461 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005279/0.05324, allocations: 220.3 kB / 421.2 MB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.529e-05/0.05327, allocations: 63.34 kB / 421.3 MB, free: 7.137 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.416e-05/0.0533, allocations: 12.12 kB / 421.3 MB, free: 7.125 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.189e-05/0.05339, allocations: 106.2 kB / 421.4 MB, free: 7.02 MB / 394.7 MB Notification: Performance of SimCode: time 7.81e-07/0.05339, allocations: 4 kB / 421.4 MB, free: 7.016 MB / 394.7 MB Notification: Performance of Templates: time 0.01754/0.07092, allocations: 20.48 MB / 441.8 MB, free: 2.527 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.257844873238355]