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.001475/0.001475, allocations: 106.9 kB / 17.06 MB, free: 6.02 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.001609/0.001609, allocations: 191 kB / 18 MB, free: 5.105 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.326/1.326, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009076/0.0009076, allocations: 47.94 kB / 351.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2386, allocations: 49.44 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1788/0.4175, allocations: 151.4 MB / 0.5392 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2243/0.6418, allocations: 1.586 MB / 0.5408 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.642, allocations: 1.25 kB / 0.5408 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004518/0.6425, allocations: 66.39 kB / 0.5408 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005102/0.6431, allocations: 154.5 kB / 0.541 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003115/0.6463, allocations: 1.029 MB / 0.542 GB, free: 1.672 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.6468, allocations: 325.8 kB / 0.5423 GB, free: 1.672 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.651e-05/0.6469, allocations: 13.89 kB / 0.5423 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000362/0.6472, allocations: 156.7 kB / 0.5424 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.6475, allocations: 123.1 kB / 0.5426 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.443e-05/0.6476, allocations: 12.34 kB / 0.5426 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002867/0.6505, allocations: 1.586 MB / 0.5441 GB, free: 1.652 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.6506, allocations: 68.38 kB / 0.5442 GB, free: 1.652 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.6508, allocations: 96.83 kB / 0.5443 GB, free: 1.652 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.6526, allocations: 0.9886 MB / 0.5452 GB, free: 1.605 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.6526, allocations: 1.906 kB / 0.5452 GB, free: 1.605 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6526, allocations: 0 / 0.5452 GB, free: 1.605 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.6526, allocations: 3.375 kB / 0.5453 GB, free: 1.605 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.00178/0.6544, allocations: 0.6727 MB / 0.5459 GB, free: 17.14 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.6544, allocations: 10.78 kB / 0.5459 GB, free: 17.14 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.6546, allocations: 22.62 kB / 0.5459 GB, free: 17.13 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.6549, allocations: 210.3 kB / 0.5461 GB, free: 16.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.6549, allocations: 15.98 kB / 0.5462 GB, free: 16.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.6549, allocations: 18.66 kB / 0.5462 GB, free: 16.92 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005199/0.6555, allocations: 266.4 kB / 0.5464 GB, free: 16.87 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.6555, allocations: 0.9375 kB / 0.5464 GB, free: 16.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.6555, allocations: 6.5 kB / 0.5464 GB, free: 16.87 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.6555, allocations: 5.75 kB / 0.5464 GB, free: 16.87 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005601/0.6561, allocations: 267 kB / 0.5467 GB, free: 16.87 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.001313/0.6574, allocations: 0.796 MB / 0.5475 GB, free: 16.37 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005523/0.658, allocations: 218.4 kB / 0.5477 GB, free: 16.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.6583, allocations: 134.5 kB / 0.5478 GB, free: 16.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003386/0.6586, allocations: 360.5 kB / 0.5482 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.6587, allocations: 42.3 kB / 0.5482 GB, free: 15.89 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 2.314e-06/0.6587, allocations: 0 / 0.5482 GB, free: 15.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002206/0.6609, allocations: 0.6729 MB / 0.5489 GB, free: 15.81 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.6609, allocations: 80.52 kB / 0.5489 GB, free: 15.72 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.636e-05/0.661, allocations: 122 kB / 0.549 GB, free: 15.62 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.6611, allocations: 34.98 kB / 0.5491 GB, free: 15.59 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.6611, allocations: 112.7 kB / 0.5492 GB, free: 15.49 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.893e-05/0.6612, allocations: 122.3 kB / 0.5493 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.6613, allocations: 69.94 kB / 0.5494 GB, free: 15.39 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.6614, allocations: 326.4 kB / 0.5497 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.6618, allocations: 136 kB / 0.5498 GB, free: 15.08 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.6621, allocations: 208.6 kB / 0.55 GB, free: 15 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006891/0.6628, allocations: 367.2 kB / 0.5504 GB, free: 14.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6628, allocations: 0 / 0.5504 GB, free: 14.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008325/0.6637, allocations: 406.6 kB / 0.5507 GB, free: 14.88 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.6637, allocations: 11.06 kB / 0.5508 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6637, allocations: 6 kB / 0.5508 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.6637, allocations: 5.031 kB / 0.5508 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004533/0.6642, allocations: 84.97 kB / 0.5508 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.6642, allocations: 2.531 kB / 0.5508 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.6645, allocations: 31.39 kB / 0.5509 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.6646, allocations: 22.5 kB / 0.5509 GB, free: 14.88 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.0001326/0.6647, allocations: 142.5 kB / 0.551 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/0.6648, allocations: 16.94 kB / 0.5511 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.6651, allocations: 179.1 kB / 0.5512 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6651, allocations: 3.188 kB / 0.5512 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.6651, allocations: 3.75 kB / 0.5512 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.6651, allocations: 2.812 kB / 0.5512 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.6666, allocations: 0.7585 MB / 0.552 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.6666, allocations: 4.938 kB / 0.552 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004217/0.667, allocations: 77.92 kB / 0.5521 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.6671, allocations: 6.625 kB / 0.5521 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.6671, allocations: 13.97 kB / 0.5521 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.6671, allocations: 5.875 kB / 0.5521 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6671, allocations: 6.469 kB / 0.5521 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.6683, allocations: 0.7049 MB / 0.5528 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.6684, allocations: 125.6 kB / 0.5529 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.6685, allocations: 11.91 kB / 0.5529 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.6688, allocations: 22.28 kB / 0.5529 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.6689, allocations: 26.33 kB / 0.553 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.6689, allocations: 16.61 kB / 0.553 GB, free: 13.97 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.258e-05/0.669, allocations: 97.22 kB / 0.5531 GB, free: 13.89 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.669, allocations: 0.8438 kB / 0.5531 GB, free: 13.89 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005461/0.6695, allocations: 139.3 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.0004194/0.67, allocations: 222.4 kB / 0.5534 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007962/0.6708, allocations: 352.8 kB / 0.5537 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.6708, allocations: 0.875 kB / 0.5537 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.6711, allocations: 184.1 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.0006523/0.6718, allocations: 90.44 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.001235/0.6731, allocations: 0.6057 MB / 0.5546 GB, free: 13.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.6734, allocations: 0.7348 MB / 0.5553 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002999/0.6737, allocations: 81.12 kB / 0.5554 GB, free: 12.79 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.6738, allocations: 32 kB / 0.5554 GB, free: 12.78 MB / 478.1 MB Notification: Performance of SimCode: time 2.51e-07/0.6738, allocations: 0.9688 kB / 0.5554 GB, free: 12.78 MB / 478.1 MB Notification: Performance of Templates: time 0.008762/0.6826, allocations: 5.951 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