Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 106.6 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008346/0.0008348, allocations: 39.94 kB / 350 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2299, allocations: 49.43 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3772/0.6072, allocations: 149.3 MB / 0.5359 GB, free: 12.11 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.6087, allocations: 1.599 MB / 0.5375 GB, free: 11.99 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.6087, allocations: 2.5 kB / 0.5375 GB, free: 11.99 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.6091, allocations: 57.89 kB / 0.5375 GB, free: 11.98 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.6094, allocations: 144.3 kB / 0.5376 GB, free: 11.95 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.6118, allocations: 0.8859 MB / 0.5385 GB, free: 11.81 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004539/0.6122, allocations: 489.7 kB / 0.539 GB, free: 11.75 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.6123, allocations: 11.62 kB / 0.539 GB, free: 11.75 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.6125, allocations: 140.5 kB / 0.5391 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.6127, allocations: 130 kB / 0.5392 GB, free: 11.71 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.6128, allocations: 9.938 kB / 0.5393 GB, free: 11.71 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.6152, allocations: 1.651 MB / 0.5409 GB, free: 11.24 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.6153, allocations: 64.06 kB / 0.5409 GB, free: 11.21 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.6154, allocations: 90.53 kB / 0.541 GB, free: 11.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.617, allocations: 1.029 MB / 0.542 GB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.6171, allocations: 0 / 0.542 GB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.6171, allocations: 3.984 kB / 0.542 GB, free: 10.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.6171, allocations: 0 / 0.542 GB, free: 10.84 MB / 394.7 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.001684/0.6188, allocations: 0.6716 MB / 0.5427 GB, free: 10.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.6188, allocations: 11.22 kB / 0.5427 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.619, allocations: 18.34 kB / 0.5427 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.6192, allocations: 219.8 kB / 0.5429 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.6192, allocations: 11.27 kB / 0.5429 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.6193, allocations: 20.16 kB / 0.5429 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/0.6198, allocations: 261.8 kB / 0.5432 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.6198, allocations: 0 / 0.5432 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.6199, allocations: 9.156 kB / 0.5432 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.6199, allocations: 15.55 kB / 0.5432 GB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005971/0.6205, allocations: 266 kB / 0.5435 GB, free: 9.887 MB / 394.7 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.001309/0.6218, allocations: 0.7783 MB / 0.5442 GB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/0.6224, allocations: 220.8 kB / 0.5444 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.6228, allocations: 136.8 kB / 0.5446 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002961/0.6231, allocations: 358.7 kB / 0.5449 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.6231, allocations: 40.59 kB / 0.545 GB, free: 8.742 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 1.533e-06/0.6231, allocations: 0 / 0.545 GB, free: 8.742 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002409/0.6255, allocations: 0.6709 MB / 0.5456 GB, free: 8.551 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.6256, allocations: 81.98 kB / 0.5457 GB, free: 8.457 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.288e-05/0.6257, allocations: 126.9 kB / 0.5458 GB, free: 8.348 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.6257, allocations: 31.98 kB / 0.5458 GB, free: 8.316 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.6258, allocations: 103.7 kB / 0.5459 GB, free: 8.219 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.999e-05/0.6259, allocations: 127.9 kB / 0.5461 GB, free: 8.129 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.626, allocations: 73.56 kB / 0.5461 GB, free: 8.098 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.6261, allocations: 324.5 kB / 0.5464 GB, free: 7.781 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.6265, allocations: 140.7 kB / 0.5466 GB, free: 7.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/0.6269, allocations: 202 kB / 0.5468 GB, free: 7.645 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008258/0.6277, allocations: 366.8 kB / 0.5471 GB, free: 7.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6278, allocations: 2.094 kB / 0.5471 GB, free: 7.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009217/0.6287, allocations: 410.3 kB / 0.5475 GB, free: 7.406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.6287, allocations: 7.344 kB / 0.5475 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.6287, allocations: 2.719 kB / 0.5475 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.6288, allocations: 2.125 kB / 0.5475 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.6293, allocations: 85.56 kB / 0.5476 GB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.6293, allocations: 7.781 kB / 0.5476 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.6296, allocations: 35.31 kB / 0.5476 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.6297, allocations: 21.22 kB / 0.5477 GB, free: 7.363 MB / 394.7 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.0001419/0.6298, allocations: 137.8 kB / 0.5478 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.6299, allocations: 18.45 kB / 0.5478 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.6303, allocations: 181 kB / 0.548 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.6303, allocations: 2.406 kB / 0.548 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.6303, allocations: 2.031 kB / 0.548 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6303, allocations: 0 / 0.548 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.632, allocations: 0.7615 MB / 0.5487 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.632, allocations: 0 / 0.5487 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.6324, allocations: 81.16 kB / 0.5488 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.6324, allocations: 6.781 kB / 0.5488 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.6325, allocations: 12.02 kB / 0.5488 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.6325, allocations: 3.188 kB / 0.5488 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6325, allocations: 4.094 kB / 0.5488 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.6348, allocations: 1.708 MB / 0.5505 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.635, allocations: 116.5 kB / 0.5506 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.635, allocations: 7.938 kB / 0.5506 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.6354, allocations: 29.48 kB / 0.5507 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.6354, allocations: 26.03 kB / 0.5507 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.6355, allocations: 17.89 kB / 0.5507 GB, free: 5.242 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.699e-05/0.6355, allocations: 92.77 kB / 0.5508 GB, free: 5.164 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6355, allocations: 0 / 0.5508 GB, free: 5.164 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006554/0.6362, allocations: 149.5 kB / 0.5509 GB, free: 5.145 MB / 394.7 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 (38): * Single equations (assignments): 38 * 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.0004687/0.6367, allocations: 235.4 kB / 0.5512 GB, free: 5.004 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008439/0.6375, allocations: 342.2 kB / 0.5515 GB, free: 4.934 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6375, allocations: 0 / 0.5515 GB, free: 4.934 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003998/0.6379, allocations: 175 kB / 0.5516 GB, free: 4.898 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007302/0.6387, allocations: 102.1 kB / 0.5517 GB, free: 4.863 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.6403, allocations: 0.9089 MB / 0.5526 GB, free: 4.234 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.6406, allocations: 0.7441 MB / 0.5534 GB, free: 3.516 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004102/0.641, allocations: 81.17 kB / 0.5534 GB, free: 3.473 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.6411, allocations: 35.56 kB / 0.5535 GB, free: 3.457 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6412, allocations: 1.094 kB / 0.5535 GB, free: 3.457 MB / 394.7 MB Notification: Performance of Templates: time 0.009789/0.6509, allocations: 5.857 MB / 0.5592 GB, free: 0.5352 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches