Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.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.001/0.001, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001711/0.001711, allocations: 167.1 kB / 24.99 MB, free: 8.285 MB / 18.57 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 1.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2715/0.2715, allocations: 32.81 MB / 294.6 MB, free: 1.293 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.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|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_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|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.721e-05, allocations: 2.312 kB / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.346/0.346, allocations: 147.8 MB / 0.5116 GB, free: 18.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00756/0.3536, allocations: 10.69 MB / 0.522 GB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.3537, allocations: 2.812 kB / 0.522 GB, free: 11.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.354, allocations: 78.5 kB / 0.5221 GB, free: 11.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005065/0.3591, allocations: 3.169 MB / 0.5252 GB, free: 10.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.3593, allocations: 163.8 kB / 0.5253 GB, free: 10.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004525/0.3597, allocations: 0.5464 MB / 0.5259 GB, free: 9.816 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.3598, allocations: 10.16 kB / 0.5259 GB, free: 9.812 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/0.3601, allocations: 299.3 kB / 0.5262 GB, free: 9.711 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004591/0.3606, allocations: 371.5 kB / 0.5265 GB, free: 9.609 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.3606, allocations: 14.69 kB / 0.5265 GB, free: 9.609 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00441/0.365, allocations: 4.038 MB / 0.5305 GB, free: 8.453 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.3651, allocations: 106.1 kB / 0.5306 GB, free: 8.406 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.3652, allocations: 119.3 kB / 0.5307 GB, free: 8.371 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003351/0.3686, allocations: 2.611 MB / 0.5332 GB, free: 7.598 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3686, allocations: 0 / 0.5332 GB, free: 7.598 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3686, allocations: 0 / 0.5332 GB, free: 7.598 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3686, allocations: 2.578 kB / 0.5332 GB, free: 7.598 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.001783/0.3704, allocations: 1.116 MB / 0.5343 GB, free: 6.848 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.3704, allocations: 12.09 kB / 0.5343 GB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.3706, allocations: 66.44 kB / 0.5344 GB, free: 6.816 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.3708, allocations: 193.1 kB / 0.5346 GB, free: 6.648 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.459e-05/0.3709, allocations: 235.2 kB / 0.5348 GB, free: 6.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.3709, allocations: 42.98 kB / 0.5348 GB, free: 6.367 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000412/0.3714, allocations: 0.5914 MB / 0.5354 GB, free: 5.902 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3714, allocations: 0 / 0.5354 GB, free: 5.902 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.3714, allocations: 14.16 kB / 0.5354 GB, free: 5.895 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-05/0.3714, allocations: 29.42 kB / 0.5355 GB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/0.372, allocations: 0.6902 MB / 0.5361 GB, free: 5.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.3731, allocations: 1.892 MB / 0.538 GB, free: 4.117 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.3735, allocations: 228.9 kB / 0.5382 GB, free: 4.012 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/0.3736, allocations: 88.42 kB / 0.5383 GB, free: 3.973 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/0.3747, allocations: 1.09 MB / 0.5394 GB, free: 3.234 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.3747, allocations: 47.05 kB / 0.5394 GB, free: 3.184 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.312e-06/0.3747, allocations: 0 / 0.5394 GB, free: 3.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001047/0.3758, allocations: 0.6743 MB / 0.5401 GB, free: 2.809 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.3758, allocations: 61.09 kB / 0.5401 GB, free: 2.742 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.3759, allocations: 274 kB / 0.5404 GB, free: 2.508 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3759, allocations: 32.83 kB / 0.5404 GB, free: 2.473 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.376, allocations: 245 kB / 0.5406 GB, free: 2.238 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/0.376, allocations: 170.5 kB / 0.5408 GB, free: 2.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.3761, allocations: 133.3 kB / 0.5409 GB, free: 2.008 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.3762, allocations: 0.5122 MB / 0.5414 GB, free: 1.492 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.97e-05/0.3763, allocations: 74.06 kB / 0.5415 GB, free: 1.465 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.3765, allocations: 0.5111 MB / 0.542 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/0.3768, allocations: 0.6666 MB / 0.5427 GB, free: 124 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.3768, allocations: 3.031 kB / 0.5427 GB, free: 124 kB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005452/0.3774, allocations: 0.5255 MB / 0.5432 GB, free: 15.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3774, allocations: 8.969 kB / 0.5432 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3774, allocations: 11.56 kB / 0.5432 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3774, allocations: 13.84 kB / 0.5432 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.3778, allocations: 195.7 kB / 0.5434 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005242/0.3783, allocations: 1.813 MB / 0.5452 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.3785, allocations: 19.72 kB / 0.5452 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.3785, allocations: 61.73 kB / 0.5452 GB, free: 13.95 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.0001267/0.3786, allocations: 202.2 kB / 0.5454 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.3787, allocations: 46.84 kB / 0.5455 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006798/0.3794, allocations: 0.6409 MB / 0.5461 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.3794, allocations: 5.812 kB / 0.5461 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3794, allocations: 1.188 kB / 0.5461 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3794, allocations: 0 / 0.5461 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.38, allocations: 0.62 MB / 0.5467 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.38, allocations: 0 / 0.5467 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.3802, allocations: 101.6 kB / 0.5468 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.3802, allocations: 0 / 0.5468 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.3802, allocations: 16.78 kB / 0.5468 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005268/0.3808, allocations: 1.785 MB / 0.5486 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3808, allocations: 7.766 kB / 0.5486 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.3811, allocations: 406.7 kB / 0.549 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.3811, allocations: 49.97 kB / 0.549 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.3812, allocations: 11.14 kB / 0.549 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.3813, allocations: 9.219 kB / 0.549 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.3813, allocations: 27.8 kB / 0.5491 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.3813, allocations: 19.08 kB / 0.5491 GB, free: 10.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.3814, allocations: 197.2 kB / 0.5493 GB, free: 10.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3814, allocations: 0 / 0.5493 GB, free: 10.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001056/0.3825, allocations: 0.5131 MB / 0.5498 GB, free: 10.22 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.001206/0.3837, allocations: 0.7909 MB / 0.5505 GB, free: 9.824 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005253/0.3842, allocations: 337.7 kB / 0.5509 GB, free: 9.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3842, allocations: 3.938 kB / 0.5509 GB, free: 9.566 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.3844, allocations: 137.3 kB / 0.551 GB, free: 9.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.3849, allocations: 153 kB / 0.5511 GB, free: 9.285 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/0.391, allocations: 5.882 MB / 0.5569 GB, free: 3.348 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.089e-05/0.391, allocations: 94.81 kB / 0.557 GB, free: 3.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003649/0.3914, allocations: 203.4 kB / 0.5572 GB, free: 3.031 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.3915, allocations: 68.47 kB / 0.5572 GB, free: 2.965 MB / 426.7 MB Notification: Performance of SimCode: time 1.373e-06/0.3915, allocations: 0 / 0.5572 GB, free: 2.965 MB / 426.7 MB Notification: Performance of Templates: time 0.01546/0.407, allocations: 15.53 MB / 0.5724 GB, free: 3.59 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.271525403019041]