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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 111.6 kB / 17.06 MB, free: 6 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.001165/0.001165, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.332/1.332, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 47.94 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.241, allocations: 49.43 MB / 400.7 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.153/0.3939, allocations: 151.4 MB / 0.5392 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2317/0.6257, allocations: 1.589 MB / 0.5408 GB, free: 1.684 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.6258, allocations: 1.75 kB / 0.5408 GB, free: 1.684 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.6262, allocations: 67.58 kB / 0.5408 GB, free: 1.684 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003951/0.6266, allocations: 152.4 kB / 0.541 GB, free: 1.684 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.6291, allocations: 1.025 MB / 0.542 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003911/0.6295, allocations: 332.6 kB / 0.5423 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.6295, allocations: 9.766 kB / 0.5423 GB, free: 1.664 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.6298, allocations: 154.8 kB / 0.5424 GB, free: 1.664 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.63, allocations: 122.6 kB / 0.5426 GB, free: 1.664 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.69e-05/0.6301, allocations: 15.94 kB / 0.5426 GB, free: 1.664 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002151/0.6322, allocations: 1.585 MB / 0.5441 GB, free: 1.648 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.648e-05/0.6323, allocations: 72.59 kB / 0.5442 GB, free: 1.648 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.6324, allocations: 91.34 kB / 0.5443 GB, free: 1.648 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.6336, allocations: 0.993 MB / 0.5452 GB, free: 1.598 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6336, allocations: 0 / 0.5452 GB, free: 1.598 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.6336, allocations: 0.8125 kB / 0.5452 GB, free: 1.598 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.6336, allocations: 0 / 0.5452 GB, free: 1.598 MB / 462.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.001559/0.6352, allocations: 0.6734 MB / 0.5459 GB, free: 17.13 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.6352, allocations: 8.938 kB / 0.5459 GB, free: 17.13 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.6354, allocations: 23.03 kB / 0.5459 GB, free: 17.12 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.6356, allocations: 211.8 kB / 0.5461 GB, free: 16.92 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.6356, allocations: 15.23 kB / 0.5462 GB, free: 16.92 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.6357, allocations: 20.44 kB / 0.5462 GB, free: 16.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000519/0.6362, allocations: 263.5 kB / 0.5464 GB, free: 16.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.6362, allocations: 6.875 kB / 0.5464 GB, free: 16.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.6363, allocations: 3.938 kB / 0.5464 GB, free: 16.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.6363, allocations: 15.45 kB / 0.5464 GB, free: 16.86 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005836/0.6369, allocations: 262 kB / 0.5467 GB, free: 16.86 MB / 478.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.001285/0.6382, allocations: 0.7948 MB / 0.5475 GB, free: 16.36 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005677/0.6388, allocations: 218 kB / 0.5477 GB, free: 16.31 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.6391, allocations: 134.8 kB / 0.5478 GB, free: 16.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003047/0.6394, allocations: 361 kB / 0.5482 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.6394, allocations: 37.16 kB / 0.5482 GB, free: 15.88 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.482e-06/0.6394, allocations: 1.875 kB / 0.5482 GB, free: 15.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002323/0.6417, allocations: 0.6687 MB / 0.5488 GB, free: 15.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.6418, allocations: 89.66 kB / 0.5489 GB, free: 15.71 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.6419, allocations: 122.6 kB / 0.549 GB, free: 15.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.6419, allocations: 30.3 kB / 0.5491 GB, free: 15.58 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.642, allocations: 107.1 kB / 0.5492 GB, free: 15.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/0.642, allocations: 130.3 kB / 0.5493 GB, free: 15.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.6422, allocations: 68.47 kB / 0.5494 GB, free: 15.39 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.6423, allocations: 321.3 kB / 0.5497 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.6426, allocations: 135.4 kB / 0.5498 GB, free: 15.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.643, allocations: 214.5 kB / 0.55 GB, free: 15 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007359/0.6438, allocations: 362.2 kB / 0.5504 GB, free: 14.92 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6438, allocations: 3.406 kB / 0.5504 GB, free: 14.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008849/0.6447, allocations: 412.8 kB / 0.5508 GB, free: 14.88 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.6447, allocations: 6.188 kB / 0.5508 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6447, allocations: 3.609 kB / 0.5508 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.6447, allocations: 5.406 kB / 0.5508 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.6452, allocations: 86.14 kB / 0.5508 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.6452, allocations: 2.562 kB / 0.5508 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.6456, allocations: 30.31 kB / 0.5509 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.6456, allocations: 17.41 kB / 0.5509 GB, free: 14.87 MB / 478.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.0001356/0.6457, allocations: 142.4 kB / 0.551 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.447e-05/0.6458, allocations: 19.03 kB / 0.551 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.6461, allocations: 177 kB / 0.5512 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.6462, allocations: 5.484 kB / 0.5512 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6462, allocations: 0 / 0.5512 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.6462, allocations: 10.33 kB / 0.5512 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.6477, allocations: 0.7556 MB / 0.552 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.6477, allocations: 3.781 kB / 0.552 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/0.6481, allocations: 84.53 kB / 0.5521 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.6482, allocations: 6.812 kB / 0.5521 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.6482, allocations: 10.41 kB / 0.5521 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.6482, allocations: 5.219 kB / 0.5521 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6482, allocations: 0.875 kB / 0.5521 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.6495, allocations: 0.7102 MB / 0.5528 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.6496, allocations: 127.5 kB / 0.5529 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.6496, allocations: 10.31 kB / 0.5529 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.65, allocations: 17.92 kB / 0.5529 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.65, allocations: 28.8 kB / 0.5529 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.6501, allocations: 17 kB / 0.553 GB, free: 13.97 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.611e-05/0.6501, allocations: 95.25 kB / 0.5531 GB, free: 13.89 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6501, allocations: 0 / 0.5531 GB, free: 13.89 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005292/0.6507, allocations: 143.6 kB / 0.5532 GB, free: 13.88 MB / 478.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 (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.0003854/0.6511, allocations: 223.4 kB / 0.5534 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008172/0.6519, allocations: 346.7 kB / 0.5537 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6519, allocations: 0 / 0.5537 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003931/0.6523, allocations: 183.5 kB / 0.5539 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/0.653, allocations: 95.78 kB / 0.554 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.6543, allocations: 0.6169 MB / 0.5546 GB, free: 13.49 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.6546, allocations: 0.7326 MB / 0.5553 GB, free: 12.79 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003127/0.6549, allocations: 78.28 kB / 0.5554 GB, free: 12.78 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.655, allocations: 38.06 kB / 0.5554 GB, free: 12.77 MB / 478.1 MB Notification: Performance of SimCode: time 2.41e-07/0.655, allocations: 0 / 0.5554 GB, free: 12.77 MB / 478.1 MB Notification: Performance of Templates: time 0.008273/0.6633, allocations: 5.957 MB / 0.5612 GB, free: 12.55 MB / 478.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches