Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001004/0.001004, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001053/0.001053, allocations: 175.1 kB / 24.91 MB, free: 9.176 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.9302/0.9302, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2644/0.2644, allocations: 32.8 MB / 294.6 MB, free: 1.242 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.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 3.938 kB / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.355e-05, allocations: 10.31 kB / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3349/0.335, allocations: 145.5 MB / 468.8 MB, free: 16.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003463/0.3384, allocations: 5.43 MB / 474.2 MB, free: 16.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.873e-05/0.3385, allocations: 8.5 kB / 474.2 MB, free: 16.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.3387, allocations: 58.06 kB / 474.3 MB, free: 16.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002443/0.3412, allocations: 1.382 MB / 475.7 MB, free: 16.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.3414, allocations: 155 kB / 475.8 MB, free: 16.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.3419, allocations: 426.3 kB / 476.2 MB, free: 16.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.3419, allocations: 10.23 kB / 476.2 MB, free: 16.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.3422, allocations: 237.7 kB / 476.5 MB, free: 16.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.3424, allocations: 151.7 kB / 476.6 MB, free: 16.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.3424, allocations: 12.69 kB / 476.6 MB, free: 16.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.3439, allocations: 1.048 MB / 477.7 MB, free: 16.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.98e-05/0.3439, allocations: 45.73 kB / 477.7 MB, free: 16.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.986e-05/0.344, allocations: 86.41 kB / 477.8 MB, free: 16.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009238/0.3449, allocations: 0.9374 MB / 478.7 MB, free: 16.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3449, allocations: 0 / 478.7 MB, free: 16.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3449, allocations: 0 / 478.7 MB, free: 16.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.3449, allocations: 1.203 kB / 478.7 MB, free: 16.43 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.0008668/0.3458, allocations: 0.5991 MB / 479.3 MB, free: 16.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.3458, allocations: 13.39 kB / 479.4 MB, free: 16.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004779/0.3506, allocations: 0.7615 MB / 480.1 MB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.3509, allocations: 161.9 kB / 480.3 MB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-05/0.3509, allocations: 231.4 kB / 480.5 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.112e-05/0.351, allocations: 25.38 kB / 480.5 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.3516, allocations: 0.6629 MB / 481.2 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3516, allocations: 9.312 kB / 481.2 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.426e-05/0.3516, allocations: 9.688 kB / 481.2 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.3517, allocations: 11.39 kB / 481.2 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005205/0.3522, allocations: 367.6 kB / 481.6 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.3533, allocations: 1.304 MB / 482.9 MB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.3534, allocations: 102.7 kB / 483 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.3535, allocations: 46.92 kB / 483 MB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006025/0.3541, allocations: 479.1 kB / 483.5 MB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.3541, allocations: 37.34 kB / 483.5 MB, free: 14.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.243e-06/0.3541, allocations: 0 / 483.5 MB, free: 14.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004899/0.3546, allocations: 236.8 kB / 483.8 MB, free: 13.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.521e-05/0.3546, allocations: 56.34 kB / 483.8 MB, free: 13.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.3547, allocations: 192.4 kB / 484 MB, free: 13.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3547, allocations: 29.33 kB / 484 MB, free: 13.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.3547, allocations: 191.5 kB / 484.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.3548, allocations: 72.33 kB / 484.3 MB, free: 13.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.012e-05/0.3549, allocations: 90.86 kB / 484.4 MB, free: 13.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.346e-05/0.3549, allocations: 325.9 kB / 484.7 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.857e-05/0.3549, allocations: 36.7 kB / 484.7 MB, free: 13.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.355, allocations: 235.1 kB / 485 MB, free: 12.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.3553, allocations: 331.2 kB / 485.3 MB, free: 12.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3553, allocations: 2.75 kB / 485.3 MB, free: 12.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002833/0.3555, allocations: 269.8 kB / 485.6 MB, free: 12.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.3556, allocations: 11.67 kB / 485.6 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.3556, allocations: 11.16 kB / 485.6 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3556, allocations: 11.03 kB / 485.6 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.3559, allocations: 120.8 kB / 485.7 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001562/0.356, allocations: 0.5952 MB / 486.3 MB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.3562, allocations: 39.3 kB / 486.3 MB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.3562, allocations: 43.06 kB / 486.4 MB, free: 12.07 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 7.575e-05/0.3563, allocations: 144.8 kB / 486.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.3563, allocations: 15.59 kB / 486.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004551/0.3568, allocations: 409.9 kB / 486.9 MB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3568, allocations: 7.344 kB / 486.9 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.3568, allocations: 0 / 486.9 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3568, allocations: 0 / 486.9 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.3572, allocations: 414.9 kB / 487.4 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3572, allocations: 9.078 kB / 487.4 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.3573, allocations: 51.67 kB / 487.4 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3573, allocations: 6.625 kB / 487.4 MB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3574, allocations: 9.312 kB / 487.4 MB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001184/0.3575, allocations: 0.5844 MB / 488 MB, free: 11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3575, allocations: 4.688 kB / 488 MB, free: 11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.3576, allocations: 244.1 kB / 488.3 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.3577, allocations: 33.55 kB / 488.3 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.3577, allocations: 8.797 kB / 488.3 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.3578, allocations: 11.16 kB / 488.3 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.3579, allocations: 29.52 kB / 488.3 MB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.3579, allocations: 13 kB / 488.4 MB, free: 10.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.077e-05/0.3579, allocations: 55.05 kB / 488.4 MB, free: 10.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3579, allocations: 0 / 488.4 MB, free: 10.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004534/0.3584, allocations: 167.2 kB / 488.6 MB, free: 10.75 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.0003628/0.3588, allocations: 267 kB / 488.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.359, allocations: 187.8 kB / 489 MB, free: 10.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.359, allocations: 2.875 kB / 489 MB, free: 10.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.762e-05/0.3591, allocations: 62.31 kB / 489.1 MB, free: 10.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.3595, allocations: 89.56 kB / 489.2 MB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.3607, allocations: 0.8633 MB / 490 MB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.211e-05/0.3607, allocations: 73.31 kB / 490.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005303/0.3612, allocations: 377.3 kB / 490.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/0.3616, allocations: 154 kB / 490.6 MB, free: 10.12 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.3616, allocations: 0 / 490.6 MB, free: 10.12 MB / 410.7 MB Notification: Performance of Templates: time 0.008918/0.3705, allocations: 6.796 MB / 497.4 MB, free: 8.129 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4366747583262622]