Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.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) 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(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 181.5 kB / 17.36 MB, free: 4.191 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.437/1.437, allocations: 205.6 MB / 223.7 MB, free: 8.926 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.0008215/0.0008219, allocations: 90.61 kB / 272.1 MB, free: 8.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003255, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2432, allocations: 47.57 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.4606/0.7039, allocations: 225.4 MB / 0.5879 GB, free: 15.22 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01957/0.7235, allocations: 19.64 MB / 0.6071 GB, free: 4.828 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001827/0.7254, allocations: 25.03 kB / 0.6071 GB, free: 4.816 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.7274, allocations: 418.7 kB / 0.6075 GB, free: 4.598 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0118/0.7393, allocations: 3.174 MB / 0.6106 GB, free: 2.887 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007778/0.7471, allocations: 2.449 MB / 0.613 GB, free: 1.312 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004303/0.7514, allocations: 3.776 MB / 0.6167 GB, free: 14.41 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.7529, allocations: 0.6649 MB / 0.6173 GB, free: 13.88 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0097/0.7626, allocations: 2.83 MB / 0.6201 GB, free: 11.78 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002462/0.7651, allocations: 1.083 MB / 0.6211 GB, free: 10.91 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004766/0.7656, allocations: 60 kB / 0.6212 GB, free: 10.85 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01333/0.7789, allocations: 6.71 MB / 0.6277 GB, free: 5.676 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009498/0.7799, allocations: 484.1 kB / 0.6282 GB, free: 5.305 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001591/0.7815, allocations: 0.6132 MB / 0.6288 GB, free: 4.82 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01413/0.7957, allocations: 4.982 MB / 0.6337 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.7958, allocations: 0 / 0.6337 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.7958, allocations: 0 / 0.6337 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.091e-05/0.7959, allocations: 0 / 0.6337 GB, free: 0.7383 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.005592/0.8015, allocations: 1.889 MB / 0.6355 GB, free: 14.88 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.8015, allocations: 12.03 kB / 0.6355 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006779/0.8022, allocations: 126.7 kB / 0.6357 GB, free: 14.74 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.8037, allocations: 0.6886 MB / 0.6363 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.8039, allocations: 136.2 kB / 0.6365 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000267/0.8042, allocations: 90.81 kB / 0.6365 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.8067, allocations: 1.457 MB / 0.638 GB, free: 12.87 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.8067, allocations: 4 kB / 0.638 GB, free: 12.86 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.8069, allocations: 38.77 kB / 0.638 GB, free: 12.85 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.807, allocations: 79.7 kB / 0.6381 GB, free: 12.78 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.8093, allocations: 1.46 MB / 0.6395 GB, free: 11.77 MB / 458.7 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.00902/0.8184, allocations: 6.364 MB / 0.6457 GB, free: 5.727 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.8202, allocations: 0.9934 MB / 0.6467 GB, free: 4.727 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007925/0.821, allocations: 0.5152 MB / 0.6472 GB, free: 4.211 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001761/0.8228, allocations: 2.06 MB / 0.6492 GB, free: 1.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.8228, allocations: 43.56 kB / 0.6492 GB, free: 1.68 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005554/0.8234, allocations: 107 kB / 0.6494 GB, free: 1.574 MB / 458.7 MB Notification: Performance of pre-optimization done (n=84): time 5.881e-06/0.8234, allocations: 0 / 0.6494 GB, free: 1.574 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.0159/0.8393, allocations: 4.962 MB / 0.6542 GB, free: 12.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.8394, allocations: 111.8 kB / 0.6543 GB, free: 12.44 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.8406, allocations: 0.7659 MB / 0.6551 GB, free: 11.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001478/0.8407, allocations: 57.64 kB / 0.6551 GB, free: 11.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/0.8411, allocations: 445 kB / 0.6555 GB, free: 11.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/0.8414, allocations: 344.9 kB / 0.6559 GB, free: 10.83 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.085e-05/0.8415, allocations: 24 kB / 0.6559 GB, free: 10.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.8417, allocations: 402.7 kB / 0.6563 GB, free: 10.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.8429, allocations: 0.6155 MB / 0.6569 GB, free: 9.785 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.8444, allocations: 0.9615 MB / 0.6578 GB, free: 8.676 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002662/0.8471, allocations: 1.662 MB / 0.6594 GB, free: 6.859 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.178e-06/0.8471, allocations: 4 kB / 0.6594 GB, free: 6.855 MB / 474.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003897/0.851, allocations: 1.936 MB / 0.6613 GB, free: 4.902 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003745/0.8514, allocations: 459.1 kB / 0.6618 GB, free: 4.293 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.8514, allocations: 12 kB / 0.6618 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/0.853, allocations: 324.5 kB / 0.6621 GB, free: 3.961 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.8541, allocations: 279.5 kB / 0.6623 GB, free: 3.688 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.8556, allocations: 0.9182 MB / 0.6632 GB, free: 2.742 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.8568, allocations: 107.8 kB / 0.6633 GB, free: 2.637 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.857, allocations: 75.98 kB / 0.6634 GB, free: 2.562 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.857, allocations: 4 kB / 0.6634 GB, free: 2.559 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003442/0.8605, allocations: 1.812 MB / 0.6652 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.8605, allocations: 12 kB / 0.6652 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.862, allocations: 331.9 kB / 0.6655 GB, free: 408 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.863, allocations: 271.6 kB / 0.6658 GB, free: 136 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1888/1.052, allocations: 0.9178 MB / 0.6667 GB, free: 207.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/1.054, allocations: 103.2 kB / 0.6668 GB, free: 207.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004573/1.054, allocations: 78.92 kB / 0.6669 GB, free: 207.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (traceVolume.ind,traceSource.ind,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.001081/1.055, allocations: 428.6 kB / 0.6673 GB, free: 207 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004111/1.056, allocations: 95.25 kB / 0.6674 GB, free: 207 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004411/1.06, allocations: 1.927 MB / 0.6692 GB, free: 206.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/1.06, allocations: 17.27 kB / 0.6692 GB, free: 206.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.06, allocations: 2.312 kB / 0.6693 GB, free: 206.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/1.06, allocations: 3.656 kB / 0.6693 GB, free: 206.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005613/1.066, allocations: 3.05 MB / 0.6722 GB, free: 205.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.066, allocations: 1.375 kB / 0.6722 GB, free: 205.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008437/1.067, allocations: 186.5 kB / 0.6724 GB, free: 205.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00187/1.069, allocations: 398.6 kB / 0.6728 GB, free: 205.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/1.069, allocations: 41.91 kB / 0.6728 GB, free: 205.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/1.07, allocations: 0.8938 MB / 0.6737 GB, free: 204.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.07, allocations: 5.906 kB / 0.6737 GB, free: 204.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004339/1.074, allocations: 2.428 MB / 0.6761 GB, free: 203.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006831/1.075, allocations: 344.2 kB / 0.6764 GB, free: 203.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002679/1.075, allocations: 27.83 kB / 0.6764 GB, free: 203.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/1.076, allocations: 79.19 kB / 0.6765 GB, free: 203.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/1.077, allocations: 76.2 kB / 0.6766 GB, free: 203.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/1.077, allocations: 59.56 kB / 0.6766 GB, free: 203.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007365/1.077, allocations: 0.5607 MB / 0.6772 GB, free: 203 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.077, allocations: 0 / 0.6772 GB, free: 203 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003333/1.081, allocations: 1.17 MB / 0.6783 GB, free: 202.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1]) * 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 (99): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003176/1.084, allocations: 1.167 MB / 0.6795 GB, free: 202.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004544/1.089, allocations: 2.64 MB / 0.682 GB, free: 201.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.089, allocations: 4.375 kB / 0.6821 GB, free: 201.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/1.09, allocations: 0.7274 MB / 0.6828 GB, free: 200.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/1.092, allocations: 0.5383 MB / 0.6833 GB, free: 200.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/1.097, allocations: 3.009 MB / 0.6862 GB, free: 197.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005713/1.098, allocations: 1.12 MB / 0.6873 GB, free: 196.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002123/1.1, allocations: 0.6129 MB / 0.6879 GB, free: 196.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004003/1.1, allocations: 123.4 kB / 0.688 GB, free: 196 MB / 474.7 MB Notification: Performance of SimCode: time 8.82e-07/1.1, allocations: 0 / 0.688 GB, free: 196 MB / 474.7 MB Notification: Performance of Templates: time 0.04872/1.149, allocations: 40.29 MB / 0.7274 GB, free: 155.8 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/TraceSubstances/RoomCO2/RoomCO2.csv","../files/Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches