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.001335/0.001335, allocations: 106.2 kB / 18.25 MB, free: 4.773 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.001406/0.001407, allocations: 195.3 kB / 19.19 MB, free: 3.844 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.389/1.389, allocations: 205.1 MB / 225 MB, free: 12.3 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.00136/0.001361, allocations: 51.94 kB / 281.3 MB, free: 3.191 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08654/0.08792, allocations: 46.63 MB / 327.9 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03292/0.1209, allocations: 26.59 MB / 354.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003076/0.124, allocations: 2.227 MB / 356.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.1242, allocations: 0 / 356.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003784/0.1246, allocations: 59.64 kB / 356.8 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004304/0.1251, allocations: 159.1 kB / 357 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01657/0.1416, allocations: 6.158 MB / 363.1 MB, free: 1.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005027/0.1422, allocations: 318.6 kB / 363.4 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.41e-05/0.1422, allocations: 16.89 kB / 363.5 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.1425, allocations: 131.5 kB / 363.6 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.1428, allocations: 115.6 kB / 363.7 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.1429, allocations: 8 kB / 363.7 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01824/0.1611, allocations: 9.234 MB / 372.9 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.1613, allocations: 63.86 kB / 373 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.1616, allocations: 95.58 kB / 373.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.1731, allocations: 4.679 MB / 377.8 MB, free: 2.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1732, allocations: 4 kB / 377.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1732, allocations: 0 / 377.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.1732, allocations: 0 / 377.8 MB, free: 2.484 MB / 318.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.003811/0.1771, allocations: 1.108 MB / 378.9 MB, free: 1.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.1771, allocations: 12.03 kB / 378.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.1773, allocations: 24.5 kB / 378.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.1776, allocations: 218.7 kB / 379.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.1777, allocations: 12.33 kB / 379.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.264e-05/0.1777, allocations: 12 kB / 379.2 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007967/0.1785, allocations: 293.4 kB / 379.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1785, allocations: 0 / 379.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/0.1786, allocations: 11.98 kB / 379.5 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.1786, allocations: 4 kB / 379.5 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008375/0.1795, allocations: 315.7 kB / 379.8 MB, free: 404 kB / 318.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.1782/0.3577, allocations: 0.8209 MB / 380.6 MB, free: 52.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007611/0.3585, allocations: 248.7 kB / 380.8 MB, free: 52.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.3588, allocations: 133.3 kB / 381 MB, free: 52.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01371/0.3725, allocations: 12.84 MB / 393.8 MB, free: 39.87 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.3726, allocations: 39.64 kB / 393.8 MB, free: 39.83 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 3.567e-06/0.3726, allocations: 3.719 kB / 393.9 MB, free: 39.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.003089/0.3757, allocations: 0.6861 MB / 394.5 MB, free: 39.74 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.3757, allocations: 88.77 kB / 394.6 MB, free: 39.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3758, allocations: 130.2 kB / 394.8 MB, free: 39.53 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.3759, allocations: 30.89 kB / 394.8 MB, free: 39.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/0.3759, allocations: 104.9 kB / 394.9 MB, free: 39.4 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.3761, allocations: 129.5 kB / 395 MB, free: 39.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.3762, allocations: 74.16 kB / 395.1 MB, free: 39.26 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.041e-05/0.3763, allocations: 327.2 kB / 395.4 MB, free: 38.94 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/0.3767, allocations: 134.2 kB / 395.5 MB, free: 38.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000499/0.3772, allocations: 210.6 kB / 395.7 MB, free: 38.78 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009641/0.3782, allocations: 358.1 kB / 396.1 MB, free: 38.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3782, allocations: 0 / 396.1 MB, free: 38.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001228/0.3794, allocations: 423.8 kB / 396.5 MB, free: 38.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.3794, allocations: 7.375 kB / 396.5 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3795, allocations: 2.406 kB / 396.5 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.3795, allocations: 7.188 kB / 396.5 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.38, allocations: 89.77 kB / 396.6 MB, free: 38.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.38, allocations: 9.484 kB / 396.6 MB, free: 38.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.3803, allocations: 25.19 kB / 396.6 MB, free: 38.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/0.3804, allocations: 19.75 kB / 396.7 MB, free: 38.4 MB / 318.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.0001392/0.3806, allocations: 139.7 kB / 396.8 MB, free: 38.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.3807, allocations: 26.19 kB / 396.8 MB, free: 38.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005016/0.3812, allocations: 191.1 kB / 397 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.3812, allocations: 7.75 kB / 397 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.3813, allocations: 1.156 kB / 397 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.3813, allocations: 5.891 kB / 397 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.383, allocations: 0.7612 MB / 397.8 MB, free: 37.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.3831, allocations: 6.844 kB / 397.8 MB, free: 37.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004346/0.3835, allocations: 79.38 kB / 397.9 MB, free: 37.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.3835, allocations: 4.312 kB / 397.9 MB, free: 37.65 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/0.3836, allocations: 14.62 kB / 397.9 MB, free: 37.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.3836, allocations: 4.906 kB / 397.9 MB, free: 37.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.3836, allocations: 8.594 kB / 397.9 MB, free: 37.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.3852, allocations: 0.7027 MB / 398.6 MB, free: 37.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.3853, allocations: 118.9 kB / 398.7 MB, free: 37.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.256e-05/0.3854, allocations: 12.77 kB / 398.7 MB, free: 37.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.3857, allocations: 19.28 kB / 398.8 MB, free: 37.11 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.3858, allocations: 28 kB / 398.8 MB, free: 37.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.3858, allocations: 18.48 kB / 398.8 MB, free: 37.1 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.663e-05/0.3859, allocations: 99.58 kB / 398.9 MB, free: 37.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3859, allocations: 0 / 398.9 MB, free: 37.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003536/0.3894, allocations: 0.9326 MB / 399.8 MB, free: 36.93 MB / 318.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.004769/0.3942, allocations: 1.265 MB / 401.1 MB, free: 36.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.3953, allocations: 370.8 kB / 401.5 MB, free: 36.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.3953, allocations: 1.281 kB / 401.5 MB, free: 36.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004819/0.3958, allocations: 175.4 kB / 401.6 MB, free: 36.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007441/0.3965, allocations: 101.4 kB / 401.7 MB, free: 36.53 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.3979, allocations: 0.6377 MB / 402.4 MB, free: 36.11 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.3981, allocations: 0.7347 MB / 403.1 MB, free: 35.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.3983, allocations: 43.47 kB / 403.1 MB, free: 35.4 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3983, allocations: 0 / 403.1 MB, free: 35.4 MB / 318.1 MB Notification: Performance of Templates: time 0.02578/0.4241, allocations: 20.97 MB / 424.1 MB, free: 18.73 MB / 318.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