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.0007993/0.0007993, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009808/0.00178, allocations: 449.7 kB / 10.37 MB, free: 324 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.0006965/0.0006965, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008656/0.001562, 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 0.9966/0.9966, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08939/1.086, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.2309/0.2309, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0324/0.2633, allocations: 13.1 MB / 291.3 MB, free: 7.371 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.794e-06/1.794e-06, allocations: 0 / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.262e-05, allocations: 2.312 kB / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1206/0.1206, allocations: 131.8 MB / 424.5 MB, free: 1.945 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004316/0.1249, allocations: 4.894 MB / 429.4 MB, free: 13.04 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.125, allocations: 0 / 429.4 MB, free: 13.04 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.1253, allocations: 59.55 kB / 429.4 MB, free: 12.98 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.1269, allocations: 0.7728 MB / 430.2 MB, free: 12.2 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.1272, allocations: 167.7 kB / 430.4 MB, free: 12.04 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000457/0.1277, allocations: 393.9 kB / 430.7 MB, free: 11.65 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.1277, allocations: 18.45 kB / 430.8 MB, free: 11.63 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.128, allocations: 211.4 kB / 431 MB, free: 11.43 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.1282, allocations: 175.6 kB / 431.1 MB, free: 11.25 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.1282, allocations: 8 kB / 431.2 MB, free: 11.25 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008952/0.1291, allocations: 0.6354 MB / 431.8 MB, free: 10.61 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.1292, allocations: 39.86 kB / 431.8 MB, free: 10.57 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.277e-05/0.1292, allocations: 63.88 kB / 431.9 MB, free: 10.51 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005622/0.1298, allocations: 426.8 kB / 432.3 MB, free: 10.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.697e-05/0.1298, allocations: 3.938 kB / 432.3 MB, free: 10.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1298, allocations: 0 / 432.3 MB, free: 10.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.1298, allocations: 4 kB / 432.3 MB, free: 10.08 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.0008454/0.1307, allocations: 0.6656 MB / 433 MB, free: 9.375 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.1307, allocations: 12.03 kB / 433 MB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.1308, allocations: 48.84 kB / 433 MB, free: 9.316 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.131, allocations: 165.5 kB / 433.2 MB, free: 9.129 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-05/0.1311, allocations: 226.7 kB / 433.4 MB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1311, allocations: 24.38 kB / 433.4 MB, free: 8.836 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.1314, allocations: 426.1 kB / 433.9 MB, free: 8.344 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1315, allocations: 192 / 433.9 MB, free: 8.344 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.1315, allocations: 11.94 kB / 433.9 MB, free: 8.332 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.1315, allocations: 11.98 kB / 433.9 MB, free: 8.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.1318, allocations: 437.5 kB / 434.3 MB, free: 7.891 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007329/0.1325, allocations: 0.8718 MB / 435.2 MB, free: 6.977 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.1327, allocations: 164.3 kB / 435.3 MB, free: 6.809 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.564e-05/0.1328, allocations: 53.48 kB / 435.4 MB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/0.1338, allocations: 0.7174 MB / 436.1 MB, free: 6.023 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1338, allocations: 38.56 kB / 436.2 MB, free: 5.977 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.1338, allocations: 0 / 436.2 MB, free: 5.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002322/0.1341, allocations: 167 kB / 436.3 MB, free: 5.809 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.1341, allocations: 55.41 kB / 436.4 MB, free: 5.742 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.1342, allocations: 235.6 kB / 436.6 MB, free: 5.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.1342, allocations: 25.7 kB / 436.6 MB, free: 5.469 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/0.1343, allocations: 219.5 kB / 436.8 MB, free: 5.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.1343, allocations: 59.52 kB / 436.9 MB, free: 5.191 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.1344, allocations: 82.11 kB / 437 MB, free: 5.105 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.1345, allocations: 330.7 kB / 437.3 MB, free: 4.773 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.022e-05/0.1345, allocations: 35.8 kB / 437.3 MB, free: 4.738 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.1346, allocations: 300.7 kB / 437.6 MB, free: 4.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.1349, allocations: 389.1 kB / 438 MB, free: 3.809 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.1349, allocations: 8 kB / 438 MB, free: 3.801 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002605/0.1351, allocations: 295.7 kB / 438.3 MB, free: 3.504 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1352, allocations: 8.969 kB / 438.3 MB, free: 3.496 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.1352, allocations: 12 kB / 438.3 MB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1352, allocations: 19.94 kB / 438.3 MB, free: 3.465 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.1354, allocations: 115.8 kB / 438.5 MB, free: 3.352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.1354, allocations: 19.92 kB / 438.5 MB, free: 3.332 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.1356, allocations: 55.62 kB / 438.5 MB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1356, allocations: 20 kB / 438.6 MB, free: 3.258 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 7.676e-05/0.1356, allocations: 156.3 kB / 438.7 MB, free: 3.094 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.1357, allocations: 19.97 kB / 438.7 MB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.1358, allocations: 118.7 kB / 438.8 MB, free: 2.949 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.1358, allocations: 7.984 kB / 438.8 MB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.1358, allocations: 0 / 438.8 MB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1358, allocations: 0 / 438.8 MB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.1361, allocations: 325 kB / 439.2 MB, free: 2.598 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1361, allocations: 0 / 439.2 MB, free: 2.598 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.102e-05/0.1362, allocations: 31.98 kB / 439.2 MB, free: 2.566 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.1362, allocations: 31.81 kB / 439.2 MB, free: 2.535 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1362, allocations: 0 / 439.2 MB, free: 2.535 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.1362, allocations: 8 kB / 439.2 MB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1362, allocations: 3.938 kB / 439.2 MB, free: 2.523 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1362, allocations: 0 / 439.2 MB, free: 2.523 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.1363, allocations: 227 kB / 439.5 MB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1364, allocations: 8 kB / 439.5 MB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.54e-05/0.1364, allocations: 7.984 kB / 439.5 MB, free: 2.266 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.1365, allocations: 7.984 kB / 439.5 MB, free: 2.258 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.1365, allocations: 8 kB / 439.5 MB, free: 2.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.485e-05/0.1365, allocations: 70.78 kB / 439.6 MB, free: 2.176 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1365, allocations: 0 / 439.6 MB, free: 2.176 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002918/0.1368, allocations: 95.86 kB / 439.7 MB, free: 2.082 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.000211/0.137, allocations: 140.1 kB / 439.8 MB, free: 1.938 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.1372, allocations: 155 kB / 439.9 MB, free: 1.789 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/0.1372, allocations: 9.125 kB / 440 MB, free: 1.781 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.171e-05/0.1372, allocations: 28.78 kB / 440 MB, free: 1.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.1374, allocations: 84.38 kB / 440.1 MB, free: 1.668 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.1407, allocations: 0.4929 MB / 440.6 MB, free: 1.141 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.103e-05/0.1408, allocations: 76.27 kB / 440.6 MB, free: 1.047 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.1409, allocations: 59.25 kB / 440.7 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.1411, allocations: 121.3 kB / 440.8 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1411, allocations: 0 / 440.8 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of Templates: time 0.1673/0.3084, allocations: 3.608 MB / 444.4 MB, free: 14.3 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,rangeDelta=0.001) [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.479993865825236]