Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001683/0.001683, allocations: 196.4 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 225.4 MB / 240.1 MB, free: 15.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008761/0.0008762, allocations: 92.84 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.322e-05/2.326e-05, allocations: 4 kB / 350.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08767/0.0877, allocations: 51.48 MB / 402 MB, free: 15.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.663/9.751, allocations: 3.546 GB / 3.938 GB, free: 119.2 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/9.752, allocations: 85.86 kB / 3.938 GB, free: 119.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605/12.36, allocations: 0.5283 GB / 4.467 GB, free: 38.33 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.204e-06/12.36, allocations: 0 / 4.467 GB, free: 38.33 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.599e-05/12.36, allocations: 29.64 kB / 4.467 GB, free: 38.33 MB / 474.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.01456/12.37, allocations: 2.895 MB / 4.47 GB, free: 37.15 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/12.37, allocations: 9.312 kB / 4.47 GB, free: 37.15 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000781/12.37, allocations: 131.1 kB / 4.47 GB, free: 37.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/12.37, allocations: 0.7193 MB / 4.47 GB, free: 36.86 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/12.37, allocations: 134.4 kB / 4.47 GB, free: 36.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/12.37, allocations: 91.62 kB / 4.471 GB, free: 36.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/12.38, allocations: 1.423 MB / 4.472 GB, free: 36.56 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/12.38, allocations: 5.781 kB / 4.472 GB, free: 36.56 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/12.38, allocations: 32.34 kB / 4.472 GB, free: 36.56 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.523e-05/12.38, allocations: 72.17 kB / 4.472 GB, free: 36.56 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/12.38, allocations: 1.418 MB / 4.473 GB, free: 36.55 MB / 474.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.008219/12.39, allocations: 6.048 MB / 4.479 GB, free: 33.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/12.39, allocations: 0.9463 MB / 4.48 GB, free: 33.59 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006719/12.39, allocations: 0.509 MB / 4.481 GB, free: 33.58 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/12.39, allocations: 1.802 MB / 4.483 GB, free: 31.61 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/12.39, allocations: 50.52 kB / 4.483 GB, free: 31.57 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006881/12.39, allocations: 105.8 kB / 4.483 GB, free: 31.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=84): time 3.747e-06/12.39, allocations: 0 / 4.483 GB, free: 31.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.01479/12.41, allocations: 4.404 MB / 4.487 GB, free: 31.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/12.41, allocations: 115.2 kB / 4.487 GB, free: 30.96 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/12.41, allocations: 0.687 MB / 4.488 GB, free: 30.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001536/12.41, allocations: 46.77 kB / 4.488 GB, free: 30.79 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/12.41, allocations: 444.9 kB / 4.488 GB, free: 30.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/12.41, allocations: 342.6 kB / 4.489 GB, free: 30.39 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.737e-05/12.41, allocations: 30.22 kB / 4.489 GB, free: 30.39 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/12.41, allocations: 401.5 kB / 4.489 GB, free: 30.08 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008164/12.41, allocations: 0.5525 MB / 4.489 GB, free: 30.08 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/12.41, allocations: 0.8977 MB / 4.49 GB, free: 29.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009913/12.41, allocations: 0.7307 MB / 4.491 GB, free: 29.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/12.41, allocations: 3.75 kB / 4.491 GB, free: 29.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003038/12.41, allocations: 1.77 MB / 4.493 GB, free: 29.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009854/12.42, allocations: 3.976 MB / 4.497 GB, free: 25.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/12.42, allocations: 9.594 kB / 4.497 GB, free: 25.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/12.42, allocations: 244.3 kB / 4.497 GB, free: 25.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/12.42, allocations: 271.3 kB / 4.497 GB, free: 25.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008528/12.42, allocations: 0.8131 MB / 4.498 GB, free: 24.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/12.42, allocations: 114.3 kB / 4.498 GB, free: 24.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/12.42, allocations: 72 kB / 4.498 GB, free: 24.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/12.42, allocations: 6.5 kB / 4.498 GB, free: 24.77 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002835/12.42, allocations: 1.66 MB / 4.5 GB, free: 24.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/12.42, allocations: 8.812 kB / 4.5 GB, free: 24.67 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008686/12.42, allocations: 249.3 kB / 4.5 GB, free: 24.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009907/12.42, allocations: 265.4 kB / 4.5 GB, free: 24.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007801/12.43, allocations: 0.8215 MB / 4.501 GB, free: 24.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/12.43, allocations: 109.1 kB / 4.501 GB, free: 24.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/12.43, allocations: 72.61 kB / 4.501 GB, free: 24.13 MB / 474.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.0004107/12.43, allocations: 179.8 kB / 4.501 GB, free: 24.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/12.43, allocations: 97.03 kB / 4.502 GB, free: 23.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003319/12.43, allocations: 1.837 MB / 4.503 GB, free: 23.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/12.43, allocations: 13.2 kB / 4.503 GB, free: 23.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/12.43, allocations: 8.391 kB / 4.503 GB, free: 23.84 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/12.43, allocations: 3.844 kB / 4.503 GB, free: 23.84 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00514/12.44, allocations: 2.967 MB / 4.506 GB, free: 23.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/12.44, allocations: 1.531 kB / 4.506 GB, free: 23.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000939/12.44, allocations: 186.8 kB / 4.506 GB, free: 23.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/12.44, allocations: 313.3 kB / 4.507 GB, free: 23.33 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/12.44, allocations: 37.19 kB / 4.507 GB, free: 23.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008175/12.44, allocations: 0.783 MB / 4.508 GB, free: 22.81 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/12.44, allocations: 1.188 kB / 4.508 GB, free: 22.81 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00386/12.44, allocations: 2.278 MB / 4.51 GB, free: 22.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009949/12.44, allocations: 334 kB / 4.51 GB, free: 22.26 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/12.44, allocations: 31.38 kB / 4.51 GB, free: 22.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009748/12.45, allocations: 89.02 kB / 4.51 GB, free: 22.25 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/12.45, allocations: 70.45 kB / 4.51 GB, free: 22.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/12.45, allocations: 59.95 kB / 4.51 GB, free: 22.25 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008885/12.45, allocations: 0.5359 MB / 4.511 GB, free: 22.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.8e-07/12.45, allocations: 0 / 4.511 GB, free: 22.15 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005439/12.45, allocations: 1.331 MB / 4.512 GB, free: 21.93 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.005884/12.46, allocations: 1.9 MB / 4.514 GB, free: 21.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00532/12.46, allocations: 2.49 MB / 4.516 GB, free: 21.25 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/12.46, allocations: 1.906 kB / 4.516 GB, free: 21.25 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001383/12.47, allocations: 0.6849 MB / 4.517 GB, free: 21.24 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002892/12.47, allocations: 497.3 kB / 4.518 GB, free: 21.23 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005168/12.47, allocations: 2.014 MB / 4.52 GB, free: 20.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007412/12.47, allocations: 1.143 MB / 4.521 GB, free: 20.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002816/12.48, allocations: 0.745 MB / 4.521 GB, free: 20.18 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/12.48, allocations: 104.2 kB / 4.521 GB, free: 20.17 MB / 474.7 MB Notification: Performance of SimCode: time 1.603e-06/12.48, allocations: 0 / 4.521 GB, free: 20.17 MB / 474.7 MB Notification: Performance of Templates: time 0.07522/12.55, allocations: 51.86 MB / 4.572 GB, free: 17.99 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.sim & ./Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/TraceSubstances/RoomCO2/RoomCO2.csv","../files/Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches