Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 106.8 kB / 16.41 MB, free: 6.031 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.00141/0.00141, allocations: 187.1 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2347/0.2347, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.91 kB / 441.8 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1125, allocations: 57.79 MB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4101/0.5227, allocations: 152.2 MB / 0.6365 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.5243, allocations: 1.211 MB / 0.6377 GB, free: 1.328 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.5243, allocations: 0 / 0.6377 GB, free: 1.328 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.5246, allocations: 40.8 kB / 0.6377 GB, free: 1.289 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.5269, allocations: 0.8864 MB / 0.6386 GB, free: 436 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.709e-06/0.5269, allocations: 0 / 0.6386 GB, free: 436 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.527, allocations: 47.27 kB / 0.6386 GB, free: 392 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.5271, allocations: 3.984 kB / 0.6386 GB, free: 388 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.807e-05/0.5271, allocations: 23.86 kB / 0.6387 GB, free: 364 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.596e-05/0.5272, allocations: 15.97 kB / 0.6387 GB, free: 348 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.114e-06/0.5272, allocations: 4 kB / 0.6387 GB, free: 344 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/0.5296, allocations: 1.626 MB / 0.6403 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.169e-05/0.5297, allocations: 11.92 kB / 0.6403 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.5297, allocations: 15.94 kB / 0.6403 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.5308, allocations: 0.7748 MB / 0.6411 GB, free: 13.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5308, allocations: 4 kB / 0.6411 GB, free: 13.9 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5308, allocations: 0 / 0.6411 GB, free: 13.9 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.5308, allocations: 0 / 0.6411 GB, free: 13.9 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006071/0.5314, allocations: 459.1 kB / 0.6415 GB, free: 13.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.5315, allocations: 11.89 kB / 0.6415 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.5315, allocations: 8.922 kB / 0.6415 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.292e-05/0.5316, allocations: 172.3 kB / 0.6417 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.5316, allocations: 3.938 kB / 0.6417 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.5317, allocations: 7.984 kB / 0.6417 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.5318, allocations: 69.67 kB / 0.6418 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.5318, allocations: 0 / 0.6418 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.5318, allocations: 0 / 0.6418 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.5319, allocations: 4 kB / 0.6418 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.166e-05/0.5319, allocations: 55.84 kB / 0.6418 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.5324, allocations: 296.8 kB / 0.6421 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.082e-05/0.5324, allocations: 34.56 kB / 0.6421 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.5325, allocations: 12.95 kB / 0.6421 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.5326, allocations: 93.09 kB / 0.6422 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.5326, allocations: 30.56 kB / 0.6423 GB, free: 12.49 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5326, allocations: 0 / 0.6423 GB, free: 12.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001505/0.5328, allocations: 61.52 kB / 0.6423 GB, free: 12.42 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.5328, allocations: 51.41 kB / 0.6424 GB, free: 12.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.348e-05/0.5329, allocations: 105.8 kB / 0.6425 GB, free: 12.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.5329, allocations: 25.7 kB / 0.6425 GB, free: 12.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.533, allocations: 98.97 kB / 0.6426 GB, free: 12.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.688e-06/0.533, allocations: 11.91 kB / 0.6426 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.533, allocations: 21.7 kB / 0.6426 GB, free: 12.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.5331, allocations: 310.8 kB / 0.6429 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.5332, allocations: 15.94 kB / 0.6429 GB, free: 11.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.429e-05/0.5332, allocations: 31.42 kB / 0.643 GB, free: 11.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.546e-05/0.5333, allocations: 43.38 kB / 0.643 GB, free: 11.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5333, allocations: 4 kB / 0.643 GB, free: 11.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.326e-05/0.5334, allocations: 69.61 kB / 0.6431 GB, free: 11.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.5334, allocations: 8 kB / 0.6431 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5334, allocations: 0 / 0.6431 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.5334, allocations: 3.938 kB / 0.6431 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.5335, allocations: 8 kB / 0.6431 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.5335, allocations: 7.984 kB / 0.6431 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.922e-05/0.5336, allocations: 7.844 kB / 0.6431 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.5336, allocations: 4 kB / 0.6431 GB, free: 11.54 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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 7.221e-05/0.5337, allocations: 125.8 kB / 0.6432 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.5337, allocations: 0 / 0.6432 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.5338, allocations: 65.11 kB / 0.6433 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.5338, allocations: 0 / 0.6433 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.5338, allocations: 0 / 0.6433 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.5339, allocations: 0 / 0.6433 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.534, allocations: 160.5 kB / 0.6434 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.534, allocations: 0 / 0.6434 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-05/0.534, allocations: 8 kB / 0.6435 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5341, allocations: 3.938 kB / 0.6435 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.5341, allocations: 11.88 kB / 0.6435 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5341, allocations: 0 / 0.6435 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5341, allocations: 3.938 kB / 0.6435 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.628e-05/0.5342, allocations: 139.5 kB / 0.6436 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.979e-05/0.5342, allocations: 85.02 kB / 0.6437 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.5343, allocations: 3.938 kB / 0.6437 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.572e-05/0.5343, allocations: 8 kB / 0.6437 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.5343, allocations: 0.5156 kB / 0.6437 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.5343, allocations: 0 / 0.6437 GB, free: 10.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.293e-05/0.5344, allocations: 87.25 kB / 0.6438 GB, free: 10.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5344, allocations: 0 / 0.6438 GB, free: 10.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000365/0.5348, allocations: 95.92 kB / 0.6439 GB, free: 10.66 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0005136/0.5353, allocations: 247 kB / 0.6441 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.5354, allocations: 35.92 kB / 0.6441 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5354, allocations: 0 / 0.6441 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.65e-05/0.5354, allocations: 11.94 kB / 0.6442 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.5357, allocations: 2.656 kB / 0.6442 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002641/0.5359, allocations: 132.3 kB / 0.6443 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.5362, allocations: 0.6816 MB / 0.6449 GB, free: 9.496 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.7e-05/0.5362, allocations: 10.77 kB / 0.645 GB, free: 9.488 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.5363, allocations: 19.42 kB / 0.645 GB, free: 9.469 MB / 494.1 MB Notification: Performance of SimCode: time 1.503e-06/0.5363, allocations: 0 / 0.645 GB, free: 9.469 MB / 494.1 MB Notification: Performance of Templates: time 0.0051/0.5414, allocations: 2.681 MB / 0.6476 GB, free: 6.797 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches