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.0008635/0.0008635, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001188/0.002051, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007162/0.0007162, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009843/0.0017, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9569/0.9569, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08952/1.046, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.2464/0.2464, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02238/0.2688, allocations: 13.1 MB / 291.5 MB, free: 7.34 MB / 282.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.363e-06/1.363e-06, allocations: 0 / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.303e-06/8.666e-06, allocations: 6.312 kB / 292.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1339/0.1339, allocations: 145.9 MB / 438.8 MB, free: 3.707 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1933/0.3272, allocations: 5.449 MB / 444.2 MB, free: 3.734 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.3273, allocations: 2.344 kB / 444.2 MB, free: 3.734 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.3275, allocations: 61.66 kB / 444.3 MB, free: 3.734 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003021/0.3305, allocations: 1.368 MB / 445.7 MB, free: 3.707 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.3308, allocations: 152 kB / 445.8 MB, free: 3.707 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000558/0.3314, allocations: 425 kB / 446.2 MB, free: 3.707 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.3314, allocations: 9.469 kB / 446.2 MB, free: 3.703 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003494/0.3318, allocations: 240.7 kB / 446.5 MB, free: 3.703 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.3321, allocations: 159.1 kB / 446.6 MB, free: 3.699 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.3321, allocations: 9.906 kB / 446.6 MB, free: 3.699 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.334, allocations: 1.046 MB / 447.7 MB, free: 3.672 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.129e-05/0.3341, allocations: 33.34 kB / 447.7 MB, free: 3.672 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.477e-05/0.3341, allocations: 68.53 kB / 447.8 MB, free: 3.672 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.3353, allocations: 0.8105 MB / 448.6 MB, free: 3.617 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.426e-05/0.3353, allocations: 2.469 kB / 448.6 MB, free: 3.617 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3353, allocations: 1.031 kB / 448.6 MB, free: 3.617 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.3354, allocations: 0 / 448.6 MB, free: 3.617 MB / 426.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.001351/0.3367, allocations: 0.7853 MB / 449.4 MB, free: 19.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.3367, allocations: 8.938 kB / 449.4 MB, free: 19.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00451/0.3412, allocations: 0.7634 MB / 450.1 MB, free: 19.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.3416, allocations: 165.4 kB / 450.3 MB, free: 18.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.3417, allocations: 230.1 kB / 450.5 MB, free: 18.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-05/0.3418, allocations: 21.38 kB / 450.5 MB, free: 18.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006448/0.3424, allocations: 0.6663 MB / 451.2 MB, free: 18.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3424, allocations: 6.5 kB / 451.2 MB, free: 18.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.93e-05/0.3425, allocations: 13.38 kB / 451.2 MB, free: 18.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.3425, allocations: 8.172 kB / 451.2 MB, free: 18.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000548/0.3431, allocations: 371.9 kB / 451.6 MB, free: 18.36 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.3444, allocations: 1.303 MB / 452.9 MB, free: 17.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.3445, allocations: 100.5 kB / 453 MB, free: 17.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.952e-05/0.3446, allocations: 48.44 kB / 453.1 MB, free: 17.37 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006931/0.3453, allocations: 471.2 kB / 453.5 MB, free: 17.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.3453, allocations: 41.14 kB / 453.6 MB, free: 17.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 1.402e-06/0.3453, allocations: 2.141 kB / 453.6 MB, free: 17.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007299/0.346, allocations: 318.2 kB / 453.9 MB, free: 17.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.346, allocations: 57.62 kB / 453.9 MB, free: 17.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.3462, allocations: 194.6 kB / 454.1 MB, free: 16.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.3462, allocations: 29.58 kB / 454.1 MB, free: 16.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.629e-05/0.3462, allocations: 195.5 kB / 454.3 MB, free: 16.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.3463, allocations: 68.52 kB / 454.4 MB, free: 16.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.799e-05/0.3464, allocations: 91.25 kB / 454.5 MB, free: 16.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.3465, allocations: 327.2 kB / 454.8 MB, free: 16.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.947e-05/0.3465, allocations: 35.23 kB / 454.8 MB, free: 16.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.3466, allocations: 237.4 kB / 455.1 MB, free: 16.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.3469, allocations: 354.2 kB / 455.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3469, allocations: 3.094 kB / 455.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003029/0.3472, allocations: 272.8 kB / 455.7 MB, free: 15.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3472, allocations: 6.938 kB / 455.7 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.3472, allocations: 10.72 kB / 455.7 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3472, allocations: 9.969 kB / 455.7 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.3475, allocations: 133.6 kB / 455.8 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002888/0.3478, allocations: 0.5921 MB / 456.4 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.348, allocations: 38.02 kB / 456.5 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.348, allocations: 37.48 kB / 456.5 MB, free: 15.24 MB / 442.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 0.0001019/0.3481, allocations: 148.3 kB / 456.7 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.3482, allocations: 20.84 kB / 456.7 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/0.3487, allocations: 415.2 kB / 457.1 MB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3487, allocations: 0.9062 kB / 457.1 MB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.3487, allocations: 0 / 457.1 MB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3487, allocations: 0.8125 kB / 457.1 MB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.3491, allocations: 425.3 kB / 457.5 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3491, allocations: 0 / 457.5 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.3492, allocations: 57.44 kB / 457.6 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.3492, allocations: 27.69 kB / 457.6 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.3492, allocations: 6.375 kB / 457.6 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3493, allocations: 12.86 kB / 457.6 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001835/0.3494, allocations: 0.5825 MB / 458.2 MB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.3494, allocations: 2.656 kB / 458.2 MB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.3496, allocations: 249.2 kB / 458.4 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.3496, allocations: 7.406 kB / 458.4 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.3497, allocations: 13.53 kB / 458.5 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.3498, allocations: 26.06 kB / 458.5 MB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.3498, allocations: 14 kB / 458.5 MB, free: 13.97 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.197e-05/0.3498, allocations: 56.33 kB / 458.5 MB, free: 13.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3498, allocations: 1.203 kB / 458.5 MB, free: 13.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005944/0.3504, allocations: 169.6 kB / 458.7 MB, free: 13.94 MB / 442.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.0004634/0.3509, allocations: 272.5 kB / 459 MB, free: 13.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003368/0.3512, allocations: 203 kB / 459.2 MB, free: 13.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.592e-05/0.3513, allocations: 7.094 kB / 459.2 MB, free: 13.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.3514, allocations: 83.91 kB / 459.3 MB, free: 13.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.3519, allocations: 238.1 kB / 459.5 MB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.3555, allocations: 0.8753 MB / 460.4 MB, free: 13.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.831e-05/0.3556, allocations: 69.95 kB / 460.4 MB, free: 13.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004399/0.356, allocations: 384.1 kB / 460.8 MB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.3563, allocations: 146.6 kB / 461 MB, free: 13.24 MB / 442.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3563, allocations: 0.8125 kB / 461 MB, free: 13.24 MB / 442.7 MB Notification: Performance of Templates: time 0.008048/0.3643, allocations: 6.697 MB / 467.7 MB, free: 12.68 MB / 442.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [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] Not compared, constant in the reference and not in the result: eps Reference file matches [Calling sys.exit(0), Time elapsed: 3.6013270933181047]