Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 102 kB / 18.4 MB, free: 4.66 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.001713/0.001713, allocations: 190.5 kB / 19.33 MB, free: 3.738 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.387/1.387, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001223/0.001223, allocations: 55.94 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08356/0.08479, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2148/0.2997, allocations: 26.59 MB / 402.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003145/0.3029, allocations: 2.237 MB / 404.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.303, allocations: 1.531 kB / 404.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003751/0.3034, allocations: 58.62 kB / 404.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004293/0.3039, allocations: 155.8 kB / 404.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01856/0.3225, allocations: 6.154 MB / 411 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006289/0.3231, allocations: 312.5 kB / 411.3 MB, free: 7.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.549e-05/0.3232, allocations: 13.12 kB / 411.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.3234, allocations: 138 kB / 411.4 MB, free: 7.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.3237, allocations: 115.5 kB / 411.6 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.3237, allocations: 11 kB / 411.6 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01885/0.3426, allocations: 9.402 MB / 421 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.3428, allocations: 63.86 kB / 421 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.343, allocations: 95.58 kB / 421.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.3556, allocations: 4.671 MB / 425.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.3557, allocations: 7.938 kB / 425.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3557, allocations: 0 / 425.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.3557, allocations: 0 / 425.8 MB, free: 13.63 MB / 350.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.003858/0.3596, allocations: 1.12 MB / 426.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3596, allocations: 16.03 kB / 426.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.3598, allocations: 20.75 kB / 427 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.3601, allocations: 214.8 kB / 427.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.3601, allocations: 12.33 kB / 427.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.3601, allocations: 15.91 kB / 427.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006909/0.3608, allocations: 285.4 kB / 427.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3609, allocations: 4 kB / 427.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.3609, allocations: 8 kB / 427.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.3609, allocations: 4 kB / 427.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.3617, allocations: 311.7 kB / 427.8 MB, free: 11.54 MB / 350.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.001547/0.3632, allocations: 0.8265 MB / 428.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007052/0.364, allocations: 254.5 kB / 428.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.3643, allocations: 130.9 kB / 429 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0152/0.3795, allocations: 12.85 MB / 441.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/0.3796, allocations: 54.36 kB / 441.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 3.887e-06/0.3796, allocations: 3.938 kB / 441.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002866/0.3824, allocations: 0.6744 MB / 442.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.3825, allocations: 89.03 kB / 442.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.3826, allocations: 125.8 kB / 442.8 MB, free: 9.902 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.3827, allocations: 29.7 kB / 442.8 MB, free: 9.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.3828, allocations: 112.8 kB / 442.9 MB, free: 9.754 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.3829, allocations: 130 kB / 443.1 MB, free: 9.625 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.383, allocations: 73.64 kB / 443.1 MB, free: 9.547 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3831, allocations: 330.8 kB / 443.5 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.3835, allocations: 135.9 kB / 443.6 MB, free: 9.082 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/0.384, allocations: 203.6 kB / 443.8 MB, free: 8.855 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009123/0.3849, allocations: 364 kB / 444.1 MB, free: 8.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3849, allocations: 0 / 444.1 MB, free: 8.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001135/0.3861, allocations: 417.2 kB / 444.5 MB, free: 8.059 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3861, allocations: 8.219 kB / 444.6 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.3861, allocations: 6.938 kB / 444.6 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3861, allocations: 4 kB / 444.6 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.3866, allocations: 91.81 kB / 444.7 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.3866, allocations: 7.938 kB / 444.7 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.3869, allocations: 27.97 kB / 444.7 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.387, allocations: 12 kB / 444.7 MB, free: 7.906 MB / 366.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.0001508/0.3871, allocations: 153.6 kB / 444.9 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.3873, allocations: 15.81 kB / 444.9 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004722/0.3877, allocations: 192.4 kB / 445.1 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.3878, allocations: 8 kB / 445.1 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3878, allocations: 7.938 kB / 445.1 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.3878, allocations: 3.984 kB / 445.1 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.3894, allocations: 0.7637 MB / 445.8 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.3894, allocations: 0 / 445.8 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/0.3899, allocations: 75.89 kB / 445.9 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.3899, allocations: 8.156 kB / 445.9 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.3899, allocations: 15.98 kB / 445.9 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.3899, allocations: 0 / 445.9 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3899, allocations: 7.938 kB / 445.9 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.3914, allocations: 0.7063 MB / 446.6 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.3916, allocations: 120.8 kB / 446.8 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.3916, allocations: 8 kB / 446.8 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.392, allocations: 27.97 kB / 446.8 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.392, allocations: 27.84 kB / 446.8 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.3921, allocations: 17.88 kB / 446.8 MB, free: 5.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.309e-05/0.3922, allocations: 107.7 kB / 447 MB, free: 5.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3922, allocations: 0 / 447 MB, free: 5.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002707/0.3949, allocations: 0.9253 MB / 447.9 MB, free: 4.594 MB / 366.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 (37): * Single equations (assignments): 37 * 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.004272/0.3992, allocations: 1.26 MB / 449.1 MB, free: 3.332 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.4003, allocations: 336 kB / 449.5 MB, free: 3.004 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.4003, allocations: 4 kB / 449.5 MB, free: 3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004679/0.4008, allocations: 183.5 kB / 449.6 MB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007661/0.4015, allocations: 98.02 kB / 449.7 MB, free: 2.727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.403, allocations: 0.6275 MB / 450.4 MB, free: 2.051 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.4033, allocations: 0.7332 MB / 451.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.4035, allocations: 55.39 kB / 451.2 MB, free: 1.234 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4035, allocations: 0 / 451.2 MB, free: 1.234 MB / 366.1 MB Notification: Performance of Templates: time 0.03273/0.4363, allocations: 20.95 MB / 472.1 MB, free: 12.25 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches