Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.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.0009798/0.0009798, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001333/0.001333, allocations: 168.8 kB / 24.91 MB, free: 9.191 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 0.9451/0.9451, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2928/0.2928, allocations: 34.26 MB / 296.1 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.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.1e-05, allocations: 3.672 kB / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3309/0.331, allocations: 145.4 MB / 470.7 MB, free: 16.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003512/0.3345, allocations: 5.432 MB / 476.1 MB, free: 16.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.01e-05/0.3345, allocations: 6.25 kB / 476.2 MB, free: 16.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.3348, allocations: 56.3 kB / 476.2 MB, free: 16.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002233/0.337, allocations: 1.407 MB / 477.6 MB, free: 16.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.3372, allocations: 150.1 kB / 477.8 MB, free: 16.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003882/0.3376, allocations: 421.5 kB / 478.2 MB, free: 16.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.3377, allocations: 17.14 kB / 478.2 MB, free: 16.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.3379, allocations: 236.9 kB / 478.4 MB, free: 16.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.3381, allocations: 158.5 kB / 478.6 MB, free: 16.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.3381, allocations: 5.781 kB / 478.6 MB, free: 16.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.3392, allocations: 0.9904 MB / 479.6 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.3393, allocations: 50.06 kB / 479.6 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.447e-05/0.3393, allocations: 81.34 kB / 479.7 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008002/0.3401, allocations: 0.9465 MB / 480.6 MB, free: 16.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3401, allocations: 0 / 480.6 MB, free: 16.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3401, allocations: 0 / 480.6 MB, free: 16.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.3401, allocations: 0 / 480.6 MB, free: 16.12 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007296/0.3409, allocations: 0.5936 MB / 481.2 MB, free: 15.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.3409, allocations: 10.69 kB / 481.2 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003147/0.344, allocations: 0.7679 MB / 482 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.3443, allocations: 166.4 kB / 482.2 MB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/0.3443, allocations: 231.7 kB / 482.4 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-05/0.3444, allocations: 31.12 kB / 482.4 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/0.3449, allocations: 0.6584 MB / 483.1 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3449, allocations: 0 / 483.1 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.3449, allocations: 12.09 kB / 483.1 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.345, allocations: 7.625 kB / 483.1 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.3453, allocations: 381.1 kB / 483.5 MB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009173/0.3463, allocations: 1.296 MB / 484.8 MB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.3464, allocations: 109.6 kB / 484.9 MB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/0.3464, allocations: 47.64 kB / 484.9 MB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005031/0.3469, allocations: 474.8 kB / 485.4 MB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.3469, allocations: 39.16 kB / 485.4 MB, free: 13.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.192e-06/0.3469, allocations: 0 / 485.4 MB, free: 13.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003923/0.3473, allocations: 236.5 kB / 485.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.627e-05/0.3474, allocations: 59.84 kB / 485.7 MB, free: 13.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.371e-05/0.3474, allocations: 189.5 kB / 485.9 MB, free: 13.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.3474, allocations: 28.64 kB / 485.9 MB, free: 13.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.3475, allocations: 189.9 kB / 486.1 MB, free: 13.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.3475, allocations: 72.98 kB / 486.2 MB, free: 13.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.3476, allocations: 87.27 kB / 486.3 MB, free: 13.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.879e-05/0.3476, allocations: 329.4 kB / 486.6 MB, free: 12.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.645e-05/0.3476, allocations: 40.17 kB / 486.6 MB, free: 12.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.868e-05/0.3477, allocations: 231.2 kB / 486.9 MB, free: 12.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.3479, allocations: 332.7 kB / 487.2 MB, free: 12.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3479, allocations: 3.406 kB / 487.2 MB, free: 12.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002169/0.3481, allocations: 268.7 kB / 487.5 MB, free: 12.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.3481, allocations: 8.469 kB / 487.5 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3481, allocations: 6.094 kB / 487.5 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3482, allocations: 12.8 kB / 487.5 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.3484, allocations: 116.4 kB / 487.6 MB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001387/0.3485, allocations: 0.5904 MB / 488.2 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.3486, allocations: 42.17 kB / 488.2 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.3486, allocations: 40.44 kB / 488.3 MB, free: 11.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.787e-05/0.3487, allocations: 136.7 kB / 488.4 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.3487, allocations: 19.17 kB / 488.4 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/0.3491, allocations: 413 kB / 488.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.3491, allocations: 3.094 kB / 488.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.3491, allocations: 0 / 488.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3491, allocations: 5.812 kB / 488.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.3495, allocations: 419.8 kB / 489.2 MB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3495, allocations: 3.312 kB / 489.2 MB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.033e-05/0.3496, allocations: 48.19 kB / 489.3 MB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3496, allocations: 6.875 kB / 489.3 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.3496, allocations: 7.906 kB / 489.3 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.788e-05/0.3497, allocations: 0.5851 MB / 489.9 MB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3497, allocations: 3 kB / 489.9 MB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.3498, allocations: 258.1 kB / 490.2 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.3498, allocations: 25.19 kB / 490.2 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.3498, allocations: 5.188 kB / 490.2 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.975e-05/0.3499, allocations: 11.03 kB / 490.2 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.35, allocations: 25.98 kB / 490.2 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.35, allocations: 15.12 kB / 490.2 MB, free: 10.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.697e-05/0.35, allocations: 52.53 kB / 490.3 MB, free: 10.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.35, allocations: 0 / 490.3 MB, free: 10.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003232/0.3503, allocations: 171.2 kB / 490.4 MB, free: 10.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003229/0.3507, allocations: 264.8 kB / 490.7 MB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.3509, allocations: 190.6 kB / 490.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/0.3509, allocations: 2.719 kB / 490.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.351, allocations: 66.3 kB / 491 MB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.3513, allocations: 82.67 kB / 491 MB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.3523, allocations: 0.8663 MB / 491.9 MB, free: 9.996 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.891e-05/0.3523, allocations: 73 kB / 492 MB, free: 9.926 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003409/0.3527, allocations: 376.3 kB / 492.3 MB, free: 9.871 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.3529, allocations: 154.4 kB / 492.5 MB, free: 9.816 MB / 410.7 MB Notification: Performance of SimCode: time 6.52e-07/0.3529, allocations: 5.531 kB / 492.5 MB, free: 9.816 MB / 410.7 MB Notification: Performance of Templates: time 0.00709/0.36, allocations: 6.788 MB / 499.3 MB, free: 7.465 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.66055361693725]