Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001333, allocations: 110.2 kB / 18.25 MB, free: 4.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 195.3 kB / 19.18 MB, free: 3.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 225.1 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 55.91 kB / 281.3 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08556/0.08682, allocations: 46.62 MB / 327.9 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3423/0.4291, allocations: 152.7 MB / 480.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008383/0.43, allocations: 0.5899 MB / 481.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.406e-05/0.4301, allocations: 0 / 481.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.4305, allocations: 63.64 kB / 481.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.4308, allocations: 153.4 kB / 481.5 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002792/0.4336, allocations: 1.081 MB / 482.5 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003498/0.434, allocations: 322.9 kB / 482.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.434, allocations: 17.39 kB / 482.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.4343, allocations: 159.4 kB / 483 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.4345, allocations: 123.6 kB / 483.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.4345, allocations: 12 kB / 483.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.4369, allocations: 1.568 MB / 484.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.437, allocations: 71.83 kB / 484.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.4371, allocations: 91.66 kB / 484.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.4385, allocations: 0.994 MB / 485.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4385, allocations: 0 / 485.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4385, allocations: 0 / 485.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.4385, allocations: 4 kB / 485.9 MB, free: 9.07 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001642/0.4402, allocations: 0.6792 MB / 486.6 MB, free: 8.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.4402, allocations: 8.031 kB / 486.6 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.4404, allocations: 20.75 kB / 486.6 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.4406, allocations: 211.9 kB / 486.8 MB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.4406, allocations: 17.77 kB / 486.8 MB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.4407, allocations: 16 kB / 486.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005568/0.4412, allocations: 265.4 kB / 487.1 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.4413, allocations: 0 / 487.1 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.4413, allocations: 12 kB / 487.1 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.4413, allocations: 7.984 kB / 487.1 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006572/0.442, allocations: 263.7 kB / 487.4 MB, free: 7.492 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.4434, allocations: 0.7819 MB / 488.1 MB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/0.444, allocations: 229.2 kB / 488.4 MB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003355/0.4444, allocations: 133.6 kB / 488.5 MB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003095/0.4447, allocations: 364.3 kB / 488.9 MB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.4447, allocations: 42.44 kB / 488.9 MB, free: 5.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/0.4447, allocations: 0 / 488.9 MB, free: 5.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002547/0.4473, allocations: 0.6666 MB / 489.6 MB, free: 5.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.4473, allocations: 85.11 kB / 489.7 MB, free: 5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.972e-05/0.4474, allocations: 122.9 kB / 489.8 MB, free: 4.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.4475, allocations: 29.7 kB / 489.8 MB, free: 4.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.4476, allocations: 109.2 kB / 489.9 MB, free: 4.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.737e-05/0.4477, allocations: 126.2 kB / 490 MB, free: 4.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.4478, allocations: 73.55 kB / 490.1 MB, free: 4.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.4479, allocations: 322.8 kB / 490.4 MB, free: 4.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004202/0.4483, allocations: 143.8 kB / 490.6 MB, free: 4.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000433/0.4488, allocations: 199.6 kB / 490.8 MB, free: 3.836 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008494/0.4496, allocations: 363.5 kB / 491.1 MB, free: 3.453 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4496, allocations: 4 kB / 491.1 MB, free: 3.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001003/0.4506, allocations: 405.3 kB / 491.5 MB, free: 3.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.4507, allocations: 4 kB / 491.5 MB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.4507, allocations: 4 kB / 491.5 MB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.4507, allocations: 4 kB / 491.5 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.4512, allocations: 92.09 kB / 491.6 MB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.4513, allocations: 7.938 kB / 491.6 MB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.4516, allocations: 31.81 kB / 491.6 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.4516, allocations: 16 kB / 491.7 MB, free: 2.891 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * 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.0001415/0.4518, allocations: 141.7 kB / 491.8 MB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.152e-05/0.4519, allocations: 19.81 kB / 491.8 MB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/0.4522, allocations: 169.3 kB / 492 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.4523, allocations: 11.98 kB / 492 MB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.4523, allocations: 12.8 kB / 492 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4523, allocations: 0 / 492 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.454, allocations: 0.7597 MB / 492.8 MB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.454, allocations: 4 kB / 492.8 MB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004631/0.4545, allocations: 79.97 kB / 492.9 MB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.4545, allocations: 8 kB / 492.9 MB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.4545, allocations: 15.75 kB / 492.9 MB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.4545, allocations: 7.984 kB / 492.9 MB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4546, allocations: 3.938 kB / 492.9 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.456, allocations: 0.7059 MB / 493.6 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.4561, allocations: 124.8 kB / 493.7 MB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.4562, allocations: 4 kB / 493.7 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.4565, allocations: 23.97 kB / 493.7 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.4566, allocations: 27.91 kB / 493.8 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.4566, allocations: 16 kB / 493.8 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.751e-05/0.4567, allocations: 95.33 kB / 493.9 MB, free: 0.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4567, allocations: 288 / 493.9 MB, free: 0.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005975/0.4573, allocations: 147.9 kB / 494 MB, free: 408 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * 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.000504/0.4578, allocations: 231 kB / 494.2 MB, free: 168 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.4588, allocations: 371.7 kB / 494.6 MB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.4589, allocations: 0 / 494.6 MB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004344/0.4593, allocations: 173 kB / 494.8 MB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007345/0.46, allocations: 94.28 kB / 494.9 MB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.4616, allocations: 0.654 MB / 495.5 MB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.4619, allocations: 0.7369 MB / 496.3 MB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.4621, allocations: 43.41 kB / 496.3 MB, free: 14.04 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4621, allocations: 0 / 496.3 MB, free: 14.04 MB / 398.1 MB Notification: Performance of Templates: time 0.00767/0.4697, allocations: 4.443 MB / 0.489 GB, free: 9.586 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches