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.001665/0.001665, allocations: 105.5 kB / 17.73 MB, free: 5.367 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.001751/0.001751, allocations: 188.1 kB / 18.66 MB, free: 4.441 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.383/1.383, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001169/0.001169, allocations: 51.92 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08557/0.08675, allocations: 46.61 MB / 375.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2084/0.2952, allocations: 26.59 MB / 401.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002763/0.298, allocations: 2.227 MB / 404 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.719e-05/0.2981, allocations: 5.375 kB / 404 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.2985, allocations: 62.33 kB / 404 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.2988, allocations: 152.5 kB / 404.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01709/0.3159, allocations: 6.15 MB / 410.3 MB, free: 7.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004909/0.3164, allocations: 312.8 kB / 410.6 MB, free: 7.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.585e-05/0.3165, allocations: 16.36 kB / 410.6 MB, free: 7.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.3167, allocations: 138.3 kB / 410.8 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.317, allocations: 115.6 kB / 410.9 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.317, allocations: 10.94 kB / 410.9 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01712/0.3341, allocations: 9.394 MB / 420.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.3343, allocations: 67.84 kB / 420.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.3345, allocations: 99.58 kB / 420.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.3459, allocations: 4.675 MB / 425.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3459, allocations: 0 / 425.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3459, allocations: 0 / 425.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3459, allocations: 0 / 425.1 MB, free: 13.65 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.003025/0.349, allocations: 1.12 MB / 426.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.349, allocations: 15.97 kB / 426.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.3492, allocations: 24.75 kB / 426.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.3494, allocations: 206.8 kB / 426.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.3494, allocations: 16.31 kB / 426.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.3495, allocations: 19.91 kB / 426.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007026/0.3502, allocations: 281.4 kB / 426.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3502, allocations: 0 / 426.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.3503, allocations: 16 kB / 426.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.3503, allocations: 4 kB / 426.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000781/0.3511, allocations: 312.5 kB / 427.1 MB, free: 11.55 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.001407/0.3525, allocations: 0.8242 MB / 428 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/0.3532, allocations: 258.3 kB / 428.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.3536, allocations: 134 kB / 428.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01549/0.3691, allocations: 12.84 MB / 441.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.3691, allocations: 46.44 kB / 441.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.385e-06/0.3691, allocations: 0 / 441.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002927/0.3721, allocations: 0.6854 MB / 441.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.3721, allocations: 85.11 kB / 442 MB, free: 10.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3722, allocations: 129.8 kB / 442.1 MB, free: 9.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.3723, allocations: 29.7 kB / 442.1 MB, free: 9.875 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.3723, allocations: 108.8 kB / 442.3 MB, free: 9.766 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.748e-05/0.3724, allocations: 134 kB / 442.4 MB, free: 9.633 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.3726, allocations: 69.64 kB / 442.5 MB, free: 9.559 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3727, allocations: 330.8 kB / 442.8 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.3731, allocations: 139.9 kB / 442.9 MB, free: 9.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000495/0.3736, allocations: 203.6 kB / 443.1 MB, free: 8.863 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009185/0.3745, allocations: 351.5 kB / 443.5 MB, free: 8.492 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3745, allocations: 3.984 kB / 443.5 MB, free: 8.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001149/0.3757, allocations: 421.2 kB / 443.9 MB, free: 8.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3757, allocations: 8 kB / 443.9 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3757, allocations: 224 / 443.9 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3757, allocations: 8 kB / 443.9 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/0.3762, allocations: 92.75 kB / 444 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.3762, allocations: 11.88 kB / 444 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.3765, allocations: 23.97 kB / 444 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.3766, allocations: 16 kB / 444 MB, free: 7.914 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.0001734/0.3767, allocations: 149.6 kB / 444.2 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.3769, allocations: 19.81 kB / 444.2 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004906/0.3774, allocations: 188.9 kB / 444.4 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.3774, allocations: 8 kB / 444.4 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.3774, allocations: 11.88 kB / 444.4 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3774, allocations: 3.938 kB / 444.4 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.3791, allocations: 0.7582 MB / 445.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3792, allocations: 0 / 445.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/0.3796, allocations: 79.88 kB / 445.2 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3796, allocations: 4 kB / 445.2 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.3796, allocations: 16.14 kB / 445.3 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3796, allocations: 4 kB / 445.3 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.3797, allocations: 9.016 kB / 445.3 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.3812, allocations: 0.7073 MB / 446 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.3813, allocations: 120.8 kB / 446.1 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.3813, allocations: 8 kB / 446.1 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.3817, allocations: 19.98 kB / 446.1 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.3818, allocations: 35.83 kB / 446.2 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.3818, allocations: 16 kB / 446.2 MB, free: 5.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.747e-05/0.3819, allocations: 99.64 kB / 446.3 MB, free: 5.539 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3819, allocations: 4.062 kB / 446.3 MB, free: 5.535 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002703/0.3846, allocations: 0.9253 MB / 447.2 MB, free: 4.609 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.003605/0.3882, allocations: 1.26 MB / 448.5 MB, free: 3.344 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.3892, allocations: 343.6 kB / 448.8 MB, free: 3.008 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.3893, allocations: 4.438 kB / 448.8 MB, free: 3.004 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004526/0.3897, allocations: 179.6 kB / 449 MB, free: 2.828 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007278/0.3905, allocations: 97.02 kB / 449.1 MB, free: 2.734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.3918, allocations: 0.599 MB / 449.7 MB, free: 2.094 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.392, allocations: 0.7371 MB / 450.4 MB, free: 1.328 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003344/0.3924, allocations: 85.83 kB / 450.5 MB, free: 1.246 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.3925, allocations: 35.42 kB / 450.5 MB, free: 1.211 MB / 366.1 MB Notification: Performance of SimCode: time 1.863e-06/0.3925, allocations: 0 / 450.5 MB, free: 1.211 MB / 366.1 MB Notification: Performance of Templates: time 0.03842/0.431, allocations: 30.91 MB / 481.4 MB, free: 2.246 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/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