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.001562/0.001562, allocations: 196.9 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 226.5 MB / 245.4 MB, free: 6.523 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000776/0.0007759, allocations: 87.89 kB / 297.5 MB, free: 6.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002498/0.0002499, allocations: 8 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2444, allocations: 51.28 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.074/7.319, allocations: 3.553 GB / 3.953 GB, free: 88.45 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/7.319, allocations: 92.56 kB / 3.953 GB, free: 88.36 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004/9.323, allocations: 0.5253 GB / 4.479 GB, free: 50.33 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.152e-06/9.323, allocations: 3.594 kB / 4.479 GB, free: 50.33 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001025/9.323, allocations: 29.84 kB / 4.479 GB, free: 50.32 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.009999/9.333, allocations: 2.958 MB / 4.482 GB, free: 48.58 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/9.333, allocations: 14.03 kB / 4.482 GB, free: 48.58 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008126/9.334, allocations: 128.6 kB / 4.482 GB, free: 48.53 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/9.336, allocations: 0.7408 MB / 4.482 GB, free: 48.22 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/9.336, allocations: 133.1 kB / 4.483 GB, free: 48.15 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003514/9.336, allocations: 85 kB / 4.483 GB, free: 48.15 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002733/9.339, allocations: 1.451 MB / 4.484 GB, free: 47.91 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.873e-05/9.339, allocations: 11.06 kB / 4.484 GB, free: 47.91 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/9.339, allocations: 40.77 kB / 4.484 GB, free: 47.91 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.838e-05/9.339, allocations: 65.19 kB / 4.484 GB, free: 47.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/9.342, allocations: 1.441 MB / 4.486 GB, free: 47.88 MB / 474.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.008119/9.35, allocations: 6.024 MB / 4.491 GB, free: 44.84 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/9.352, allocations: 0.9691 MB / 4.492 GB, free: 44.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007229/9.352, allocations: 0.5162 MB / 4.493 GB, free: 44.79 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/9.354, allocations: 1.804 MB / 4.495 GB, free: 42.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/9.354, allocations: 48.12 kB / 4.495 GB, free: 42.79 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006148/9.354, allocations: 109.3 kB / 4.495 GB, free: 42.73 MB / 474.7 MB Notification: Performance of pre-optimization done (n=84): time 5.31e-06/9.354, allocations: 3.938 kB / 4.495 GB, free: 42.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.01553/9.37, allocations: 5.123 MB / 4.5 GB, free: 42.13 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/9.37, allocations: 122.3 kB / 4.5 GB, free: 42 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/9.371, allocations: 0.7707 MB / 4.501 GB, free: 41.86 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001693/9.371, allocations: 49.36 kB / 4.501 GB, free: 41.83 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002958/9.371, allocations: 447.8 kB / 4.501 GB, free: 41.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000269/9.372, allocations: 339.5 kB / 4.501 GB, free: 41.39 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-05/9.372, allocations: 25.84 kB / 4.501 GB, free: 41.39 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/9.372, allocations: 404.6 kB / 4.502 GB, free: 41.08 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/9.373, allocations: 0.6133 MB / 4.502 GB, free: 41.07 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/9.374, allocations: 0.9451 MB / 4.503 GB, free: 40.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002497/9.377, allocations: 1.635 MB / 4.505 GB, free: 40.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/9.377, allocations: 1.781 kB / 4.505 GB, free: 40.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003941/9.381, allocations: 1.908 MB / 4.507 GB, free: 39.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003923/9.381, allocations: 445.1 kB / 4.507 GB, free: 39.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/9.381, allocations: 9.031 kB / 4.507 GB, free: 39.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/9.383, allocations: 332 kB / 4.508 GB, free: 39.15 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/9.384, allocations: 274.7 kB / 4.508 GB, free: 39.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/9.385, allocations: 0.9257 MB / 4.509 GB, free: 38.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/9.387, allocations: 111.2 kB / 4.509 GB, free: 38.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/9.387, allocations: 69.27 kB / 4.509 GB, free: 38.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/9.387, allocations: 7.062 kB / 4.509 GB, free: 38.44 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003287/9.39, allocations: 1.791 MB / 4.511 GB, free: 37.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/9.39, allocations: 10.88 kB / 4.511 GB, free: 37.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/9.391, allocations: 332.5 kB / 4.511 GB, free: 37.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009838/9.392, allocations: 273.9 kB / 4.511 GB, free: 37.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/9.394, allocations: 0.9282 MB / 4.512 GB, free: 37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/9.395, allocations: 110.3 kB / 4.512 GB, free: 36.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/9.395, allocations: 78.62 kB / 4.512 GB, free: 36.96 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 () * Number of clocked 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.0007444/9.396, allocations: 411.5 kB / 4.513 GB, free: 36.67 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/9.396, allocations: 97.19 kB / 4.513 GB, free: 36.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003653/9.4, allocations: 1.957 MB / 4.515 GB, free: 35.88 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/9.4, allocations: 12.03 kB / 4.515 GB, free: 35.88 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/9.4, allocations: 6.688 kB / 4.515 GB, free: 35.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/9.4, allocations: 3.75 kB / 4.515 GB, free: 35.88 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005043/9.405, allocations: 3.094 MB / 4.518 GB, free: 34.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/9.405, allocations: 2.625 kB / 4.518 GB, free: 34.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008315/9.406, allocations: 177 kB / 4.518 GB, free: 34.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001684/9.407, allocations: 395.4 kB / 4.518 GB, free: 34.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.915e-05/9.408, allocations: 34.48 kB / 4.518 GB, free: 34.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/9.409, allocations: 0.9075 MB / 4.519 GB, free: 33.73 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/9.409, allocations: 0 / 4.519 GB, free: 33.73 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003669/9.412, allocations: 2.381 MB / 4.522 GB, free: 32.71 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006639/9.413, allocations: 325.4 kB / 4.522 GB, free: 32.49 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002972/9.413, allocations: 28.11 kB / 4.522 GB, free: 32.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/9.414, allocations: 87.36 kB / 4.522 GB, free: 32.46 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/9.415, allocations: 76.3 kB / 4.522 GB, free: 32.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/9.415, allocations: 55.7 kB / 4.522 GB, free: 32.43 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007347/9.415, allocations: 0.5448 MB / 4.523 GB, free: 32.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/9.415, allocations: 0 / 4.523 GB, free: 32.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004584/9.42, allocations: 1.329 MB / 4.524 GB, free: 31.22 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 () * 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.004864/9.425, allocations: 1.923 MB / 4.526 GB, free: 29.91 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004465/9.429, allocations: 2.6 MB / 4.528 GB, free: 27.61 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/9.429, allocations: 6.625 kB / 4.528 GB, free: 27.61 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/9.431, allocations: 0.7195 MB / 4.529 GB, free: 26.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/9.433, allocations: 0.5067 MB / 4.53 GB, free: 26.63 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/9.438, allocations: 2.913 MB / 4.532 GB, free: 24.06 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006003/9.439, allocations: 1.124 MB / 4.534 GB, free: 23.05 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002089/9.441, allocations: 0.6926 MB / 4.534 GB, free: 22.59 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/9.441, allocations: 115.4 kB / 4.534 GB, free: 22.49 MB / 474.7 MB Notification: Performance of SimCode: time 8.21e-07/9.441, allocations: 0 / 4.534 GB, free: 22.49 MB / 474.7 MB Notification: Performance of Templates: time 0.3099/9.751, allocations: 48.88 MB / 4.582 GB, free: 64.85 MB / 490.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/jenkins1/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