Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.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) 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(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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 92.53 kB / 16.93 MB, free: 5.977 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.001139/0.001139, allocations: 176.2 kB / 17.82 MB, free: 5.652 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.539/1.539, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.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.0004965/0.0004967, allocations: 8 kB / 280.7 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1063, allocations: 47.58 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.4098/0.5162, allocations: 165.9 MB / 494.3 MB, free: 2.641 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01793/0.5342, allocations: 13.41 MB / 0.4958 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.5354, allocations: 23.81 kB / 0.4958 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.5366, allocations: 374.2 kB / 0.4962 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008333/0.5449, allocations: 2.727 MB / 0.4988 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005742/0.5507, allocations: 1.902 MB / 0.5007 GB, free: 176 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002713/0.5534, allocations: 1.427 MB / 0.5021 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.5544, allocations: 0.6509 MB / 0.5027 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005066/0.5595, allocations: 2.097 MB / 0.5047 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/0.5611, allocations: 0.7518 MB / 0.5055 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.5613, allocations: 56 kB / 0.5055 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/0.5714, allocations: 5.387 MB / 0.5108 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008349/0.5722, allocations: 454.9 kB / 0.5112 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000451/0.5727, allocations: 245.1 kB / 0.5115 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006746/0.5794, allocations: 2.982 MB / 0.5144 GB, free: 2.094 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5795, allocations: 0 / 0.5144 GB, free: 2.094 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5795, allocations: 0 / 0.5144 GB, free: 2.094 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.5795, allocations: 0 / 0.5144 GB, free: 2.094 MB / 414.1 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.004486/0.584, allocations: 1.835 MB / 0.5162 GB, free: 196 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.584, allocations: 8.031 kB / 0.5162 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000413/0.5845, allocations: 130.7 kB / 0.5163 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.5857, allocations: 0.666 MB / 0.517 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.5859, allocations: 141.4 kB / 0.5171 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.586, allocations: 91.98 kB / 0.5172 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.5881, allocations: 1.444 MB / 0.5186 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.5882, allocations: 3.938 kB / 0.5186 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.5883, allocations: 40.86 kB / 0.5186 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.633e-05/0.5884, allocations: 73.95 kB / 0.5187 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.5905, allocations: 1.468 MB / 0.5201 GB, free: 12.02 MB / 430.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.008283/0.5988, allocations: 6.38 MB / 0.5264 GB, free: 5.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.6005, allocations: 0.9916 MB / 0.5273 GB, free: 4.211 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/0.6017, allocations: 1.726 MB / 0.529 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.6018, allocations: 54.55 kB / 0.5291 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004643/0.6022, allocations: 103 kB / 0.5292 GB, free: 1.953 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 3.357e-06/0.6023, allocations: 4 kB / 0.5292 GB, free: 1.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.1944/0.7966, allocations: 4.947 MB / 0.534 GB, free: 162.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.7967, allocations: 113.6 kB / 0.5341 GB, free: 162 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.7979, allocations: 0.7712 MB / 0.5349 GB, free: 161.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.7981, allocations: 48.14 kB / 0.5349 GB, free: 161.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.7984, allocations: 450.6 kB / 0.5353 GB, free: 161.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/0.7987, allocations: 346.3 kB / 0.5357 GB, free: 161.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.669e-05/0.7987, allocations: 26.19 kB / 0.5357 GB, free: 161.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.7989, allocations: 399.8 kB / 0.5361 GB, free: 160.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.8001, allocations: 0.611 MB / 0.5367 GB, free: 160.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.8016, allocations: 0.9518 MB / 0.5376 GB, free: 160.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.803, allocations: 0.7896 MB / 0.5384 GB, free: 159.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.803, allocations: 3.562 kB / 0.5384 GB, free: 159.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004129/0.8072, allocations: 1.923 MB / 0.5403 GB, free: 159 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007686/0.808, allocations: 4.068 MB / 0.5442 GB, free: 154.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.808, allocations: 11.22 kB / 0.5442 GB, free: 154.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/0.8097, allocations: 327.8 kB / 0.5445 GB, free: 154.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.8109, allocations: 278.8 kB / 0.5448 GB, free: 154.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.8125, allocations: 0.9328 MB / 0.5457 GB, free: 154 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.8141, allocations: 112.5 kB / 0.5458 GB, free: 153.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.8143, allocations: 74.58 kB / 0.5459 GB, free: 153.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.8143, allocations: 3.375 kB / 0.5459 GB, free: 153.9 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004083/0.8184, allocations: 1.812 MB / 0.5477 GB, free: 153.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.8184, allocations: 10.12 kB / 0.5477 GB, free: 153.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.8199, allocations: 327.5 kB / 0.548 GB, free: 153.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.821, allocations: 280.5 kB / 0.5483 GB, free: 153.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.8224, allocations: 0.9151 MB / 0.5492 GB, free: 152.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.8237, allocations: 105.4 kB / 0.5493 GB, free: 152.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.8238, allocations: 83.34 kB / 0.5493 GB, free: 152.5 MB / 430.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007947/0.8246, allocations: 413.2 kB / 0.5497 GB, free: 152.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.8248, allocations: 102.2 kB / 0.5498 GB, free: 152.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003347/0.8282, allocations: 1.947 MB / 0.5517 GB, free: 151.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.8282, allocations: 7.906 kB / 0.5517 GB, free: 151.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.8282, allocations: 0 / 0.5517 GB, free: 151.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.8282, allocations: 7.078 kB / 0.5517 GB, free: 151.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004713/0.833, allocations: 3.05 MB / 0.5547 GB, free: 149.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.833, allocations: 4.156 kB / 0.5547 GB, free: 149.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007837/0.8338, allocations: 188.8 kB / 0.5549 GB, free: 149.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001833/0.8356, allocations: 391 kB / 0.5553 GB, free: 149.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-05/0.8358, allocations: 46.39 kB / 0.5553 GB, free: 149.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.8369, allocations: 0.8961 MB / 0.5562 GB, free: 148.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.837, allocations: 1.297 kB / 0.5562 GB, free: 148.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004107/0.8411, allocations: 2.499 MB / 0.5586 GB, free: 147.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007602/0.8419, allocations: 344.1 kB / 0.559 GB, free: 147.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.842, allocations: 31.3 kB / 0.559 GB, free: 147.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009214/0.843, allocations: 82.88 kB / 0.5591 GB, free: 147.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.8431, allocations: 67.03 kB / 0.5591 GB, free: 147 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.8432, allocations: 62.89 kB / 0.5592 GB, free: 147 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006625/0.8439, allocations: 0.5458 MB / 0.5597 GB, free: 146.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.463e-06/0.8439, allocations: 4 kB / 0.5597 GB, free: 146.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003521/0.8474, allocations: 1.163 MB / 0.5609 GB, free: 145.4 MB / 430.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002668/0.8501, allocations: 1.122 MB / 0.562 GB, free: 144.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00437/0.8545, allocations: 2.63 MB / 0.5645 GB, free: 141.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.8545, allocations: 4.438 kB / 0.5645 GB, free: 141.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.8558, allocations: 0.7408 MB / 0.5653 GB, free: 141 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/0.8582, allocations: 497.8 kB / 0.5657 GB, free: 140.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004748/0.863, allocations: 2.917 MB / 0.5686 GB, free: 137.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.8635, allocations: 1.143 MB / 0.5697 GB, free: 136.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002034/0.8655, allocations: 0.6015 MB / 0.5703 GB, free: 135.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/0.8659, allocations: 119.4 kB / 0.5704 GB, free: 135.7 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.8659, allocations: 0 / 0.5704 GB, free: 135.7 MB / 430.1 MB Notification: Performance of Templates: time 0.04623/0.9121, allocations: 38.47 MB / 0.608 GB, free: 97.21 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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