Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001038/0.001038, allocations: 110.2 kB / 16.92 MB, free: 6.332 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.001059/0.001059, allocations: 191.4 kB / 17.85 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 47.06 kB / 300.6 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1203, allocations: 49.45 MB / 350.1 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1842/0.3046, allocations: 26.41 MB / 376.5 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.307, allocations: 2.24 MB / 378.7 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.732e-05/0.3071, allocations: 0 / 378.7 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.3074, allocations: 57.81 kB / 378.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.3078, allocations: 156.3 kB / 378.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01494/0.3228, allocations: 6.51 MB / 385.4 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004262/0.3232, allocations: 310.3 kB / 385.7 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.3233, allocations: 12.88 kB / 385.7 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.3235, allocations: 138 kB / 385.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.3237, allocations: 110.1 kB / 386 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.3237, allocations: 11.75 kB / 386 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01556/0.3393, allocations: 9.337 MB / 395.3 MB, free: 4.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.3395, allocations: 70.48 kB / 395.4 MB, free: 3.973 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.3396, allocations: 96.78 kB / 395.5 MB, free: 3.922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008633/0.3483, allocations: 4.711 MB / 400.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3483, allocations: 0 / 400.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3483, allocations: 0 / 400.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.3483, allocations: 3.938 kB / 400.2 MB, free: 1.336 MB / 302.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.002586/0.3509, allocations: 1.118 MB / 401.3 MB, free: 484 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.351, allocations: 12.03 kB / 401.3 MB, free: 472 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.3511, allocations: 20.94 kB / 401.4 MB, free: 452 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.3513, allocations: 214.7 kB / 401.6 MB, free: 196 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3513, allocations: 12.33 kB / 401.6 MB, free: 184 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.3513, allocations: 23.98 kB / 401.6 MB, free: 160 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006457/0.352, allocations: 285.2 kB / 401.9 MB, free: 15.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.352, allocations: 0 / 401.9 MB, free: 15.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.3521, allocations: 8 kB / 401.9 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.3521, allocations: 8 kB / 401.9 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008/0.3529, allocations: 315.7 kB / 402.2 MB, free: 15.55 MB / 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.001386/0.3543, allocations: 0.819 MB / 403 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007036/0.355, allocations: 249 kB / 403.3 MB, free: 14.4 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.3553, allocations: 138.5 kB / 403.4 MB, free: 14.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01528/0.3706, allocations: 12.85 MB / 416.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.3707, allocations: 42.5 kB / 416.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.134e-06/0.3707, allocations: 0 / 416.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002942/0.3737, allocations: 0.7008 MB / 417 MB, free: 14.17 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.3737, allocations: 85.05 kB / 417.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3738, allocations: 129.8 kB / 417.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.3739, allocations: 33.7 kB / 417.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.3739, allocations: 108.8 kB / 417.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.3741, allocations: 124.5 kB / 417.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.3742, allocations: 65.69 kB / 417.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3743, allocations: 326.8 kB / 417.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/0.3747, allocations: 139.8 kB / 418 MB, free: 13.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004865/0.3752, allocations: 211.5 kB / 418.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009305/0.3761, allocations: 355.5 kB / 418.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3761, allocations: 0 / 418.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001184/0.3773, allocations: 426 kB / 418.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3773, allocations: 8 kB / 419 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3774, allocations: 0 / 419 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3774, allocations: 4 kB / 419 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/0.3779, allocations: 96.09 kB / 419.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.3779, allocations: 7.938 kB / 419.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.3782, allocations: 27.77 kB / 419.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-05/0.3782, allocations: 23.98 kB / 419.1 MB, free: 11.93 MB / 334.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.000142/0.3784, allocations: 141.7 kB / 419.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.3785, allocations: 19.81 kB / 419.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004959/0.379, allocations: 188.9 kB / 419.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.3791, allocations: 7.938 kB / 419.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.3791, allocations: 5.438 kB / 419.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.3791, allocations: 8 kB / 419.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.3808, allocations: 0.7559 MB / 420.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3808, allocations: 0 / 420.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004317/0.3813, allocations: 79.88 kB / 420.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.3813, allocations: 4 kB / 420.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.3813, allocations: 12.14 kB / 420.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.3813, allocations: 8 kB / 420.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.279e-06/0.3813, allocations: 7.938 kB / 420.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.3829, allocations: 0.7051 MB / 421 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.383, allocations: 120.9 kB / 421.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.3831, allocations: 8.875 kB / 421.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.3834, allocations: 19.98 kB / 421.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.3835, allocations: 31.84 kB / 421.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.3835, allocations: 19.98 kB / 421.2 MB, free: 9.676 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.595e-05/0.3836, allocations: 91.27 kB / 421.3 MB, free: 9.586 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3836, allocations: 8 kB / 421.3 MB, free: 9.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002613/0.3862, allocations: 0.937 MB / 422.3 MB, free: 8.641 MB / 334.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.004243/0.3905, allocations: 1.247 MB / 423.5 MB, free: 7.484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.3915, allocations: 363.8 kB / 423.9 MB, free: 7.129 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3915, allocations: 448 / 423.9 MB, free: 7.129 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004699/0.392, allocations: 175.8 kB / 424 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00074/0.3928, allocations: 107.7 kB / 424.2 MB, free: 6.855 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.3941, allocations: 0.6079 MB / 424.8 MB, free: 6.207 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.3944, allocations: 0.7371 MB / 425.5 MB, free: 5.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004264/0.3949, allocations: 89.88 kB / 425.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.395, allocations: 31.42 kB / 425.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.395, allocations: 4 kB / 425.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of Templates: time 0.04077/0.4358, allocations: 29.49 MB / 455.1 MB, free: 7.887 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches