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.001061/0.001061, allocations: 94.17 kB / 17.31 MB, free: 6.109 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.001383/0.001383, allocations: 178.4 kB / 18.21 MB, free: 5.41 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.35/1.35, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002604/0.0002604, allocations: 14.02 kB / 302.1 MB, free: 6.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08869/0.08896, allocations: 50.41 MB / 352.5 MB, free: 3.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2331/0.3221, allocations: 27.48 MB / 380 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003275/0.3255, allocations: 2.304 MB / 382.3 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.3257, allocations: 0.9688 kB / 382.3 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.3261, allocations: 53.56 kB / 382.3 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005366/0.3267, allocations: 153.8 kB / 382.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01831/0.345, allocations: 5.379 MB / 387.9 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007089/0.3457, allocations: 467.6 kB / 388.3 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.12e-05/0.3458, allocations: 17.72 kB / 388.3 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.346, allocations: 120.2 kB / 388.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.3462, allocations: 127.8 kB / 388.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.3463, allocations: 6.969 kB / 388.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02036/0.3667, allocations: 9.566 MB / 398.1 MB, free: 4.387 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.3669, allocations: 70.39 kB / 398.2 MB, free: 4.344 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.3671, allocations: 121.9 kB / 398.3 MB, free: 4.258 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007119/0.3742, allocations: 3.164 MB / 401.5 MB, free: 2.742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3742, allocations: 0 / 401.5 MB, free: 2.742 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3742, allocations: 0 / 401.5 MB, free: 2.742 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3742, allocations: 0 / 401.5 MB, free: 2.742 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.003587/0.3778, allocations: 1.084 MB / 402.6 MB, free: 1.902 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3779, allocations: 8.031 kB / 402.6 MB, free: 1.895 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.3781, allocations: 22.88 kB / 402.6 MB, free: 1.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.3783, allocations: 214.8 kB / 402.8 MB, free: 1.625 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3783, allocations: 12.33 kB / 402.8 MB, free: 1.613 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.74e-05/0.3783, allocations: 23.91 kB / 402.9 MB, free: 1.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006608/0.379, allocations: 281.4 kB / 403.1 MB, free: 1.305 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.379, allocations: 3.938 kB / 403.1 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.3791, allocations: 8 kB / 403.1 MB, free: 1.293 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.3791, allocations: 4 kB / 403.1 MB, free: 1.289 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007079/0.3798, allocations: 323.7 kB / 403.5 MB, free: 0.9727 MB / 302.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.001224/0.381, allocations: 0.8191 MB / 404.3 MB, free: 88 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007477/0.3818, allocations: 261.1 kB / 404.5 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003096/0.3821, allocations: 137.6 kB / 404.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01648/0.3986, allocations: 12.91 MB / 417.6 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.434e-05/0.3987, allocations: 38.56 kB / 417.6 MB, free: 224 kB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.575e-06/0.3987, allocations: 0 / 417.6 MB, free: 224 kB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.003146/0.4019, allocations: 0.6859 MB / 418.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.4019, allocations: 81.11 kB / 418.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.4021, allocations: 133.8 kB / 418.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.4021, allocations: 33.7 kB / 418.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/0.4022, allocations: 108.8 kB / 418.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.4023, allocations: 124.4 kB / 418.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-05/0.4024, allocations: 41.69 kB / 418.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4026, allocations: 322.8 kB / 419.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/0.403, allocations: 135.9 kB / 419.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005171/0.4035, allocations: 211.5 kB / 419.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009637/0.4045, allocations: 362.6 kB / 419.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4045, allocations: 0 / 419.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001226/0.4057, allocations: 421.1 kB / 420.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.4058, allocations: 11.88 kB / 420.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4058, allocations: 4 kB / 420.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.4058, allocations: 4 kB / 420.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/0.4063, allocations: 92.08 kB / 420.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.001e-05/0.4063, allocations: 4 kB / 420.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.4067, allocations: 31.86 kB / 420.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.4068, allocations: 15.98 kB / 420.4 MB, free: 13.33 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.0002135/0.407, allocations: 141.7 kB / 420.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.4072, allocations: 23.8 kB / 420.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005354/0.4077, allocations: 195.1 kB / 420.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.4078, allocations: 7.984 kB / 420.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.4078, allocations: 3.938 kB / 420.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.4078, allocations: 4 kB / 420.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.4096, allocations: 0.7572 MB / 421.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.4096, allocations: 4 kB / 421.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.4101, allocations: 79.81 kB / 421.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.4101, allocations: 4 kB / 421.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.4101, allocations: 12.16 kB / 421.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.4101, allocations: 7.984 kB / 421.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4101, allocations: 0 / 421.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.4118, allocations: 0.7045 MB / 422.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.4119, allocations: 128.8 kB / 422.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.412, allocations: 12 kB / 422.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.4123, allocations: 15.98 kB / 422.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.4124, allocations: 31.91 kB / 422.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.4125, allocations: 11.98 kB / 422.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.591e-05/0.4125, allocations: 99.33 kB / 422.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4125, allocations: 7.938 kB / 422.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003446/0.416, allocations: 0.937 MB / 423.6 MB, free: 10.02 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.005507/0.4215, allocations: 1.236 MB / 424.8 MB, free: 8.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.4227, allocations: 345.7 kB / 425.1 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4228, allocations: 4 kB / 425.1 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005111/0.4233, allocations: 179.7 kB / 425.3 MB, free: 8.359 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/0.4241, allocations: 100.9 kB / 425.4 MB, free: 8.262 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.4257, allocations: 0.761 MB / 426.2 MB, free: 7.457 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.4261, allocations: 0.7301 MB / 426.9 MB, free: 6.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.4263, allocations: 51.34 kB / 427 MB, free: 6.652 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4263, allocations: 0 / 427 MB, free: 6.652 MB / 334.1 MB Notification: Performance of Templates: time 0.03237/0.4587, allocations: 19.72 MB / 446.7 MB, free: 2.918 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/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