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.001175/0.001175, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 209.7 kB / 18.79 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.359/1.359, allocations: 227.4 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 58.69 kB / 306.9 MB, free: 1.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1211, allocations: 50.53 MB / 357.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.6921/0.8132, allocations: 208.3 MB / 0.5525 GB, free: 1.203 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01544/0.8287, allocations: 10.85 MB / 0.5631 GB, free: 1.004 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/0.8304, allocations: 31.72 kB / 0.5631 GB, free: 1.004 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.8324, allocations: 417.1 kB / 0.5635 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.8426, allocations: 2.827 MB / 0.5663 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006998/0.8496, allocations: 2.317 MB / 0.5685 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004492/0.8541, allocations: 3.789 MB / 0.5722 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.8555, allocations: 0.6642 MB / 0.5729 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006878/0.8624, allocations: 2.549 MB / 0.5754 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002561/0.865, allocations: 1.089 MB / 0.5764 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004804/0.8655, allocations: 61.53 kB / 0.5765 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01253/0.878, allocations: 6.52 MB / 0.5828 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.8792, allocations: 494.4 kB / 0.5833 GB, free: 364 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001415/0.8806, allocations: 0.5835 MB / 0.5839 GB, free: 308 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007858/0.8885, allocations: 3.311 MB / 0.5871 GB, free: 15.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8885, allocations: 0 / 0.5871 GB, free: 15.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.8886, allocations: 0 / 0.5871 GB, free: 15.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.103e-05/0.8886, allocations: 0 / 0.5871 GB, free: 15.02 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.005779/0.8944, allocations: 2.075 MB / 0.5891 GB, free: 13.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.8944, allocations: 11.84 kB / 0.5892 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005261/0.895, allocations: 125.2 kB / 0.5893 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.8961, allocations: 0.6777 MB / 0.5899 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.8963, allocations: 135 kB / 0.5901 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.8964, allocations: 88.31 kB / 0.5902 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.8988, allocations: 1.462 MB / 0.5916 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.8988, allocations: 2.906 kB / 0.5916 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.899, allocations: 40.81 kB / 0.5916 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.989e-05/0.8991, allocations: 70.23 kB / 0.5917 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.9014, allocations: 1.468 MB / 0.5931 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.009369/0.9108, allocations: 6.331 MB / 0.5993 GB, free: 8.223 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.9128, allocations: 0.9708 MB / 0.6003 GB, free: 7.844 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007883/0.9136, allocations: 0.5228 MB / 0.6008 GB, free: 7.508 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001504/0.9151, allocations: 1.797 MB / 0.6025 GB, free: 5.367 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/0.9151, allocations: 46.81 kB / 0.6026 GB, free: 5.324 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006848/0.9158, allocations: 116.4 kB / 0.6027 GB, free: 5.223 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 6.112e-06/0.9159, allocations: 0 / 0.6027 GB, free: 5.223 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.0182/0.9341, allocations: 4.783 MB / 0.6073 GB, free: 1.496 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.9342, allocations: 114.7 kB / 0.6075 GB, free: 1.363 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.9354, allocations: 0.7758 MB / 0.6082 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000189/0.9356, allocations: 51.14 kB / 0.6083 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/0.9359, allocations: 451.6 kB / 0.6087 GB, free: 412 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/0.9363, allocations: 338.9 kB / 0.609 GB, free: 120 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005093/0.9368, allocations: 249.6 kB / 0.6093 GB, free: 15.96 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.937, allocations: 405.5 kB / 0.6096 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.9383, allocations: 0.6225 MB / 0.6102 GB, free: 15.17 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.9399, allocations: 0.9569 MB / 0.6112 GB, free: 14.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002913/0.9428, allocations: 1.654 MB / 0.6128 GB, free: 12.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.9428, allocations: 4 kB / 0.6128 GB, free: 12.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004333/0.9472, allocations: 1.936 MB / 0.6147 GB, free: 10.83 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.007e-05/0.9473, allocations: 63.41 kB / 0.6148 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.9473, allocations: 12 kB / 0.6148 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001545/0.9489, allocations: 317.1 kB / 0.6151 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.95, allocations: 276.5 kB / 0.6153 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.9517, allocations: 0.9016 MB / 0.6162 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.9532, allocations: 111.8 kB / 0.6163 GB, free: 9.148 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/0.9534, allocations: 74.08 kB / 0.6164 GB, free: 9.078 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001765/0.9552, allocations: 0.846 MB / 0.6172 GB, free: 8.227 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001562/0.9568, allocations: 0.9477 MB / 0.6181 GB, free: 7.137 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002908/0.9597, allocations: 1.629 MB / 0.6197 GB, free: 5.398 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.306e-05/0.9597, allocations: 4 kB / 0.6197 GB, free: 5.395 MB / 478.1 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.004293/0.964, allocations: 1.909 MB / 0.6216 GB, free: 3.523 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.629e-05/0.9641, allocations: 64 kB / 0.6217 GB, free: 3.449 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.9641, allocations: 16 kB / 0.6217 GB, free: 3.434 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.9656, allocations: 304.6 kB / 0.622 GB, free: 3.133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.9668, allocations: 273.6 kB / 0.6222 GB, free: 2.883 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.9685, allocations: 0.9148 MB / 0.6231 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.9699, allocations: 99.89 kB / 0.6232 GB, free: 1.852 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/0.9701, allocations: 70.52 kB / 0.6233 GB, free: 1.785 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.0005073/0.9706, allocations: 274.3 kB / 0.6235 GB, free: 1.531 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004093/0.971, allocations: 98.81 kB / 0.6236 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00421/0.9752, allocations: 1.957 MB / 0.6255 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/0.9753, allocations: 16 kB / 0.6256 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.9753, allocations: 3.984 kB / 0.6256 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.9753, allocations: 3.984 kB / 0.6256 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005953/0.9812, allocations: 3.1 MB / 0.6286 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.9813, allocations: 8.031 kB / 0.6286 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008906/0.9822, allocations: 178.2 kB / 0.6288 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/0.984, allocations: 380.3 kB / 0.6291 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.9841, allocations: 39.98 kB / 0.6292 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.9856, allocations: 0.8734 MB / 0.63 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.9856, allocations: 0 / 0.63 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004722/0.9904, allocations: 2.382 MB / 0.6324 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008531/0.9912, allocations: 328.6 kB / 0.6327 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003513/0.9916, allocations: 24 kB / 0.6327 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.9929, allocations: 83.86 kB / 0.6328 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.9931, allocations: 75.38 kB / 0.6328 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/0.9932, allocations: 51.95 kB / 0.6329 GB, free: 7.805 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009326/0.9942, allocations: 0.5693 MB / 0.6334 GB, free: 7.242 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.9942, allocations: 0 / 0.6334 GB, free: 7.242 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00447/0.9987, allocations: 1.152 MB / 0.6346 GB, free: 6.09 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.003972/1.003, allocations: 1.075 MB / 0.6356 GB, free: 5.098 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005701/1.008, allocations: 2.618 MB / 0.6382 GB, free: 2.504 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.008, allocations: 448 / 0.6382 GB, free: 2.504 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001637/1.01, allocations: 0.7393 MB / 0.6389 GB, free: 1.793 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003232/1.013, allocations: 0.5381 MB / 0.6394 GB, free: 1.266 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006287/1.02, allocations: 2.974 MB / 0.6423 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008669/1.02, allocations: 1.116 MB / 0.6434 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005357/1.021, allocations: 127.4 kB / 0.6435 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/1.021, allocations: 0 / 0.6435 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.04918/1.07, allocations: 32.67 MB / 0.6755 GB, free: 12.41 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/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