Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00135/0.00135, allocations: 170.5 kB / 16.07 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.6 MB / 222.4 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007643/0.0007645, allocations: 91.14 kB / 270.8 MB, free: 8.121 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3475/0.3475, allocations: 43.67 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003102, allocations: 11.94 kB / 432.3 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 58.85 MB / 491.2 MB, free: 9.828 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3947/0.5113, allocations: 141.7 MB / 0.618 GB, free: 8.098 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.5134, allocations: 1.954 MB / 0.6199 GB, free: 5.98 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.914e-05/0.5134, allocations: 0 / 0.6199 GB, free: 5.98 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.5138, allocations: 39.36 kB / 0.62 GB, free: 5.945 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.5158, allocations: 0.7438 MB / 0.6207 GB, free: 5.219 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.607e-06/0.5159, allocations: 0 / 0.6207 GB, free: 5.219 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.516, allocations: 91.72 kB / 0.6208 GB, free: 5.129 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.5161, allocations: 6.25 kB / 0.6208 GB, free: 5.125 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.44e-05/0.5161, allocations: 15.88 kB / 0.6208 GB, free: 5.109 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/0.5162, allocations: 23.91 kB / 0.6208 GB, free: 5.086 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.504e-06/0.5162, allocations: 4 kB / 0.6208 GB, free: 5.082 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/0.5189, allocations: 1.715 MB / 0.6225 GB, free: 3.363 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.925e-05/0.519, allocations: 11.98 kB / 0.6225 GB, free: 3.352 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.885e-05/0.519, allocations: 37.64 kB / 0.6226 GB, free: 3.309 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.5205, allocations: 0.8263 MB / 0.6234 GB, free: 2.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5205, allocations: 0 / 0.6234 GB, free: 2.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5205, allocations: 4 kB / 0.6234 GB, free: 2.477 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.5205, allocations: 0 / 0.6234 GB, free: 2.477 MB / 442.7 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.0007052/0.5212, allocations: 460.8 kB / 0.6238 GB, free: 1.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.5213, allocations: 8.031 kB / 0.6238 GB, free: 1.973 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.5213, allocations: 2.969 kB / 0.6238 GB, free: 1.973 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.5214, allocations: 168.3 kB / 0.624 GB, free: 1.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.5214, allocations: 11.86 kB / 0.624 GB, free: 1.758 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.5214, allocations: 4 kB / 0.624 GB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.5216, allocations: 65.67 kB / 0.624 GB, free: 1.684 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5216, allocations: 8 kB / 0.6241 GB, free: 1.676 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.5217, allocations: 0 / 0.6241 GB, free: 1.676 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.5217, allocations: 4 kB / 0.6241 GB, free: 1.672 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.988e-05/0.5218, allocations: 50.97 kB / 0.6241 GB, free: 1.625 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.5222, allocations: 297.5 kB / 0.6244 GB, free: 1.285 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.87e-05/0.5223, allocations: 38.56 kB / 0.6244 GB, free: 1.238 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.533e-05/0.5223, allocations: 8.922 kB / 0.6244 GB, free: 1.227 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.5225, allocations: 93.09 kB / 0.6245 GB, free: 1.117 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.5225, allocations: 34.59 kB / 0.6246 GB, free: 1.074 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.5225, allocations: 0 / 0.6246 GB, free: 1.074 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001849/0.5227, allocations: 61.66 kB / 0.6246 GB, free: 1.008 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.5228, allocations: 51.41 kB / 0.6247 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.665e-05/0.5228, allocations: 101.8 kB / 0.6248 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.5229, allocations: 29.7 kB / 0.6248 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/0.5229, allocations: 95.89 kB / 0.6249 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.838e-06/0.5229, allocations: 7.906 kB / 0.6249 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.5229, allocations: 0 / 0.6249 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.523, allocations: 314.8 kB / 0.6252 GB, free: 388 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.5231, allocations: 12 kB / 0.6252 GB, free: 376 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.614e-05/0.5231, allocations: 31.36 kB / 0.6252 GB, free: 332 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.569e-05/0.5232, allocations: 43.44 kB / 0.6253 GB, free: 276 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5232, allocations: 0 / 0.6253 GB, free: 276 kB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.21e-05/0.5233, allocations: 73.55 kB / 0.6253 GB, free: 196 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.5233, allocations: 4 kB / 0.6254 GB, free: 192 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.5233, allocations: 4.75 kB / 0.6254 GB, free: 188 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.5233, allocations: 8.031 kB / 0.6254 GB, free: 180 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.559e-05/0.5234, allocations: 8 kB / 0.6254 GB, free: 172 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.5234, allocations: 4 kB / 0.6254 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.373e-05/0.5235, allocations: 3.906 kB / 0.6254 GB, free: 164 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.5235, allocations: 11.92 kB / 0.6254 GB, free: 152 kB / 442.7 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 8.216e-05/0.5236, allocations: 121.7 kB / 0.6255 GB, free: 20 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.5236, allocations: 0 / 0.6255 GB, free: 20 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.5238, allocations: 66.64 kB / 0.6256 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5238, allocations: 4 kB / 0.6256 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5238, allocations: 3.938 kB / 0.6256 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5238, allocations: 0 / 0.6256 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.524, allocations: 157.7 kB / 0.6257 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.524, allocations: 0 / 0.6257 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.715e-05/0.524, allocations: 4 kB / 0.6257 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.524, allocations: 0 / 0.6257 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.524, allocations: 3.938 kB / 0.6257 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.524, allocations: 0 / 0.6257 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.524, allocations: 8 kB / 0.6257 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.5241, allocations: 143.5 kB / 0.6259 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.5242, allocations: 81.09 kB / 0.626 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.5242, allocations: 3.938 kB / 0.626 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.708e-05/0.5243, allocations: 3.906 kB / 0.626 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.5243, allocations: 4 kB / 0.626 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.5243, allocations: 0 / 0.626 GB, free: 15.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.89e-05/0.5244, allocations: 83.66 kB / 0.626 GB, free: 15.38 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5244, allocations: 0 / 0.626 GB, free: 15.38 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003721/0.5247, allocations: 95.92 kB / 0.6261 GB, free: 15.29 MB / 458.7 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.0005522/0.5253, allocations: 263 kB / 0.6264 GB, free: 15.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.132e-05/0.5254, allocations: 27.92 kB / 0.6264 GB, free: 15 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5254, allocations: 3.938 kB / 0.6264 GB, free: 14.99 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.548e-05/0.5254, allocations: 12 kB / 0.6264 GB, free: 14.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.5257, allocations: 4.188 kB / 0.6264 GB, free: 14.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.526, allocations: 162.7 kB / 0.6266 GB, free: 14.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.5262, allocations: 0.6809 MB / 0.6273 GB, free: 14.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.195e-05/0.5262, allocations: 13.55 kB / 0.6273 GB, free: 14.08 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.5263, allocations: 11.44 kB / 0.6273 GB, free: 14.07 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5263, allocations: 0 / 0.6273 GB, free: 14.07 MB / 458.7 MB Notification: Performance of Templates: time 0.005358/0.5316, allocations: 2.653 MB / 0.6299 GB, free: 11.43 MB / 458.7 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches