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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001219/0.001219, allocations: 103.7 kB / 17.63 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001534/0.001535, allocations: 204.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 64.05 kB / 306.9 MB, free: 0.6719 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1091, allocations: 50.54 MB / 357.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.6247/0.7339, allocations: 208.7 MB / 0.5529 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.7455, allocations: 10.41 MB / 0.5631 GB, free: 1.016 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009276/0.7465, allocations: 22.75 kB / 0.5631 GB, free: 1.016 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.7477, allocations: 473.5 kB / 0.5636 GB, free: 1.004 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007564/0.7553, allocations: 3.207 MB / 0.5667 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007053/0.7624, allocations: 2.704 MB / 0.5693 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002805/0.7652, allocations: 2.629 MB / 0.5719 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.7662, allocations: 0.7872 MB / 0.5727 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005501/0.7718, allocations: 2.825 MB / 0.5754 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/0.7738, allocations: 1.062 MB / 0.5765 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002881/0.7741, allocations: 119.6 kB / 0.5766 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01204/0.7861, allocations: 6.161 MB / 0.5826 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008893/0.787, allocations: 0.5352 MB / 0.5831 GB, free: 0.625 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.7882, allocations: 0.642 MB / 0.5837 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009641/0.7978, allocations: 4.663 MB / 0.5883 GB, free: 15.14 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7979, allocations: 0.7812 kB / 0.5883 GB, free: 15.14 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.7979, allocations: 3.938 kB / 0.5883 GB, free: 15.14 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.192e-05/0.7979, allocations: 0.8125 kB / 0.5883 GB, free: 15.14 MB / 462.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.004709/0.8026, allocations: 2.073 MB / 0.5903 GB, free: 13.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.8027, allocations: 9.062 kB / 0.5903 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004717/0.8031, allocations: 130 kB / 0.5905 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.8043, allocations: 0.6806 MB / 0.5911 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.8044, allocations: 140.1 kB / 0.5913 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.8046, allocations: 86.47 kB / 0.5913 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.8068, allocations: 1.448 MB / 0.5928 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.8068, allocations: 11.11 kB / 0.5928 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.807, allocations: 40.2 kB / 0.5928 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.291e-05/0.8071, allocations: 69.03 kB / 0.5929 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.8092, allocations: 1.464 MB / 0.5943 GB, free: 12.56 MB / 462.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.007849/0.8171, allocations: 6.35 MB / 0.6005 GB, free: 8.375 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.8188, allocations: 0.9691 MB / 0.6014 GB, free: 7.996 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007076/0.8195, allocations: 0.5184 MB / 0.602 GB, free: 7.664 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/0.8208, allocations: 1.805 MB / 0.6037 GB, free: 5.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.8209, allocations: 48.97 kB / 0.6038 GB, free: 5.473 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003718/0.8213, allocations: 98.83 kB / 0.6039 GB, free: 5.391 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 3.196e-06/0.8213, allocations: 0 / 0.6039 GB, free: 5.391 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.01535/0.8366, allocations: 4.786 MB / 0.6085 GB, free: 1.703 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.8367, allocations: 119.5 kB / 0.6086 GB, free: 1.566 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008779/0.8376, allocations: 0.77 MB / 0.6094 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.551e-05/0.8377, allocations: 45.77 kB / 0.6094 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/0.838, allocations: 457 kB / 0.6099 GB, free: 0.582 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.8382, allocations: 338 kB / 0.6102 GB, free: 260 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003904/0.8386, allocations: 257.5 kB / 0.6104 GB, free: 0 / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.8388, allocations: 406.7 kB / 0.6108 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.84, allocations: 0.6111 MB / 0.6114 GB, free: 14.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.8414, allocations: 0.9589 MB / 0.6124 GB, free: 13.88 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/0.8439, allocations: 1.655 MB / 0.614 GB, free: 12.11 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.844, allocations: 7.938 kB / 0.614 GB, free: 12.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00373/0.8477, allocations: 1.93 MB / 0.6159 GB, free: 10.21 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.854e-05/0.8478, allocations: 67.34 kB / 0.6159 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.8478, allocations: 12 kB / 0.616 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.8493, allocations: 316.1 kB / 0.6163 GB, free: 9.816 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.8503, allocations: 267.5 kB / 0.6165 GB, free: 9.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.8519, allocations: 0.905 MB / 0.6174 GB, free: 8.648 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.8529, allocations: 67.89 kB / 0.6175 GB, free: 8.582 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.8531, allocations: 63.98 kB / 0.6175 GB, free: 8.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001564/0.8547, allocations: 0.8499 MB / 0.6183 GB, free: 7.664 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001427/0.8561, allocations: 0.9482 MB / 0.6193 GB, free: 6.574 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002519/0.8586, allocations: 1.63 MB / 0.6209 GB, free: 4.836 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.432e-06/0.8586, allocations: 8 kB / 0.6209 GB, free: 4.828 MB / 478.1 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.003697/0.8623, allocations: 1.898 MB / 0.6227 GB, free: 2.965 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.646e-05/0.8624, allocations: 67.41 kB / 0.6228 GB, free: 2.887 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.8624, allocations: 12.59 kB / 0.6228 GB, free: 2.875 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.8639, allocations: 308.5 kB / 0.6231 GB, free: 2.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.8649, allocations: 270.7 kB / 0.6234 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.8665, allocations: 0.9123 MB / 0.6242 GB, free: 1.395 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.8676, allocations: 68.02 kB / 0.6243 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/0.8678, allocations: 71.97 kB / 0.6244 GB, free: 1.258 MB / 478.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000461/0.8683, allocations: 272 kB / 0.6246 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003469/0.8686, allocations: 98.81 kB / 0.6247 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003969/0.8726, allocations: 1.967 MB / 0.6267 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.8727, allocations: 8 kB / 0.6267 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.8727, allocations: 4 kB / 0.6267 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.8727, allocations: 3.984 kB / 0.6267 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005597/0.8783, allocations: 3.101 MB / 0.6297 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.8783, allocations: 0 / 0.6297 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008284/0.8791, allocations: 184.4 kB / 0.6299 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/0.8809, allocations: 380.3 kB / 0.6302 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.8811, allocations: 35.92 kB / 0.6303 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.8825, allocations: 0.8789 MB / 0.6311 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.8825, allocations: 4.031 kB / 0.6311 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004441/0.8869, allocations: 2.38 MB / 0.6335 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006924/0.8876, allocations: 327.7 kB / 0.6338 GB, free: 7.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002705/0.8879, allocations: 31.92 kB / 0.6338 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.889, allocations: 51.95 kB / 0.6338 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.8891, allocations: 85.3 kB / 0.6339 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.8893, allocations: 55.95 kB / 0.634 GB, free: 7.285 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008061/0.8901, allocations: 0.5693 MB / 0.6345 GB, free: 6.723 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.8901, allocations: 0 / 0.6345 GB, free: 6.723 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003553/0.8937, allocations: 1.144 MB / 0.6357 GB, free: 5.578 MB / 494.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00354/0.8972, allocations: 1.068 MB / 0.6367 GB, free: 4.594 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006038/0.9033, allocations: 2.941 MB / 0.6396 GB, free: 1.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.9033, allocations: 2.062 kB / 0.6396 GB, free: 1.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.9047, allocations: 0.7343 MB / 0.6403 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/0.9076, allocations: 0.5722 MB / 0.6408 GB, free: 424 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005626/0.9132, allocations: 2.517 MB / 0.6433 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007563/0.914, allocations: 1.131 MB / 0.6444 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002147/0.9162, allocations: 0.7023 MB / 0.6451 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.9166, allocations: 119.4 kB / 0.6452 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of SimCode: time 7.51e-07/0.9166, allocations: 3.938 kB / 0.6452 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.06159/0.9782, allocations: 40.32 MB / 0.6846 GB, free: 3.824 MB / 0.5294 GB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches