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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 172.8 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007864/0.0007865, allocations: 86.62 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.752e-05/4.766e-05, allocations: 4 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1253, allocations: 47.57 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.742/8.867, allocations: 3.612 GB / 3.973 GB, free: 58.57 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/8.867, allocations: 84.19 kB / 3.973 GB, free: 58.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.427/11.29, allocations: 0.5516 GB / 4.525 GB, free: 2.699 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.054e-06/11.29, allocations: 3.938 kB / 4.525 GB, free: 2.695 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.431e-05/11.29, allocations: 23.98 kB / 4.525 GB, free: 2.672 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.01506/11.31, allocations: 2.982 MB / 4.528 GB, free: 15.62 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.252e-05/11.31, allocations: 8.031 kB / 4.528 GB, free: 15.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/11.31, allocations: 130.7 kB / 4.528 GB, free: 15.48 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/11.31, allocations: 0.7245 MB / 4.529 GB, free: 14.72 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/11.31, allocations: 133.4 kB / 4.529 GB, free: 14.58 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002477/11.31, allocations: 87.98 kB / 4.529 GB, free: 14.49 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003054/11.32, allocations: 1.436 MB / 4.53 GB, free: 12.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/11.32, allocations: 0 / 4.53 GB, free: 12.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/11.32, allocations: 43.98 kB / 4.53 GB, free: 12.94 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.683e-05/11.32, allocations: 61.97 kB / 4.53 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/11.32, allocations: 1.421 MB / 4.532 GB, free: 11.46 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01042/11.33, allocations: 6.063 MB / 4.538 GB, free: 5.039 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/11.33, allocations: 0.9562 MB / 4.539 GB, free: 4.074 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008123/11.33, allocations: 0.5068 MB / 4.539 GB, free: 3.562 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001896/11.33, allocations: 1.746 MB / 4.541 GB, free: 1.449 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.096e-05/11.34, allocations: 51.34 kB / 4.541 GB, free: 1.391 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008426/11.34, allocations: 118.9 kB / 4.541 GB, free: 1.273 MB / 458.7 MB Notification: Performance of pre-optimization done (n=84): time 4.228e-06/11.34, allocations: 0 / 4.541 GB, free: 1.273 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.4319/11.77, allocations: 4.392 MB / 4.545 GB, free: 44.44 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/11.77, allocations: 117 kB / 4.545 GB, free: 44.31 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/11.77, allocations: 0.6816 MB / 4.546 GB, free: 44.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002498/11.77, allocations: 48.58 kB / 4.546 GB, free: 44.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004389/11.77, allocations: 446.7 kB / 4.547 GB, free: 43.96 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004075/11.77, allocations: 344 kB / 4.547 GB, free: 43.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-05/11.77, allocations: 26.09 kB / 4.547 GB, free: 43.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002256/11.77, allocations: 402 kB / 4.547 GB, free: 43.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/11.77, allocations: 0.5575 MB / 4.548 GB, free: 43.47 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/11.77, allocations: 0.8904 MB / 4.549 GB, free: 43.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/11.78, allocations: 0.7381 MB / 4.549 GB, free: 43.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/11.78, allocations: 4.688 kB / 4.549 GB, free: 43.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003732/11.78, allocations: 1.778 MB / 4.551 GB, free: 42.85 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001278/11.78, allocations: 3.973 MB / 4.555 GB, free: 38.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/11.78, allocations: 9.562 kB / 4.555 GB, free: 38.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/11.78, allocations: 248.5 kB / 4.555 GB, free: 38.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/11.78, allocations: 274.3 kB / 4.556 GB, free: 38.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000941/11.78, allocations: 0.8165 MB / 4.556 GB, free: 38.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/11.79, allocations: 117.4 kB / 4.556 GB, free: 38.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/11.79, allocations: 77.34 kB / 4.556 GB, free: 38.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/11.79, allocations: 3.906 kB / 4.557 GB, free: 38.18 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003362/11.79, allocations: 1.659 MB / 4.558 GB, free: 38.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/11.79, allocations: 15.09 kB / 4.558 GB, free: 38.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/11.79, allocations: 239.9 kB / 4.558 GB, free: 38.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/11.79, allocations: 274.9 kB / 4.559 GB, free: 38.08 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/11.79, allocations: 0.8193 MB / 4.559 GB, free: 37.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/11.79, allocations: 106.6 kB / 4.56 GB, free: 37.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002884/11.79, allocations: 77.86 kB / 4.56 GB, free: 37.55 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 144 * 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.0008457/11.8, allocations: 182.3 kB / 4.56 GB, free: 37.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004819/11.8, allocations: 100.1 kB / 4.56 GB, free: 37.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005068/11.8, allocations: 1.809 MB / 4.562 GB, free: 37.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.35e-05/11.8, allocations: 11.19 kB / 4.562 GB, free: 37.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/11.8, allocations: 3.188 kB / 4.562 GB, free: 37.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/11.8, allocations: 7.453 kB / 4.562 GB, free: 37.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006713/11.81, allocations: 2.869 MB / 4.564 GB, free: 36.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/11.81, allocations: 1.938 kB / 4.564 GB, free: 36.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009483/11.81, allocations: 183.3 kB / 4.565 GB, free: 36.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001582/11.81, allocations: 311.7 kB / 4.565 GB, free: 36.87 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/11.81, allocations: 46.84 kB / 4.565 GB, free: 36.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009499/11.81, allocations: 0.7774 MB / 4.566 GB, free: 36.35 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/11.81, allocations: 5.922 kB / 4.566 GB, free: 36.35 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004196/11.82, allocations: 2.273 MB / 4.568 GB, free: 35.97 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/11.82, allocations: 333.1 kB / 4.568 GB, free: 35.83 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/11.82, allocations: 32 kB / 4.568 GB, free: 35.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/11.82, allocations: 86.05 kB / 4.568 GB, free: 35.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/11.82, allocations: 67.86 kB / 4.568 GB, free: 35.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/11.82, allocations: 62.52 kB / 4.569 GB, free: 35.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009088/11.82, allocations: 0.5399 MB / 4.569 GB, free: 35.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/11.82, allocations: 2.438 kB / 4.569 GB, free: 35.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007195/11.83, allocations: 1.351 MB / 4.57 GB, free: 35.73 MB / 458.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 () * 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.01124/11.84, allocations: 2.02 MB / 4.572 GB, free: 35.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00782/11.85, allocations: 2.499 MB / 4.575 GB, free: 35.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/11.85, allocations: 448 / 4.575 GB, free: 35.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001864/11.85, allocations: 0.684 MB / 4.575 GB, free: 35.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004388/11.85, allocations: 0.4951 MB / 4.576 GB, free: 35.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00618/11.86, allocations: 2.006 MB / 4.578 GB, free: 34.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/11.86, allocations: 1.141 MB / 4.579 GB, free: 34.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003491/11.86, allocations: 0.6732 MB / 4.58 GB, free: 34.19 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000509/11.86, allocations: 121.9 kB / 4.58 GB, free: 34.18 MB / 458.7 MB Notification: Performance of SimCode: time 1.372e-06/11.86, allocations: 0 / 4.58 GB, free: 34.18 MB / 458.7 MB Notification: Performance of Templates: time 0.08269/11.95, allocations: 53.06 MB / 4.632 GB, free: 31.94 MB / 458.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