Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0007753/0.0007753, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001207/0.001982, 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.001131/0.001131, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001546/0.002677, 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.9867/0.9867, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09344/1.08, allocations: 53.65 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.2682/0.2682, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02275/0.291, allocations: 13.11 MB / 291.5 MB, free: 7.332 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.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 292.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036e-05/1.182e-05, allocations: 3.438 kB / 292.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1391/0.1391, allocations: 131.8 MB / 424.7 MB, free: 1.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003689/0.1428, allocations: 4.894 MB / 429.6 MB, free: 12.93 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.661e-05/0.1429, allocations: 0 / 429.6 MB, free: 12.93 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.1431, allocations: 67.47 kB / 429.7 MB, free: 12.86 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.1447, allocations: 0.7728 MB / 430.4 MB, free: 12.09 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.145, allocations: 167.6 kB / 430.6 MB, free: 11.92 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004904/0.1455, allocations: 394 kB / 431 MB, free: 11.54 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.1455, allocations: 10.47 kB / 431 MB, free: 11.52 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.1458, allocations: 219.4 kB / 431.2 MB, free: 11.31 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.146, allocations: 171.6 kB / 431.4 MB, free: 11.14 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.146, allocations: 12 kB / 431.4 MB, free: 11.13 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009163/0.1469, allocations: 0.6316 MB / 432 MB, free: 10.5 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.598e-05/0.147, allocations: 35.86 kB / 432 MB, free: 10.46 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.124e-05/0.1471, allocations: 67.88 kB / 432.1 MB, free: 10.39 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005911/0.1477, allocations: 434.7 kB / 432.5 MB, free: 9.969 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.331e-05/0.1477, allocations: 0 / 432.5 MB, free: 9.969 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1477, allocations: 0 / 432.5 MB, free: 9.969 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1477, allocations: 0 / 432.5 MB, free: 9.969 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.0008395/0.1485, allocations: 0.6656 MB / 433.2 MB, free: 9.262 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1486, allocations: 8.031 kB / 433.2 MB, free: 9.254 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.1487, allocations: 52.83 kB / 433.3 MB, free: 9.203 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.1489, allocations: 157.5 kB / 433.4 MB, free: 9.023 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.864e-05/0.149, allocations: 226.7 kB / 433.6 MB, free: 8.754 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.149, allocations: 28.38 kB / 433.7 MB, free: 8.727 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.1493, allocations: 430.1 kB / 434.1 MB, free: 8.234 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1493, allocations: 192 / 434.1 MB, free: 8.234 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.1493, allocations: 15.94 kB / 434.1 MB, free: 8.219 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.1494, allocations: 4 kB / 434.1 MB, free: 8.215 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.1497, allocations: 441.4 kB / 434.5 MB, free: 7.785 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007239/0.1504, allocations: 0.868 MB / 435.4 MB, free: 6.875 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.1506, allocations: 161.2 kB / 435.6 MB, free: 6.711 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.1506, allocations: 53.48 kB / 435.6 MB, free: 6.656 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007867/0.1514, allocations: 0.7213 MB / 436.3 MB, free: 5.922 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.1514, allocations: 34.56 kB / 436.4 MB, free: 5.879 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.1514, allocations: 0 / 436.4 MB, free: 5.879 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004164/0.1519, allocations: 229.3 kB / 436.6 MB, free: 5.648 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.1519, allocations: 55.41 kB / 436.6 MB, free: 5.582 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.152, allocations: 223.6 kB / 436.9 MB, free: 5.352 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.152, allocations: 33.7 kB / 436.9 MB, free: 5.312 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.408e-05/0.1521, allocations: 215.5 kB / 437.1 MB, free: 5.098 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.1521, allocations: 55.52 kB / 437.2 MB, free: 5.043 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.1522, allocations: 86.11 kB / 437.2 MB, free: 4.953 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.959e-05/0.1523, allocations: 334.7 kB / 437.6 MB, free: 4.617 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.148e-05/0.1523, allocations: 31.81 kB / 437.6 MB, free: 4.586 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.1525, allocations: 296.7 kB / 437.9 MB, free: 4.164 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.1527, allocations: 425 kB / 438.3 MB, free: 3.617 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1527, allocations: 4 kB / 438.3 MB, free: 3.613 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002614/0.153, allocations: 304.5 kB / 438.6 MB, free: 3.305 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.153, allocations: 8 kB / 438.6 MB, free: 3.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.153, allocations: 12.16 kB / 438.6 MB, free: 3.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.153, allocations: 15.98 kB / 438.6 MB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.1533, allocations: 123.8 kB / 438.8 MB, free: 3.148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1533, allocations: 15.94 kB / 438.8 MB, free: 3.133 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.1534, allocations: 55.62 kB / 438.8 MB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.1535, allocations: 19.98 kB / 438.9 MB, free: 3.059 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.591e-05/0.1535, allocations: 148.4 kB / 439 MB, free: 2.902 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1536, allocations: 19.98 kB / 439 MB, free: 2.883 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.1537, allocations: 124.7 kB / 439.1 MB, free: 2.754 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1537, allocations: 0 / 439.1 MB, free: 2.754 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.1537, allocations: 3.938 kB / 439.1 MB, free: 2.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.1537, allocations: 4 kB / 439.1 MB, free: 2.746 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.154, allocations: 315.3 kB / 439.5 MB, free: 2.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.154, allocations: 0 / 439.5 MB, free: 2.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.338e-05/0.1541, allocations: 47.94 kB / 439.5 MB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.1541, allocations: 23.8 kB / 439.5 MB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1541, allocations: 0 / 439.5 MB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.1541, allocations: 3.984 kB / 439.5 MB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1541, allocations: 8 kB / 439.5 MB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1541, allocations: 0 / 439.5 MB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.1543, allocations: 232.5 kB / 439.8 MB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.1543, allocations: 4.047 kB / 439.8 MB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.986e-05/0.1544, allocations: 15.97 kB / 439.8 MB, free: 2.062 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.1544, allocations: 11.92 kB / 439.8 MB, free: 2.051 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.1544, allocations: 4 kB / 439.8 MB, free: 2.047 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.973e-05/0.1545, allocations: 70.78 kB / 439.9 MB, free: 1.977 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1545, allocations: 0 / 439.9 MB, free: 1.977 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004537/0.1549, allocations: 99.86 kB / 440 MB, free: 1.879 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.0002459/0.1552, allocations: 132.2 kB / 440.1 MB, free: 1.742 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.1554, allocations: 164.5 kB / 440.3 MB, free: 1.582 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/0.1554, allocations: 9 kB / 440.3 MB, free: 1.574 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.1554, allocations: 36.72 kB / 440.3 MB, free: 1.535 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.1557, allocations: 133.2 kB / 440.4 MB, free: 1.398 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.1591, allocations: 0.489 MB / 440.9 MB, free: 0.875 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.012e-05/0.1592, allocations: 68.34 kB / 441 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.1593, allocations: 59.02 kB / 441 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.1595, allocations: 121.2 kB / 441.2 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of SimCode: time 1.954e-06/0.1595, allocations: 0 / 441.2 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of Templates: time 0.1736/0.3331, allocations: 3.329 MB / 444.5 MB, free: 14.12 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.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.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.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.490343550220132]