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.001795/0.001795, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002641/0.002641, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.767/1.767, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 64.03 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4892/0.4916, allocations: 50.55 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.9385/1.43, allocations: 208.7 MB / 0.6041 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0246/1.455, allocations: 10.41 MB / 0.6143 GB, free: 15.26 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002026/1.457, allocations: 24.59 kB / 0.6143 GB, free: 15.26 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002712/1.46, allocations: 470.3 kB / 0.6148 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01708/1.477, allocations: 3.209 MB / 0.6179 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01327/1.49, allocations: 2.704 MB / 0.6206 GB, free: 12.88 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006393/1.497, allocations: 2.621 MB / 0.6231 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002409/1.499, allocations: 0.7926 MB / 0.6239 GB, free: 11.11 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01478/1.514, allocations: 2.845 MB / 0.6267 GB, free: 9.629 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004646/1.519, allocations: 1.062 MB / 0.6277 GB, free: 9.109 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001286/1.52, allocations: 119.5 kB / 0.6278 GB, free: 9.109 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02404/1.544, allocations: 6.221 MB / 0.6339 GB, free: 3.234 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00181/1.546, allocations: 0.5374 MB / 0.6344 GB, free: 2.703 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002602/1.549, allocations: 0.6404 MB / 0.635 GB, free: 2.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02025/1.569, allocations: 4.682 MB / 0.6396 GB, free: 13.63 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/1.569, allocations: 4 kB / 0.6396 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.064e-06/1.569, allocations: 0 / 0.6396 GB, free: 13.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.804e-05/1.569, allocations: 0 / 0.6396 GB, free: 13.62 MB / 494.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.01047/1.58, allocations: 2.066 MB / 0.6416 GB, free: 11.51 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.677e-05/1.58, allocations: 8.031 kB / 0.6416 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/1.581, allocations: 134.6 kB / 0.6418 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/1.584, allocations: 0.7111 MB / 0.6425 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003142/1.584, allocations: 128.8 kB / 0.6426 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005589/1.585, allocations: 94.89 kB / 0.6427 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005163/1.59, allocations: 1.457 MB / 0.6441 GB, free: 8.891 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.606e-05/1.59, allocations: 3.938 kB / 0.6441 GB, free: 8.887 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003285/1.59, allocations: 42.73 kB / 0.6441 GB, free: 8.848 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001826/1.591, allocations: 73.95 kB / 0.6442 GB, free: 8.777 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004982/1.596, allocations: 1.456 MB / 0.6456 GB, free: 7.316 MB / 494.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.01813/1.614, allocations: 6.326 MB / 0.6518 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003879/1.618, allocations: 0.9876 MB / 0.6528 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/1.62, allocations: 0.523 MB / 0.6533 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002564/1.622, allocations: 1.805 MB / 0.6551 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.906e-05/1.622, allocations: 51.5 kB / 0.6551 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000986/1.623, allocations: 86.97 kB / 0.6552 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=84): time 8.827e-06/1.623, allocations: 0 / 0.6552 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.03219/1.656, allocations: 4.782 MB / 0.6599 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/1.656, allocations: 115.8 kB / 0.66 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/1.658, allocations: 0.7699 MB / 0.6607 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004079/1.658, allocations: 45.7 kB / 0.6608 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000623/1.659, allocations: 452.6 kB / 0.6612 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007093/1.66, allocations: 347.6 kB / 0.6615 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009533/1.661, allocations: 246.7 kB / 0.6618 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003097/1.661, allocations: 410.7 kB / 0.6621 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/1.663, allocations: 0.6149 MB / 0.6627 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002984/1.666, allocations: 0.9537 MB / 0.6637 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005713/1.672, allocations: 1.658 MB / 0.6653 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-05/1.672, allocations: 7.938 kB / 0.6653 GB, free: 2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.008319/1.681, allocations: 1.93 MB / 0.6672 GB, free: 52 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001582/1.681, allocations: 70.56 kB / 0.6673 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.823e-05/1.681, allocations: 12 kB / 0.6673 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002633/1.684, allocations: 307 kB / 0.6676 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/1.686, allocations: 275.5 kB / 0.6678 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00301/1.689, allocations: 0.9027 MB / 0.6687 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/1.691, allocations: 67.97 kB / 0.6688 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004789/1.692, allocations: 71.97 kB / 0.6688 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003415/1.695, allocations: 0.8498 MB / 0.6697 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002863/1.698, allocations: 0.9459 MB / 0.6706 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005285/1.703, allocations: 1.631 MB / 0.6722 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.189e-05/1.703, allocations: 4 kB / 0.6722 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.00787/1.711, allocations: 1.903 MB / 0.674 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/1.711, allocations: 59.41 kB / 0.6741 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.595e-05/1.711, allocations: 19.94 kB / 0.6741 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002617/1.714, allocations: 308.8 kB / 0.6744 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/1.716, allocations: 267.5 kB / 0.6747 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/1.719, allocations: 0.9151 MB / 0.6756 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/1.721, allocations: 63.95 kB / 0.6756 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004532/1.722, allocations: 67.98 kB / 0.6757 GB, free: 6.949 MB / 0.5137 GB 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.0008894/1.723, allocations: 267.9 kB / 0.6759 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006867/1.724, allocations: 102.7 kB / 0.676 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007625/1.731, allocations: 1.96 MB / 0.678 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.162e-05/1.731, allocations: 15.98 kB / 0.678 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/1.731, allocations: 4 kB / 0.678 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-05/1.731, allocations: 3.984 kB / 0.678 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/1.742, allocations: 3.103 MB / 0.681 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/1.742, allocations: 0 / 0.681 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/1.744, allocations: 183.7 kB / 0.6812 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003227/1.747, allocations: 384.5 kB / 0.6816 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000267/1.748, allocations: 39.92 kB / 0.6816 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/1.75, allocations: 0.8705 MB / 0.6824 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/1.75, allocations: 8.016 kB / 0.6825 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008436/1.759, allocations: 2.387 MB / 0.6848 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.76, allocations: 319.8 kB / 0.6851 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004641/1.761, allocations: 24 kB / 0.6851 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/1.763, allocations: 63.94 kB / 0.6852 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003206/1.763, allocations: 76.78 kB / 0.6852 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002802/1.763, allocations: 51.95 kB / 0.6853 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001553/1.765, allocations: 0.5732 MB / 0.6859 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.21e-07/1.765, allocations: 0 / 0.6859 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006686/1.772, allocations: 1.144 MB / 0.687 GB, free: 11.2 MB / 0.5294 GB 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.005775/1.777, allocations: 1.076 MB / 0.688 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009892/1.787, allocations: 2.627 MB / 0.6906 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/1.787, allocations: 0.875 kB / 0.6906 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002924/1.79, allocations: 0.736 MB / 0.6913 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005626/1.796, allocations: 0.5592 MB / 0.6919 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/1.806, allocations: 2.58 MB / 0.6944 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/1.807, allocations: 1.123 MB / 0.6955 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/1.809, allocations: 123.4 kB / 0.6956 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of SimCode: time 1.392e-06/1.809, allocations: 0 / 0.6956 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of Templates: time 0.08404/1.893, allocations: 32.92 MB / 0.7277 GB, free: 1.484 MB / 0.5606 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/TraceSubstances/RoomCO2/RoomCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches