Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007927/0.0007927, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001308/0.002101, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00111/0.00111, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001397/0.002507, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.003/1.003, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08846/1.091, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2766/0.2766, allocations: 34.89 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02273/0.2993, allocations: 13.24 MB / 292.8 MB, free: 6.383 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 294.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.167e-06/1.059e-05, allocations: 3.438 kB / 294.1 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1221/0.1222, allocations: 131.8 MB / 425.9 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003937/0.1261, allocations: 4.897 MB / 430.8 MB, free: 11.8 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.1263, allocations: 4 kB / 430.8 MB, free: 11.8 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.1265, allocations: 59.53 kB / 430.9 MB, free: 11.74 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.1284, allocations: 0.7844 MB / 431.7 MB, free: 10.95 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1287, allocations: 159.7 kB / 431.8 MB, free: 10.8 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005177/0.1292, allocations: 405.9 kB / 432.2 MB, free: 10.4 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/0.1293, allocations: 6.469 kB / 432.3 MB, free: 10.39 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.1295, allocations: 211.4 kB / 432.5 MB, free: 10.19 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.1297, allocations: 175.6 kB / 432.6 MB, free: 10.02 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.1298, allocations: 8 kB / 432.6 MB, free: 10.01 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.1308, allocations: 0.6394 MB / 433.3 MB, free: 9.367 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.632e-05/0.1309, allocations: 31.86 kB / 433.3 MB, free: 9.336 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.131, allocations: 63.94 kB / 433.4 MB, free: 9.273 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007422/0.1317, allocations: 430.7 kB / 433.8 MB, free: 8.852 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.628e-05/0.1318, allocations: 0 / 433.8 MB, free: 8.852 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1318, allocations: 4 kB / 433.8 MB, free: 8.848 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.1318, allocations: 0 / 433.8 MB, free: 8.848 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.001104/0.1329, allocations: 0.6579 MB / 434.5 MB, free: 8.148 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1329, allocations: 8.922 kB / 434.5 MB, free: 8.141 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.1331, allocations: 56.77 kB / 434.5 MB, free: 8.086 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.1333, allocations: 165.5 kB / 434.7 MB, free: 7.898 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.1334, allocations: 234.7 kB / 434.9 MB, free: 7.621 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.1334, allocations: 24.38 kB / 434.9 MB, free: 7.598 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.1337, allocations: 422.1 kB / 435.3 MB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1338, allocations: 192 / 435.3 MB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.1338, allocations: 15.94 kB / 435.4 MB, free: 7.098 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.1338, allocations: 4 kB / 435.4 MB, free: 7.094 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.1341, allocations: 445.5 kB / 435.8 MB, free: 6.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007716/0.1349, allocations: 0.8641 MB / 436.7 MB, free: 5.754 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.1351, allocations: 171.3 kB / 436.8 MB, free: 5.578 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.014e-05/0.1352, allocations: 53.48 kB / 436.9 MB, free: 5.523 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008473/0.136, allocations: 0.7135 MB / 437.6 MB, free: 4.797 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.136, allocations: 34.56 kB / 437.6 MB, free: 4.754 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.136, allocations: 0 / 437.6 MB, free: 4.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004185/0.1365, allocations: 221.4 kB / 437.8 MB, free: 4.535 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.1365, allocations: 55.34 kB / 437.9 MB, free: 4.469 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.1366, allocations: 240.6 kB / 438.1 MB, free: 4.223 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1366, allocations: 33.7 kB / 438.2 MB, free: 4.184 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.1367, allocations: 207.6 kB / 438.4 MB, free: 3.977 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.1367, allocations: 59.5 kB / 438.4 MB, free: 3.918 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.1368, allocations: 86.11 kB / 438.5 MB, free: 3.828 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.465e-05/0.1369, allocations: 330.7 kB / 438.8 MB, free: 3.496 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.408e-05/0.1369, allocations: 31.81 kB / 438.9 MB, free: 3.461 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.1371, allocations: 304.7 kB / 439.2 MB, free: 3.031 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.1374, allocations: 417 kB / 439.6 MB, free: 2.492 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.1374, allocations: 4 kB / 439.6 MB, free: 2.488 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002988/0.1377, allocations: 307.8 kB / 439.9 MB, free: 2.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1377, allocations: 8 kB / 439.9 MB, free: 2.172 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.1377, allocations: 12.88 kB / 439.9 MB, free: 2.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.1377, allocations: 12 kB / 439.9 MB, free: 2.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.138, allocations: 119.8 kB / 440 MB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.138, allocations: 19.92 kB / 440 MB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.1381, allocations: 55.62 kB / 440.1 MB, free: 1.957 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.1381, allocations: 19.94 kB / 440.1 MB, free: 1.938 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 0.0001115/0.1382, allocations: 152.4 kB / 440.3 MB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.1383, allocations: 23.97 kB / 440.3 MB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.1385, allocations: 122.4 kB / 440.4 MB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.1385, allocations: 4 kB / 440.4 MB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.1385, allocations: 0 / 440.4 MB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1385, allocations: 3.984 kB / 440.4 MB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.1387, allocations: 311.4 kB / 440.7 MB, free: 1.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.1387, allocations: 0 / 440.7 MB, free: 1.289 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.908e-05/0.1388, allocations: 35.98 kB / 440.8 MB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.1389, allocations: 31.72 kB / 440.8 MB, free: 1.223 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1389, allocations: 4.031 kB / 440.8 MB, free: 1.219 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1389, allocations: 4 kB / 440.8 MB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1389, allocations: 0 / 440.8 MB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1389, allocations: 0 / 440.8 MB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.139, allocations: 235.6 kB / 441 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.139, allocations: 4 kB / 441 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.216e-05/0.1391, allocations: 8 kB / 441 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.1392, allocations: 7.984 kB / 441 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1392, allocations: 7.984 kB / 441.1 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.139e-05/0.1392, allocations: 66.78 kB / 441.1 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1392, allocations: 4 kB / 441.1 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000309/0.1395, allocations: 95.88 kB / 441.2 MB, free: 0.7734 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.0002496/0.1398, allocations: 148.1 kB / 441.4 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.14, allocations: 165.9 kB / 441.5 MB, free: 472 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/0.14, allocations: 5.281 kB / 441.5 MB, free: 468 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.748e-05/0.14, allocations: 40.83 kB / 441.6 MB, free: 424 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.1403, allocations: 128.4 kB / 441.7 MB, free: 288 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1992/0.3395, allocations: 496.5 kB / 442.2 MB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.003e-05/0.3395, allocations: 76.75 kB / 442.3 MB, free: 13.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000209/0.3397, allocations: 47.81 kB / 442.3 MB, free: 13.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.3399, allocations: 116.5 kB / 442.4 MB, free: 13.12 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.3399, allocations: 0 / 442.4 MB, free: 13.12 MB / 426.7 MB Notification: Performance of Templates: time 0.00577/0.3457, allocations: 3.345 MB / 445.8 MB, free: 12.89 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_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.4451199444010854]