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.001447/0.001447, allocations: 177.1 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008278/0.0008277, allocations: 70.72 kB / 262.4 MB, free: 1.699 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.992e-05/1.995e-05, allocations: 4 kB / 315.5 MB, free: 22.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08903/0.08907, allocations: 47.59 MB / 363.1 MB, free: 7.086 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.705/8.794, allocations: 3.611 GB / 3.966 GB, free: 56.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004065/8.795, allocations: 87.45 kB / 3.966 GB, free: 56.06 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.337/11.13, allocations: 0.5464 GB / 4.513 GB, free: 3.473 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.423e-06/11.13, allocations: 0 / 4.513 GB, free: 3.473 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.32e-05/11.13, allocations: 28.12 kB / 4.513 GB, free: 3.445 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.01376/11.15, allocations: 2.982 MB / 4.515 GB, free: 412 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.218e-05/11.15, allocations: 12.03 kB / 4.515 GB, free: 400 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008274/11.15, allocations: 126.7 kB / 4.516 GB, free: 272 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4056/11.55, allocations: 0.7215 MB / 4.516 GB, free: 35.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/11.55, allocations: 98.28 kB / 4.516 GB, free: 35.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/11.55, allocations: 55.31 kB / 4.516 GB, free: 35.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00286/11.56, allocations: 1.285 MB / 4.518 GB, free: 35.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002782/11.56, allocations: 1.304 MB / 4.519 GB, free: 34.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/11.56, allocations: 3.172 kB / 4.519 GB, free: 34.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/11.56, allocations: 3.516 kB / 4.519 GB, free: 34.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/11.56, allocations: 66.02 kB / 4.519 GB, free: 34.89 MB / 442.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.01038/11.57, allocations: 6.366 MB / 4.525 GB, free: 31.44 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/11.57, allocations: 0.8511 MB / 4.526 GB, free: 31.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008109/11.57, allocations: 463.2 kB / 4.527 GB, free: 31.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/11.57, allocations: 1.243 MB / 4.528 GB, free: 30.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/11.57, allocations: 47.47 kB / 4.528 GB, free: 30.04 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006268/11.57, allocations: 79.98 kB / 4.528 GB, free: 30.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 5.029e-06/11.57, allocations: 0 / 4.528 GB, free: 30.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=90): time 0.01494/11.59, allocations: 4.25 MB / 4.532 GB, free: 29.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/11.59, allocations: 113.2 kB / 4.532 GB, free: 29.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009959/11.59, allocations: 0.5524 MB / 4.533 GB, free: 29.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.361e-05/11.59, allocations: 27.52 kB / 4.533 GB, free: 29.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/11.59, allocations: 474.7 kB / 4.533 GB, free: 29.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/11.59, allocations: 308.8 kB / 4.533 GB, free: 28.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-05/11.59, allocations: 1.125 kB / 4.533 GB, free: 28.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001871/11.59, allocations: 391.1 kB / 4.534 GB, free: 28.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009312/11.59, allocations: 0.5349 MB / 4.534 GB, free: 28.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/11.59, allocations: 0.8603 MB / 4.535 GB, free: 28.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004757/11.6, allocations: 1.349 MB / 4.536 GB, free: 28.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/11.6, allocations: 3.406 kB / 4.536 GB, free: 28.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.006422/11.6, allocations: 2.284 MB / 4.539 GB, free: 28.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001285/11.6, allocations: 3.98 MB / 4.543 GB, free: 23.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/11.6, allocations: 13.03 kB / 4.543 GB, free: 23.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/11.61, allocations: 242 kB / 4.543 GB, free: 23.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/11.61, allocations: 276.4 kB / 4.543 GB, free: 23.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/11.61, allocations: 0.8391 MB / 4.544 GB, free: 23.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/11.61, allocations: 92.27 kB / 4.544 GB, free: 23.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/11.61, allocations: 76.25 kB / 4.544 GB, free: 23.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/11.61, allocations: 4.125 kB / 4.544 GB, free: 23.42 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006161/11.62, allocations: 2.137 MB / 4.546 GB, free: 23.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/11.62, allocations: 12.47 kB / 4.546 GB, free: 23.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008998/11.62, allocations: 245.2 kB / 4.546 GB, free: 23.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/11.62, allocations: 271.9 kB / 4.547 GB, free: 23.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000772/11.62, allocations: 0.842 MB / 4.548 GB, free: 22.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/11.62, allocations: 85.19 kB / 4.548 GB, free: 22.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/11.62, allocations: 75.02 kB / 4.548 GB, free: 22.84 MB / 442.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.0004582/11.62, allocations: 141.9 kB / 4.548 GB, free: 22.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/11.62, allocations: 83.72 kB / 4.548 GB, free: 22.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004249/11.63, allocations: 1.756 MB / 4.55 GB, free: 22.58 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/11.63, allocations: 9.781 kB / 4.55 GB, free: 22.58 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/11.63, allocations: 3.953 kB / 4.55 GB, free: 22.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/11.63, allocations: 9.438 kB / 4.55 GB, free: 22.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00823/11.63, allocations: 3.727 MB / 4.553 GB, free: 21.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/11.63, allocations: 2.219 kB / 4.553 GB, free: 21.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007559/11.63, allocations: 177.7 kB / 4.553 GB, free: 21.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001251/11.64, allocations: 324.5 kB / 4.554 GB, free: 21.78 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.021e-05/11.64, allocations: 31.14 kB / 4.554 GB, free: 21.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000727/11.64, allocations: 0.7993 MB / 4.555 GB, free: 21.26 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/11.64, allocations: 12.67 kB / 4.555 GB, free: 21.26 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003955/11.64, allocations: 2.427 MB / 4.557 GB, free: 20.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006276/11.64, allocations: 324.5 kB / 4.557 GB, free: 20.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/11.64, allocations: 15.3 kB / 4.557 GB, free: 20.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009289/11.64, allocations: 72 kB / 4.557 GB, free: 20.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/11.64, allocations: 68.86 kB / 4.557 GB, free: 20.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/11.64, allocations: 61.45 kB / 4.557 GB, free: 20.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005885/11.64, allocations: 417.2 kB / 4.558 GB, free: 20.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/11.64, allocations: 2.438 kB / 4.558 GB, free: 20.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005289/11.65, allocations: 1.256 MB / 4.559 GB, free: 20.49 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (94): * Single equations (assignments): 91 * 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.005012/11.65, allocations: 2.203 MB / 4.561 GB, free: 20.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003838/11.66, allocations: 2.365 MB / 4.564 GB, free: 20 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/11.66, allocations: 5.438 kB / 4.564 GB, free: 20 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/11.66, allocations: 0.6312 MB / 4.564 GB, free: 20 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/11.66, allocations: 382 kB / 4.565 GB, free: 20 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/11.66, allocations: 1.953 MB / 4.566 GB, free: 19.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005713/11.67, allocations: 1.136 MB / 4.568 GB, free: 18.94 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00198/11.67, allocations: 0.5919 MB / 4.568 GB, free: 18.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/11.67, allocations: 107.7 kB / 4.568 GB, free: 18.91 MB / 442.7 MB Notification: Performance of SimCode: time 1.302e-06/11.67, allocations: 5.656 kB / 4.568 GB, free: 18.91 MB / 442.7 MB Notification: Performance of Templates: time 0.05722/11.72, allocations: 39.29 MB / 4.607 GB, free: 16.82 MB / 442.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