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.001161/0.001161, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 60 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.107, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.7286/0.8356, allocations: 208.7 MB / 0.5543 GB, free: 1.148 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01278/0.8484, allocations: 10.42 MB / 0.5645 GB, free: 1.023 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.8498, allocations: 24.03 kB / 0.5645 GB, free: 1.023 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.8515, allocations: 469.4 kB / 0.5649 GB, free: 1.012 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009593/0.8611, allocations: 3.205 MB / 0.5681 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006839/0.8679, allocations: 2.707 MB / 0.5707 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003571/0.8715, allocations: 2.627 MB / 0.5733 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.8728, allocations: 0.7931 MB / 0.5741 GB, free: 16.74 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006398/0.8792, allocations: 2.821 MB / 0.5768 GB, free: 16.7 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00221/0.8815, allocations: 1.069 MB / 0.5779 GB, free: 16.7 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002427/0.8817, allocations: 120.3 kB / 0.578 GB, free: 16.7 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01215/0.8939, allocations: 6.216 MB / 0.584 GB, free: 16.64 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009259/0.8948, allocations: 0.5399 MB / 0.5846 GB, free: 16.63 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.896, allocations: 0.6355 MB / 0.5852 GB, free: 16.6 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01326/0.9093, allocations: 4.682 MB / 0.5898 GB, free: 15.04 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.9093, allocations: 0 / 0.5898 GB, free: 15.04 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.9094, allocations: 8.547 kB / 0.5898 GB, free: 15.03 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.934e-05/0.9094, 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.005913/0.9153, allocations: 2.072 MB / 0.5918 GB, free: 13.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.9154, allocations: 10.88 kB / 0.5918 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005142/0.9159, allocations: 125.7 kB / 0.5919 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.9174, allocations: 0.7064 MB / 0.5926 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.9176, allocations: 140.9 kB / 0.5928 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.9177, allocations: 91.41 kB / 0.5928 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.9201, allocations: 1.46 MB / 0.5943 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.9201, allocations: 0 / 0.5943 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.9203, allocations: 39.11 kB / 0.5943 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.041e-05/0.9204, allocations: 70 kB / 0.5944 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.9226, allocations: 1.467 MB / 0.5958 GB, free: 12.45 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.008934/0.9316, allocations: 6.33 MB / 0.602 GB, free: 8.266 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.9335, allocations: 0.9692 MB / 0.6029 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007485/0.9342, allocations: 0.5266 MB / 0.6034 GB, free: 7.48 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001576/0.9358, allocations: 1.798 MB / 0.6052 GB, free: 5.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.9359, allocations: 43 kB / 0.6052 GB, free: 5.297 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005698/0.9364, allocations: 98.02 kB / 0.6053 GB, free: 5.215 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 4.058e-06/0.9365, allocations: 4.969 kB / 0.6053 GB, free: 5.211 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.01647/0.9529, allocations: 4.779 MB / 0.61 GB, free: 1.527 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.673e-05/0.9531, allocations: 120.9 kB / 0.6101 GB, free: 1.387 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.9542, allocations: 0.7751 MB / 0.6109 GB, free: 0.793 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.9544, allocations: 41.77 kB / 0.6109 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.9548, allocations: 452.3 kB / 0.6113 GB, free: 348 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/0.9551, allocations: 340.9 kB / 0.6117 GB, free: 12 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004425/0.9555, allocations: 258.6 kB / 0.6119 GB, free: 15.75 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.9557, allocations: 398.7 kB / 0.6123 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.957, allocations: 0.6189 MB / 0.6129 GB, free: 14.73 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.9585, allocations: 0.9611 MB / 0.6138 GB, free: 13.63 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0027/0.9613, allocations: 1.656 MB / 0.6155 GB, free: 11.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.9613, allocations: 4 kB / 0.6155 GB, free: 11.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004072/0.9654, allocations: 1.929 MB / 0.6173 GB, free: 9.969 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.864e-05/0.9655, allocations: 63.94 kB / 0.6174 GB, free: 9.895 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/0.9655, allocations: 19.98 kB / 0.6174 GB, free: 9.875 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.967, allocations: 304.6 kB / 0.6177 GB, free: 9.574 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.9681, allocations: 270.6 kB / 0.618 GB, free: 9.328 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.9698, allocations: 0.9048 MB / 0.6189 GB, free: 8.406 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.9711, allocations: 71.95 kB / 0.6189 GB, free: 8.336 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/0.9712, allocations: 75.95 kB / 0.619 GB, free: 8.262 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001624/0.9729, allocations: 0.846 MB / 0.6198 GB, free: 7.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00152/0.9744, allocations: 0.943 MB / 0.6207 GB, free: 6.324 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002674/0.9771, allocations: 1.639 MB / 0.6223 GB, free: 4.578 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.035e-06/0.9771, 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.003921/0.981, allocations: 1.899 MB / 0.6242 GB, free: 2.707 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.171e-05/0.9811, allocations: 67.39 kB / 0.6243 GB, free: 2.629 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.9811, allocations: 12 kB / 0.6243 GB, free: 2.617 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.9825, allocations: 303.5 kB / 0.6246 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.9836, allocations: 270.8 kB / 0.6248 GB, free: 2.074 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.9852, allocations: 0.9097 MB / 0.6257 GB, free: 1.145 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.9864, allocations: 64.03 kB / 0.6258 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.9866, allocations: 71.97 kB / 0.6258 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.0005085/0.9871, allocations: 272.7 kB / 0.6261 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/0.9874, allocations: 98.81 kB / 0.6262 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/0.9914, allocations: 1.96 MB / 0.6281 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.9914, allocations: 12 kB / 0.6281 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.9914, allocations: 0 / 0.6281 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.9914, allocations: 3.984 kB / 0.6281 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005667/0.9971, allocations: 3.104 MB / 0.6312 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.9972, allocations: 3.984 kB / 0.6312 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000829/0.998, allocations: 181.3 kB / 0.6313 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001678/0.9997, allocations: 380.4 kB / 0.6317 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.9998, allocations: 39.97 kB / 0.6317 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/1.001, allocations: 0.8787 MB / 0.6326 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.001, allocations: 0 / 0.6326 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004504/1.006, allocations: 2.383 MB / 0.6349 GB, free: 7.598 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.007, allocations: 319.8 kB / 0.6352 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/1.007, allocations: 32.02 kB / 0.6353 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009064/1.008, allocations: 63.03 kB / 0.6353 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/1.008, allocations: 80.83 kB / 0.6354 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/1.008, allocations: 51.97 kB / 0.6354 GB, free: 7.047 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001022/1.009, allocations: 0.5693 MB / 0.636 GB, free: 6.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.41e-07/1.009, allocations: 0 / 0.636 GB, free: 6.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003929/1.013, allocations: 1.144 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.003019/1.016, allocations: 1.068 MB / 0.6382 GB, free: 4.348 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005142/1.021, allocations: 2.629 MB / 0.6407 GB, free: 1.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.021, allocations: 448 / 0.6407 GB, free: 1.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001444/1.023, allocations: 0.7384 MB / 0.6415 GB, free: 1.035 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/1.026, allocations: 0.5703 MB / 0.642 GB, free: 488 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005469/1.031, allocations: 2.507 MB / 0.6445 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000756/1.032, allocations: 1.123 MB / 0.6456 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001977/1.034, allocations: 0.7102 MB / 0.6462 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/1.034, allocations: 111.4 kB / 0.6464 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of SimCode: time 8.51e-07/1.034, allocations: 3.938 kB / 0.6464 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.05987/1.094, allocations: 40.3 MB / 0.6857 GB, free: 3.926 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 cvode -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