Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(Modelica): time 1.897/1.897, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004703, allocations: 12 kB / 264.6 MB, free: 12.9 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0976/0.09809, allocations: 44.5 MB / 309.1 MB, free: 336 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.5029/0.6011, allocations: 121.8 MB / 430.8 MB, free: 13.97 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003452/0.6046, allocations: 1.492 MB / 432.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004176/0.605, allocations: 2.906 kB / 432.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008613/0.6059, allocations: 143.8 kB / 432.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007583/0.6067, allocations: 220.5 kB / 432.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.6082, allocations: 344.6 kB / 433 MB, free: 12.22 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009964/0.6093, allocations: 476.7 kB / 433.5 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.6095, allocations: 70.67 kB / 433.6 MB, free: 11.9 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000934/0.6105, allocations: 311.6 kB / 433.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005167/0.611, allocations: 221.6 kB / 434.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.748e-05/0.6111, allocations: 13.09 kB / 434.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004291/0.6116, allocations: 86.22 kB / 434.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.6117, allocations: 71.91 kB / 434.3 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.6119, allocations: 92.11 kB / 434.3 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006747/0.6126, allocations: 391.5 kB / 434.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6126, allocations: 0 / 434.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6126, allocations: 0 / 434.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.6126, allocations: 3.25 kB / 434.7 MB, free: 11.2 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001065/0.6137, allocations: 0.5164 MB / 435.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.6138, allocations: 14.09 kB / 435.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003824/0.6141, allocations: 43.05 kB / 435.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005083/0.6147, allocations: 279.1 kB / 435.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.6147, allocations: 18.84 kB / 435.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.6148, allocations: 23.69 kB / 435.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007109/0.6155, allocations: 289.8 kB / 435.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.6156, allocations: 6.719 kB / 435.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.594e-05/0.6156, allocations: 11 kB / 435.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.6156, allocations: 7.312 kB / 435.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005036/0.6162, allocations: 208.4 kB / 436.1 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/0.6188, allocations: 1.289 MB / 437.4 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.6194, allocations: 183 kB / 437.6 MB, free: 8.777 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002197/0.6196, allocations: 180.7 kB / 437.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.6197, allocations: 33.53 kB / 437.8 MB, free: 8.535 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 2.926e-06/0.6197, allocations: 0 / 437.8 MB, free: 8.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.003808/0.6235, allocations: 1.043 MB / 438.9 MB, free: 7.742 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.6236, allocations: 57.73 kB / 438.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.624, allocations: 252.7 kB / 439.2 MB, free: 7.504 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.624, allocations: 32.92 kB / 439.2 MB, free: 7.469 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.6242, allocations: 181 kB / 439.4 MB, free: 7.301 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.6243, allocations: 92.84 kB / 439.5 MB, free: 7.219 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.6244, allocations: 14.81 kB / 439.5 MB, free: 7.207 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6245, allocations: 335.8 kB / 439.8 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.6248, allocations: 81.66 kB / 439.9 MB, free: 6.836 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.6251, allocations: 171.1 kB / 440 MB, free: 6.676 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.6254, allocations: 112.4 kB / 440.2 MB, free: 6.617 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.6254, allocations: 2.5 kB / 440.2 MB, free: 6.617 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001007/0.6264, allocations: 445.8 kB / 440.6 MB, free: 6.312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.6265, allocations: 7.188 kB / 440.6 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.6265, allocations: 2.781 kB / 440.6 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.6267, allocations: 42.33 kB / 440.6 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.6273, allocations: 79.55 kB / 440.7 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/0.63, allocations: 2.575 MB / 443.3 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/0.6305, allocations: 16 kB / 443.3 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/0.6306, allocations: 23.94 kB / 443.3 MB, free: 3.453 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002698/0.6309, allocations: 157.8 kB / 443.5 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.535e-05/0.631, allocations: 31.62 kB / 443.5 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008802/0.6319, allocations: 350.8 kB / 443.9 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008009/0.6327, allocations: 0.6226 MB / 444.5 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.6327, allocations: 0 / 444.5 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.6329, allocations: 100.8 kB / 444.6 MB, free: 2.035 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.79e-05/0.633, allocations: 8 kB / 444.6 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/0.6334, allocations: 12 kB / 444.6 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.6335, allocations: 19.97 kB / 444.6 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001169/0.6347, allocations: 334.2 kB / 444.9 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009296/0.6357, allocations: 0.4906 MB / 445.4 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002254/0.6359, allocations: 84 kB / 445.5 MB, free: 1.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002811/0.6362, allocations: 182 kB / 445.7 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of Backend: time 6.31e-07/0.6362, allocations: 0 / 445.7 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.6375, allocations: 0.4926 MB / 446.2 MB, free: 376 kB / 330.7 MB Notification: Performance of SimCode: time 0.002539/0.6401, allocations: 1.274 MB / 447.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of Templates: time 0.02153/0.6616, allocations: 5.248 MB / 452.7 MB, free: 9.82 MB / 346.7 MB