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.001684/0.001684, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00223/0.00223, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 247.5 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 60.23 kB / 307.6 MB, free: 0.5859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1205, allocations: 50.53 MB / 358.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.7706/0.8911, allocations: 208.7 MB / 0.5536 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01372/0.9049, allocations: 10.41 MB / 0.5638 GB, free: 1.016 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.9062, allocations: 24.81 kB / 0.5638 GB, free: 1.016 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.9079, allocations: 468.5 kB / 0.5643 GB, free: 1.004 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.9179, allocations: 3.211 MB / 0.5674 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007751/0.9257, allocations: 2.7 MB / 0.57 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003741/0.9295, allocations: 2.63 MB / 0.5726 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.9314, allocations: 0.7814 MB / 0.5734 GB, free: 16.74 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007899/0.9393, allocations: 2.829 MB / 0.5761 GB, free: 16.69 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002549/0.9418, allocations: 1.07 MB / 0.5772 GB, free: 16.69 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006945/0.9426, allocations: 119 kB / 0.5773 GB, free: 16.69 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01388/0.9565, allocations: 6.161 MB / 0.5833 GB, free: 16.63 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001414/0.9579, allocations: 0.5373 MB / 0.5838 GB, free: 16.62 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0023/0.9602, allocations: 0.6426 MB / 0.5844 GB, free: 16.6 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.9749, allocations: 4.657 MB / 0.589 GB, free: 15.12 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/0.9749, allocations: 2.688 kB / 0.589 GB, free: 15.12 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.9749, allocations: 0 / 0.589 GB, free: 15.12 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.32e-05/0.975, allocations: 0 / 0.589 GB, free: 15.12 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.007493/0.9825, allocations: 2.075 MB / 0.591 GB, free: 13.81 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.9826, allocations: 9.062 kB / 0.591 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008724/0.9835, allocations: 129 kB / 0.5912 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.9851, allocations: 0.679 MB / 0.5918 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/0.9853, allocations: 137.2 kB / 0.5919 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002622/0.9856, allocations: 89.83 kB / 0.592 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/0.9885, allocations: 1.459 MB / 0.5935 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.9885, allocations: 0 / 0.5935 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.9887, allocations: 44.12 kB / 0.5935 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.9888, allocations: 70.73 kB / 0.5936 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.9912, allocations: 1.463 MB / 0.595 GB, free: 12.54 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.009266/1, allocations: 6.348 MB / 0.6012 GB, free: 8.359 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/1.002, allocations: 0.9691 MB / 0.6021 GB, free: 7.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000802/1.003, allocations: 0.5189 MB / 0.6026 GB, free: 7.648 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001741/1.005, allocations: 1.802 MB / 0.6044 GB, free: 5.504 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/1.005, allocations: 50.56 kB / 0.6045 GB, free: 5.457 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006213/1.006, allocations: 96.33 kB / 0.6045 GB, free: 5.375 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 4.128e-06/1.006, allocations: 0.8438 kB / 0.6045 GB, free: 5.375 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.01741/1.023, allocations: 4.793 MB / 0.6092 GB, free: 1.684 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.828e-05/1.023, allocations: 115.8 kB / 0.6093 GB, free: 1.547 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/1.024, allocations: 0.7711 MB / 0.6101 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002069/1.025, allocations: 48.2 kB / 0.6101 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/1.025, allocations: 454.8 kB / 0.6106 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003776/1.025, allocations: 339.3 kB / 0.6109 GB, free: 228 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004746/1.026, allocations: 251.5 kB / 0.6111 GB, free: 15.97 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002393/1.026, allocations: 406.7 kB / 0.6115 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/1.027, allocations: 0.615 MB / 0.6121 GB, free: 14.95 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/1.029, allocations: 0.956 MB / 0.6131 GB, free: 13.85 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003012/1.032, allocations: 1.656 MB / 0.6147 GB, free: 12.08 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/1.032, allocations: 4 kB / 0.6147 GB, free: 12.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004239/1.036, allocations: 1.93 MB / 0.6166 GB, free: 10.19 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.873e-05/1.037, allocations: 74.36 kB / 0.6166 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/1.037, allocations: 12 kB / 0.6166 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/1.038, allocations: 303.6 kB / 0.6169 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/1.039, allocations: 275.4 kB / 0.6172 GB, free: 9.547 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/1.041, allocations: 0.9046 MB / 0.6181 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/1.042, allocations: 67.09 kB / 0.6181 GB, free: 8.559 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/1.042, allocations: 71.97 kB / 0.6182 GB, free: 8.488 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001751/1.044, allocations: 0.8538 MB / 0.619 GB, free: 7.629 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001632/1.046, allocations: 0.9374 MB / 0.62 GB, free: 6.547 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003017/1.049, allocations: 1.638 MB / 0.6216 GB, free: 4.801 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.154e-05/1.049, allocations: 7.984 kB / 0.6216 GB, free: 4.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.004344/1.053, allocations: 1.901 MB / 0.6234 GB, free: 2.926 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.14e-05/1.053, allocations: 63.41 kB / 0.6235 GB, free: 2.852 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/1.053, allocations: 12.75 kB / 0.6235 GB, free: 2.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/1.055, allocations: 313.2 kB / 0.6238 GB, free: 2.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/1.056, allocations: 270.6 kB / 0.6241 GB, free: 2.285 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/1.058, allocations: 0.9094 MB / 0.6249 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/1.059, allocations: 63.95 kB / 0.625 GB, free: 1.297 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/1.059, allocations: 67.98 kB / 0.6251 GB, free: 1.23 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.0005482/1.06, allocations: 278.8 kB / 0.6253 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003131/1.06, allocations: 103.6 kB / 0.6254 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004453/1.065, allocations: 1.96 MB / 0.6274 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/1.065, allocations: 12 kB / 0.6274 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.065, allocations: 0 / 0.6274 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/1.065, allocations: 7.969 kB / 0.6274 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006091/1.071, allocations: 3.103 MB / 0.6304 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.071, allocations: 0 / 0.6304 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008852/1.072, allocations: 185.6 kB / 0.6306 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001774/1.073, allocations: 380.2 kB / 0.6309 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/1.074, allocations: 35.97 kB / 0.631 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/1.075, allocations: 0.8716 MB / 0.6318 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.075, allocations: 4.031 kB / 0.6318 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004886/1.08, allocations: 2.384 MB / 0.6342 GB, free: 7.812 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008176/1.081, allocations: 331.6 kB / 0.6345 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/1.081, allocations: 24 kB / 0.6345 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009353/1.082, allocations: 59.94 kB / 0.6346 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/1.082, allocations: 76.03 kB / 0.6346 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/1.082, allocations: 47.97 kB / 0.6347 GB, free: 7.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008938/1.083, allocations: 0.5732 MB / 0.6352 GB, free: 6.703 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.083, allocations: 3.938 kB / 0.6352 GB, free: 6.699 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003865/1.087, allocations: 1.144 MB / 0.6364 GB, free: 5.555 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.003655/1.091, allocations: 1.068 MB / 0.6374 GB, free: 4.562 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007176/1.098, allocations: 2.942 MB / 0.6403 GB, free: 1.656 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.098, allocations: 448 / 0.6403 GB, free: 1.656 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001673/1.1, allocations: 0.7395 MB / 0.641 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/1.103, allocations: 0.5556 MB / 0.6415 GB, free: 408 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006036/1.109, allocations: 2.607 MB / 0.6441 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009065/1.11, allocations: 1.123 MB / 0.6452 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005807/1.11, allocations: 127.3 kB / 0.6453 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/1.11, allocations: 4 kB / 0.6453 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.05773/1.168, allocations: 32.67 MB / 0.6772 GB, free: 11.89 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.1.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