Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.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.001033/0.001033, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001426/0.002459, allocations: 449.7 kB / 10.37 MB, free: 328 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.000921/0.000921, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.002018, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 1.138/1.138, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1231/1.261, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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.328/0.328, allocations: 32.81 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03098/0.359, allocations: 12.53 MB / 289.3 MB, free: 8.688 MB / 282.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.SimpleAir,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.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,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.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.246e-05, allocations: 3.438 kB / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1462/0.1463, allocations: 131.8 MB / 422.5 MB, free: 3.961 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004996/0.1513, allocations: 4.89 MB / 427.3 MB, free: 15.05 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.1514, allocations: 0 / 427.3 MB, free: 15.05 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.1517, allocations: 63.53 kB / 427.4 MB, free: 14.99 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.1539, allocations: 0.7728 MB / 428.2 MB, free: 14.21 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.1542, allocations: 163.7 kB / 428.3 MB, free: 14.05 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004774/0.1546, allocations: 401.9 kB / 428.7 MB, free: 13.66 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.1547, allocations: 14.47 kB / 428.7 MB, free: 13.65 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002947/0.155, allocations: 219.4 kB / 429 MB, free: 13.43 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.1552, allocations: 167.6 kB / 429.1 MB, free: 13.27 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.1552, allocations: 8 kB / 429.1 MB, free: 13.26 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.1563, allocations: 0.6355 MB / 429.8 MB, free: 12.62 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.1563, allocations: 39.86 kB / 429.8 MB, free: 12.59 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.1564, allocations: 63.88 kB / 429.9 MB, free: 12.52 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006413/0.157, allocations: 430.7 kB / 430.3 MB, free: 12.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.892e-05/0.157, allocations: 4 kB / 430.3 MB, free: 12.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1571, allocations: 0 / 430.3 MB, free: 12.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.1571, allocations: 0 / 430.3 MB, free: 12.1 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.0008308/0.1579, allocations: 0.6652 MB / 431 MB, free: 11.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.1579, allocations: 12.03 kB / 431 MB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.1581, allocations: 52.78 kB / 431 MB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.1585, allocations: 157.5 kB / 431.2 MB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.891e-05/0.1586, allocations: 226.7 kB / 431.4 MB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.1586, allocations: 28.36 kB / 431.4 MB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.1589, allocations: 430.1 kB / 431.8 MB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1589, allocations: 192 / 431.8 MB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.1589, allocations: 15.94 kB / 431.9 MB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.159, allocations: 8 kB / 431.9 MB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.1593, allocations: 433.5 kB / 432.3 MB, free: 9.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006957/0.16, allocations: 0.8679 MB / 433.2 MB, free: 9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.1602, allocations: 168 kB / 433.3 MB, free: 8.828 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.1602, allocations: 53.48 kB / 433.4 MB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008109/0.161, allocations: 0.7175 MB / 434.1 MB, free: 8.043 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1611, allocations: 34.56 kB / 434.1 MB, free: 8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.774e-06/0.1611, allocations: 0 / 434.1 MB, free: 8 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002577/0.1613, allocations: 171.3 kB / 434.3 MB, free: 7.828 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.1613, allocations: 55.41 kB / 434.4 MB, free: 7.762 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.1615, allocations: 227.2 kB / 434.6 MB, free: 7.527 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1615, allocations: 37.64 kB / 434.6 MB, free: 7.484 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8e-05/0.1616, allocations: 215.5 kB / 434.8 MB, free: 7.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.1616, allocations: 55.52 kB / 434.9 MB, free: 7.215 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/0.1617, allocations: 82.11 kB / 435 MB, free: 7.129 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.541e-05/0.1617, allocations: 334.7 kB / 435.3 MB, free: 6.793 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.569e-05/0.1618, allocations: 39.8 kB / 435.3 MB, free: 6.754 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.1619, allocations: 296.7 kB / 435.6 MB, free: 6.336 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.1622, allocations: 389.1 kB / 436 MB, free: 5.824 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1622, allocations: 4 kB / 436 MB, free: 5.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002651/0.1624, allocations: 300.4 kB / 436.3 MB, free: 5.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1625, allocations: 8 kB / 436.3 MB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.1625, allocations: 12 kB / 436.3 MB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1625, allocations: 15.98 kB / 436.3 MB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.1627, allocations: 119.8 kB / 436.4 MB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.1627, allocations: 15.94 kB / 436.5 MB, free: 5.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.1629, allocations: 51.62 kB / 436.5 MB, free: 5.301 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.1629, allocations: 27.98 kB / 436.5 MB, free: 5.273 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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 8.779e-05/0.163, allocations: 148.7 kB / 436.7 MB, free: 5.117 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.163, allocations: 15.98 kB / 436.7 MB, free: 5.102 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.1632, allocations: 123.7 kB / 436.8 MB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.1632, allocations: 4 kB / 436.8 MB, free: 4.969 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.1632, allocations: 0 / 436.8 MB, free: 4.969 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1632, allocations: 4 kB / 436.8 MB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.1634, allocations: 319.3 kB / 437.1 MB, free: 4.625 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1634, allocations: 4 kB / 437.1 MB, free: 4.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.994e-05/0.1635, allocations: 31.97 kB / 437.2 MB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.1636, allocations: 27.8 kB / 437.2 MB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.1636, allocations: 4 kB / 437.2 MB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1636, allocations: 3.984 kB / 437.2 MB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1636, allocations: 0 / 437.2 MB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1636, allocations: 80 / 437.2 MB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.1637, allocations: 240.8 kB / 437.4 MB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.1638, allocations: 11.98 kB / 437.5 MB, free: 4.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.206e-05/0.1639, allocations: 15.97 kB / 437.5 MB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.1639, allocations: 7.984 kB / 437.5 MB, free: 4.266 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1639, allocations: 4 kB / 437.5 MB, free: 4.262 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.591e-05/0.1639, allocations: 66.78 kB / 437.5 MB, free: 4.191 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1639, allocations: 0 / 437.5 MB, free: 4.191 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002875/0.1642, allocations: 99.86 kB / 437.6 MB, free: 4.094 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0002332/0.1644, allocations: 128.2 kB / 437.8 MB, free: 3.961 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.1646, allocations: 162 kB / 437.9 MB, free: 3.801 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/0.1646, allocations: 4.5 kB / 437.9 MB, free: 3.797 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.271e-05/0.1647, allocations: 34.53 kB / 438 MB, free: 3.762 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/0.1652, allocations: 82.19 kB / 438 MB, free: 3.684 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.1684, allocations: 0.4991 MB / 438.5 MB, free: 3.148 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.097e-05/0.1684, allocations: 76.33 kB / 438.6 MB, free: 3.055 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.1686, allocations: 51.05 kB / 438.7 MB, free: 3.004 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.1687, allocations: 113.3 kB / 438.8 MB, free: 2.891 MB / 426.7 MB Notification: Performance of SimCode: time 1.814e-06/0.1687, allocations: 0 / 438.8 MB, free: 2.891 MB / 426.7 MB Notification: Performance of Templates: time 0.1867/0.3554, allocations: 3.62 MB / 442.4 MB, free: 16.08 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.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.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_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.6717535508796573]