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.001383/0.001383, allocations: 84.25 kB / 22.21 MB, free: 2.289 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.001524/0.001524, allocations: 161.9 kB / 25.61 MB, free: 8.586 MB / 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 0.963/0.963, allocations: 177 MB / 205.9 MB, free: 4.438 MB / 186.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.1642/0.1642, allocations: 34.88 MB / 297.4 MB, free: 13.33 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.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.[0-9,]+.|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.[0-9,]+.|MM|h2|d2|s_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.677e-05, allocations: 3.906 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3224/0.3225, allocations: 145.3 MB / 0.5131 GB, free: 13.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00447/0.3269, allocations: 6.363 MB / 0.5193 GB, free: 13.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.327, allocations: 0 / 0.5193 GB, free: 13.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000367/0.3274, allocations: 90.59 kB / 0.5194 GB, free: 13.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004109/0.3315, allocations: 2.569 MB / 0.5219 GB, free: 13.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.3318, allocations: 172.2 kB / 0.522 GB, free: 13.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005642/0.3323, allocations: 0.5657 MB / 0.5226 GB, free: 13.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.3324, allocations: 19.06 kB / 0.5226 GB, free: 13.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000337/0.3327, allocations: 314.8 kB / 0.5229 GB, free: 13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004815/0.3332, allocations: 376.6 kB / 0.5233 GB, free: 12.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.3332, allocations: 13.75 kB / 0.5233 GB, free: 12.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003329/0.3366, allocations: 2.964 MB / 0.5262 GB, free: 12.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.3367, allocations: 107.3 kB / 0.5263 GB, free: 12.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.3368, allocations: 121.5 kB / 0.5264 GB, free: 12.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00295/0.3397, allocations: 1.955 MB / 0.5283 GB, free: 12.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3398, allocations: 0 / 0.5283 GB, free: 12.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3398, allocations: 0 / 0.5283 GB, free: 12.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.3398, allocations: 0 / 0.5283 GB, free: 12.63 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.002239/0.342, allocations: 1.016 MB / 0.5293 GB, free: 11.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.342, allocations: 10.94 kB / 0.5293 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.3422, allocations: 68.52 kB / 0.5294 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.3425, allocations: 196.6 kB / 0.5296 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.3426, allocations: 230.9 kB / 0.5298 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/0.3426, allocations: 35.5 kB / 0.5298 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.3431, allocations: 0.5552 MB / 0.5303 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3431, allocations: 0 / 0.5303 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.3431, allocations: 15.53 kB / 0.5304 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.112e-05/0.3431, allocations: 23.89 kB / 0.5304 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/0.3436, allocations: 0.5913 MB / 0.531 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.345, allocations: 1.865 MB / 0.5328 GB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.3454, allocations: 204.9 kB / 0.533 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.598e-05/0.3454, allocations: 82.64 kB / 0.5331 GB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/0.3466, allocations: 1.091 MB / 0.5341 GB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.3467, allocations: 39.77 kB / 0.5342 GB, free: 8.652 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.282e-06/0.3467, allocations: 0 / 0.5342 GB, free: 8.652 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001027/0.3477, allocations: 0.6094 MB / 0.5348 GB, free: 8.379 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.3477, allocations: 60.84 kB / 0.5348 GB, free: 8.312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.3478, allocations: 287.1 kB / 0.5351 GB, free: 8.098 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.3479, allocations: 35.52 kB / 0.5351 GB, free: 8.066 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.3479, allocations: 240.2 kB / 0.5354 GB, free: 7.855 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.553e-05/0.348, allocations: 165.2 kB / 0.5355 GB, free: 7.738 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.3481, allocations: 149.9 kB / 0.5357 GB, free: 7.688 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.3482, allocations: 0.5124 MB / 0.5362 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/0.3482, allocations: 59.22 kB / 0.5362 GB, free: 7.168 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.3485, allocations: 0.5024 MB / 0.5367 GB, free: 6.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.3488, allocations: 0.6472 MB / 0.5373 GB, free: 5.926 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3488, allocations: 2.344 kB / 0.5373 GB, free: 5.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005071/0.3493, allocations: 0.4973 MB / 0.5378 GB, free: 5.742 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.3494, allocations: 8.781 kB / 0.5378 GB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.3494, allocations: 11.53 kB / 0.5378 GB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.3494, allocations: 16.5 kB / 0.5379 GB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/0.3498, allocations: 196.1 kB / 0.538 GB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003463/0.3501, allocations: 1.809 MB / 0.5398 GB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.3503, allocations: 21.12 kB / 0.5398 GB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.506e-05/0.3504, allocations: 49.27 kB / 0.5399 GB, free: 3.867 MB / 410.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.0001249/0.3505, allocations: 199.2 kB / 0.5401 GB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.3506, allocations: 40.52 kB / 0.5401 GB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006544/0.3512, allocations: 0.6421 MB / 0.5407 GB, free: 3.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.3512, allocations: 6.469 kB / 0.5407 GB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.3512, allocations: 0 / 0.5407 GB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3512, allocations: 3.984 kB / 0.5407 GB, free: 3.332 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004952/0.3517, allocations: 0.5675 MB / 0.5413 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3517, allocations: 0 / 0.5413 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.352, allocations: 98.8 kB / 0.5414 GB, free: 2.941 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.352, allocations: 6.688 kB / 0.5414 GB, free: 2.938 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.352, allocations: 9.688 kB / 0.5414 GB, free: 2.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002722/0.3522, allocations: 1.788 MB / 0.5431 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3522, allocations: 3.938 kB / 0.5432 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.3525, allocations: 387.4 kB / 0.5435 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.3526, allocations: 40.52 kB / 0.5436 GB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.3526, allocations: 17.62 kB / 0.5436 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.3527, allocations: 9.562 kB / 0.5436 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.3527, allocations: 33.44 kB / 0.5436 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.3528, allocations: 22.27 kB / 0.5436 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.87e-05/0.3528, allocations: 189.8 kB / 0.5438 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3528, allocations: 0 / 0.5438 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001034/0.3539, allocations: 432.5 kB / 0.5442 GB, free: 0.5625 MB / 410.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.0009456/0.3548, allocations: 0.6694 MB / 0.5449 GB, free: 284 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004344/0.3552, allocations: 325.9 kB / 0.5452 GB, free: 172 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.3553, allocations: 256 / 0.5452 GB, free: 172 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.3554, allocations: 138.7 kB / 0.5453 GB, free: 116 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.3559, allocations: 144.1 kB / 0.5455 GB, free: 64 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005907/0.3618, allocations: 5.975 MB / 0.5513 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.357e-05/0.3618, allocations: 102.8 kB / 0.5514 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003499/0.3622, allocations: 181.6 kB / 0.5516 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/0.3625, allocations: 231.7 kB / 0.5518 GB, free: 13.17 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.3625, allocations: 0 / 0.5518 GB, free: 13.17 MB / 426.7 MB Notification: Performance of Templates: time 0.01591/0.3784, allocations: 16.18 MB / 0.5676 GB, free: 1.43 MB / 426.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","",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: 4.47141529712826]