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.001099/0.001098, allocations: 115.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 59 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09877/0.09994, allocations: 50.54 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.644/0.744, allocations: 208.7 MB / 0.5543 GB, free: 1.148 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.7555, allocations: 10.41 MB / 0.5645 GB, free: 1.027 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.7566, allocations: 25.12 kB / 0.5645 GB, free: 1.027 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.7578, allocations: 467.6 kB / 0.565 GB, free: 1.016 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008109/0.7659, allocations: 3.204 MB / 0.5681 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006134/0.7721, allocations: 2.708 MB / 0.5707 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003015/0.7751, allocations: 2.629 MB / 0.5733 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.7765, allocations: 0.7888 MB / 0.5741 GB, free: 16.74 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007166/0.7837, allocations: 2.83 MB / 0.5768 GB, free: 16.7 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/0.7859, allocations: 1.063 MB / 0.5779 GB, free: 16.7 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002588/0.7861, allocations: 119.9 kB / 0.578 GB, free: 16.7 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01137/0.7975, allocations: 6.215 MB / 0.5841 GB, free: 16.64 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009724/0.7985, allocations: 0.5374 MB / 0.5846 GB, free: 16.63 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.7996, allocations: 0.6398 MB / 0.5852 GB, free: 16.6 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0137/0.8133, allocations: 4.682 MB / 0.5898 GB, free: 15.04 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.8134, allocations: 8.719 kB / 0.5898 GB, free: 15.03 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.8134, allocations: 0.9062 kB / 0.5898 GB, free: 15.03 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.8134, allocations: 0 / 0.5898 GB, free: 15.03 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.004793/0.8182, allocations: 2.074 MB / 0.5918 GB, free: 13.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.8183, allocations: 9.594 kB / 0.5918 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004711/0.8187, allocations: 125.6 kB / 0.5919 GB, free: 13.65 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.8201, allocations: 0.7132 MB / 0.5926 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.8203, allocations: 137.7 kB / 0.5928 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.8205, allocations: 86.73 kB / 0.5928 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/0.8231, allocations: 1.455 MB / 0.5943 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.8232, allocations: 7.078 kB / 0.5943 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.8233, allocations: 42.27 kB / 0.5943 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.229e-05/0.8234, allocations: 68.97 kB / 0.5944 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002257/0.8256, allocations: 1.47 MB / 0.5958 GB, free: 12.43 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.00838/0.834, allocations: 6.329 MB / 0.602 GB, free: 8.254 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.8358, allocations: 0.9725 MB / 0.6029 GB, free: 7.797 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000718/0.8366, allocations: 0.5184 MB / 0.6035 GB, free: 7.465 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/0.8379, allocations: 1.801 MB / 0.6052 GB, free: 5.324 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.8379, allocations: 46.53 kB / 0.6053 GB, free: 5.277 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004216/0.8384, allocations: 94.98 kB / 0.6053 GB, free: 5.199 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 4.087e-06/0.8384, allocations: 0 / 0.6053 GB, free: 5.199 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.01577/0.8541, allocations: 4.785 MB / 0.61 GB, free: 1.512 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.8542, allocations: 111.8 kB / 0.6101 GB, free: 1.379 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009715/0.8552, allocations: 0.771 MB / 0.6109 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.8553, allocations: 47.7 kB / 0.6109 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.8556, allocations: 458.7 kB / 0.6114 GB, free: 344 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.8559, allocations: 339.9 kB / 0.6117 GB, free: 8 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004059/0.8563, allocations: 250.6 kB / 0.6119 GB, free: 15.76 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.8565, allocations: 402.7 kB / 0.6123 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.8576, allocations: 0.6258 MB / 0.6129 GB, free: 14.73 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/0.859, allocations: 0.949 MB / 0.6138 GB, free: 13.64 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002569/0.8616, allocations: 1.659 MB / 0.6155 GB, free: 11.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.8616, allocations: 4 kB / 0.6155 GB, free: 11.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003689/0.8653, allocations: 1.93 MB / 0.6174 GB, free: 9.969 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.057e-05/0.8654, allocations: 67.41 kB / 0.6174 GB, free: 9.891 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.8654, allocations: 8 kB / 0.6174 GB, free: 9.883 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.8669, allocations: 317 kB / 0.6177 GB, free: 9.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.868, allocations: 270.7 kB / 0.618 GB, free: 9.324 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.8695, allocations: 0.9083 MB / 0.6189 GB, free: 8.398 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.8705, allocations: 67.89 kB / 0.6189 GB, free: 8.332 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.8707, allocations: 71.97 kB / 0.619 GB, free: 8.262 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001518/0.8722, allocations: 0.8499 MB / 0.6198 GB, free: 7.406 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001377/0.8736, allocations: 0.9422 MB / 0.6208 GB, free: 6.324 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00253/0.8762, allocations: 1.635 MB / 0.6224 GB, free: 4.578 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.452e-06/0.8762, allocations: 4 kB / 0.6224 GB, free: 4.574 MB / 478.1 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.003631/0.8798, allocations: 1.901 MB / 0.6242 GB, free: 2.711 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.822e-05/0.8799, allocations: 67.39 kB / 0.6243 GB, free: 2.633 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.8799, allocations: 8 kB / 0.6243 GB, free: 2.625 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.8813, allocations: 313.2 kB / 0.6246 GB, free: 2.316 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.8823, allocations: 266.7 kB / 0.6248 GB, free: 2.074 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.8838, allocations: 0.9137 MB / 0.6257 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000997/0.8848, allocations: 59.97 kB / 0.6258 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.8849, allocations: 71.97 kB / 0.6259 GB, free: 1.012 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.0004065/0.8854, allocations: 269.5 kB / 0.6261 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.8856, allocations: 102.8 kB / 0.6262 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003795/0.8894, allocations: 1.953 MB / 0.6281 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.8894, allocations: 15.19 kB / 0.6281 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.8894, allocations: 0 / 0.6281 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.8895, allocations: 3.984 kB / 0.6281 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005376/0.8948, allocations: 3.096 MB / 0.6312 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.8949, allocations: 4 kB / 0.6312 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008441/0.8957, allocations: 189.4 kB / 0.6313 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/0.8974, allocations: 379.4 kB / 0.6317 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/0.8976, allocations: 43.97 kB / 0.6318 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.8989, allocations: 0.8705 MB / 0.6326 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.8989, allocations: 7.188 kB / 0.6326 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004263/0.9032, allocations: 2.378 MB / 0.6349 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008453/0.9041, allocations: 319.8 kB / 0.6352 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003038/0.9044, allocations: 35.92 kB / 0.6353 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.9054, allocations: 59.95 kB / 0.6353 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.9056, allocations: 76.02 kB / 0.6354 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/0.9058, allocations: 51.97 kB / 0.6354 GB, free: 7.055 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008414/0.9066, allocations: 0.5705 MB / 0.636 GB, free: 6.488 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.9066, allocations: 4 kB / 0.636 GB, free: 6.484 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003701/0.9103, allocations: 1.148 MB / 0.6371 GB, free: 5.336 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.003314/0.9137, allocations: 1.073 MB / 0.6382 GB, free: 4.344 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005204/0.9189, allocations: 2.626 MB / 0.6407 GB, free: 1.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.9189, allocations: 4.438 kB / 0.6407 GB, free: 1.746 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001483/0.9204, allocations: 0.7393 MB / 0.6415 GB, free: 1.031 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/0.9232, allocations: 0.5468 MB / 0.642 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00534/0.9286, allocations: 2.519 MB / 0.6445 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008078/0.9294, allocations: 1.13 MB / 0.6456 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002083/0.9315, allocations: 0.7063 MB / 0.6463 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/0.9319, allocations: 115.4 kB / 0.6464 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/0.9319, allocations: 0 / 0.6464 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of Templates: time 0.05878/0.9907, allocations: 40.29 MB / 0.6857 GB, free: 3.934 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 -s gbode -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