Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.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.002024/0.002024, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002096/0.002096, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.65/1.65, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3418/0.3418, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.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.MoistAir,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.1.|dddX.2.|MM|h2|d2|s_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,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.1.|dddX.2.|MM|h2|d2|s_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.776e-05, allocations: 4.422 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.376/0.376, allocations: 147.8 MB / 0.5127 GB, free: 16.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.3863, allocations: 10.68 MB / 0.5231 GB, free: 9.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.3865, allocations: 3.938 kB / 0.5231 GB, free: 9.586 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.3868, allocations: 78.81 kB / 0.5232 GB, free: 9.551 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007485/0.3943, allocations: 3.169 MB / 0.5263 GB, free: 7.996 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.3947, allocations: 168 kB / 0.5265 GB, free: 7.914 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006113/0.3953, allocations: 0.5379 MB / 0.527 GB, free: 7.672 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.564e-05/0.3954, allocations: 13.31 kB / 0.527 GB, free: 7.668 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003563/0.3957, allocations: 303.3 kB / 0.5273 GB, free: 7.562 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000633/0.3964, allocations: 375.4 kB / 0.5277 GB, free: 7.457 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.3964, allocations: 14.38 kB / 0.5277 GB, free: 7.457 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00646/0.4029, allocations: 4.043 MB / 0.5316 GB, free: 6.297 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.403, allocations: 103.2 kB / 0.5317 GB, free: 6.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.4032, allocations: 122.8 kB / 0.5318 GB, free: 6.211 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004674/0.4078, allocations: 2.649 MB / 0.5344 GB, free: 5.438 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.4078, allocations: 0 / 0.5344 GB, free: 5.438 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4078, allocations: 0 / 0.5344 GB, free: 5.438 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.4078, allocations: 0 / 0.5344 GB, free: 5.438 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002224/0.4101, allocations: 1.122 MB / 0.5355 GB, free: 4.676 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.4101, allocations: 8.969 kB / 0.5355 GB, free: 4.676 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.4103, allocations: 73.38 kB / 0.5356 GB, free: 4.641 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.4106, allocations: 197.4 kB / 0.5358 GB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.4107, allocations: 228.8 kB / 0.536 GB, free: 4.188 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.4107, allocations: 28.06 kB / 0.536 GB, free: 4.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005688/0.4113, allocations: 0.6067 MB / 0.5366 GB, free: 3.648 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4113, allocations: 0 / 0.5366 GB, free: 3.648 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.4113, allocations: 21.56 kB / 0.5366 GB, free: 3.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.55e-05/0.4114, allocations: 25.02 kB / 0.5367 GB, free: 3.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009161/0.4123, allocations: 0.8956 MB / 0.5375 GB, free: 3.309 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.4141, allocations: 1.931 MB / 0.5394 GB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005929/0.4147, allocations: 239.6 kB / 0.5396 GB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.4149, allocations: 106.3 kB / 0.5398 GB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001957/0.4169, allocations: 1.094 MB / 0.5408 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.4169, allocations: 43.67 kB / 0.5409 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.693e-06/0.4169, allocations: 4 kB / 0.5409 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001617/0.4185, allocations: 0.728 MB / 0.5416 GB, free: 280 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/0.4185, allocations: 56.97 kB / 0.5416 GB, free: 216 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.4187, allocations: 283.8 kB / 0.5419 GB, free: 15.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.4187, allocations: 29.7 kB / 0.5419 GB, free: 15.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.4189, allocations: 252.4 kB / 0.5422 GB, free: 15.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.4191, allocations: 162.7 kB / 0.5423 GB, free: 15.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.4193, allocations: 148 kB / 0.5425 GB, free: 15.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004646/0.4197, allocations: 0.5119 MB / 0.543 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.4199, allocations: 90.62 kB / 0.5431 GB, free: 14.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006177/0.4205, allocations: 0.5321 MB / 0.5436 GB, free: 14.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008867/0.4214, allocations: 0.6891 MB / 0.5442 GB, free: 13.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.4214, allocations: 6.625 kB / 0.5443 GB, free: 13.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009522/0.4224, allocations: 0.5583 MB / 0.5448 GB, free: 13.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.4224, allocations: 15.56 kB / 0.5448 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.4224, allocations: 11.78 kB / 0.5448 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.4224, allocations: 14.03 kB / 0.5448 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006911/0.4231, allocations: 200 kB / 0.545 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.4244, allocations: 1.817 MB / 0.5468 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.4247, allocations: 22.97 kB / 0.5468 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.398e-05/0.4248, allocations: 54.3 kB / 0.5469 GB, free: 11.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.425, allocations: 209.5 kB / 0.5471 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.4252, allocations: 46.3 kB / 0.5471 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.4264, allocations: 0.6789 MB / 0.5478 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.4264, allocations: 5.438 kB / 0.5478 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4264, allocations: 0 / 0.5478 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.4265, allocations: 3.984 kB / 0.5478 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.4276, allocations: 0.6667 MB / 0.5484 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4276, allocations: 96 / 0.5484 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004813/0.4281, allocations: 99.88 kB / 0.5485 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.4281, allocations: 4 kB / 0.5485 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.4281, allocations: 11.98 kB / 0.5486 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.4293, allocations: 1.794 MB / 0.5503 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4293, allocations: 0 / 0.5503 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006308/0.43, allocations: 431.6 kB / 0.5507 GB, free: 7.602 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004113/0.4304, allocations: 43.77 kB / 0.5508 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.56e-05/0.4304, allocations: 12.12 kB / 0.5508 GB, free: 7.547 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.4307, allocations: 17.17 kB / 0.5508 GB, free: 7.531 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.4308, allocations: 19.95 kB / 0.5508 GB, free: 7.512 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.4308, allocations: 16 kB / 0.5508 GB, free: 7.496 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002243/0.431, allocations: 213.1 kB / 0.551 GB, free: 7.285 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.431, allocations: 0 / 0.551 GB, free: 7.285 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001748/0.4328, allocations: 0.5061 MB / 0.5515 GB, free: 6.777 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001907/0.4347, allocations: 0.7938 MB / 0.5523 GB, free: 5.973 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009625/0.4356, allocations: 371.1 kB / 0.5526 GB, free: 5.609 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4356, allocations: 0 / 0.5526 GB, free: 5.609 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004345/0.4361, allocations: 161.3 kB / 0.5528 GB, free: 5.449 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008594/0.4369, allocations: 145.5 kB / 0.5529 GB, free: 5.312 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.4478, allocations: 5.881 MB / 0.5587 GB, free: 15.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.448, allocations: 156.6 kB / 0.5588 GB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006915/0.4487, allocations: 202 kB / 0.559 GB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.4489, allocations: 72.45 kB / 0.5591 GB, free: 14.94 MB / 442.7 MB Notification: Performance of SimCode: time 1.483e-06/0.4489, allocations: 0 / 0.5591 GB, free: 14.94 MB / 442.7 MB Notification: Performance of Templates: time 0.02888/0.4777, allocations: 15.54 MB / 0.5743 GB, free: 15.55 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.307812732993625]