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.001462/0.001462, 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.001739/0.001739, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3312, allocations: 50.55 MB / 409.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.6005/0.9318, allocations: 208.7 MB / 0.6041 GB, free: 15.76 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01828/0.9501, allocations: 10.4 MB / 0.6143 GB, free: 15.32 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.9518, allocations: 22.19 kB / 0.6143 GB, free: 15.32 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002102/0.9539, allocations: 469 kB / 0.6148 GB, free: 15.19 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01311/0.9671, allocations: 3.22 MB / 0.6179 GB, free: 14.31 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009078/0.9762, allocations: 2.695 MB / 0.6206 GB, free: 13 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004128/0.9803, allocations: 2.628 MB / 0.6231 GB, free: 11.81 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.982, allocations: 0.7935 MB / 0.6239 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008046/0.9901, allocations: 2.835 MB / 0.6267 GB, free: 9.828 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002611/0.9927, allocations: 1.07 MB / 0.6277 GB, free: 9.301 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005753/0.9933, allocations: 119.4 kB / 0.6278 GB, free: 9.301 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01383/1.007, allocations: 6.218 MB / 0.6339 GB, free: 3.465 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001239/1.008, allocations: 0.5382 MB / 0.6344 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001858/1.01, allocations: 0.6381 MB / 0.635 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01316/1.023, allocations: 4.677 MB / 0.6396 GB, free: 13.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.024, allocations: 0 / 0.6396 GB, free: 13.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.884e-06/1.024, allocations: 0 / 0.6396 GB, free: 13.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.782e-05/1.024, allocations: 0 / 0.6396 GB, free: 13.86 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.006177/1.03, allocations: 2.07 MB / 0.6416 GB, free: 11.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.03, allocations: 12.03 kB / 0.6416 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007304/1.031, allocations: 130.7 kB / 0.6418 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/1.032, allocations: 0.7189 MB / 0.6425 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/1.032, allocations: 130.9 kB / 0.6426 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/1.033, allocations: 91.61 kB / 0.6427 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002776/1.035, allocations: 1.457 MB / 0.6441 GB, free: 9.121 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/1.035, allocations: 0 / 0.6441 GB, free: 9.121 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/1.036, allocations: 41.55 kB / 0.6441 GB, free: 9.086 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/1.036, allocations: 77.95 kB / 0.6442 GB, free: 9.012 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/1.038, allocations: 1.46 MB / 0.6456 GB, free: 7.547 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.009621/1.048, allocations: 6.325 MB / 0.6518 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/1.05, allocations: 0.9798 MB / 0.6528 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008357/1.051, allocations: 0.5269 MB / 0.6533 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001596/1.052, allocations: 1.799 MB / 0.655 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/1.053, allocations: 55.5 kB / 0.6551 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005074/1.053, allocations: 90.97 kB / 0.6552 GB, free: 13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=84): time 4.819e-06/1.053, allocations: 0 / 0.6552 GB, free: 13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.01765/1.071, allocations: 4.771 MB / 0.6598 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/1.071, allocations: 119.8 kB / 0.66 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/1.072, allocations: 0.7699 MB / 0.6607 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002049/1.072, allocations: 49.7 kB / 0.6608 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/1.073, allocations: 452.6 kB / 0.6612 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/1.073, allocations: 352 kB / 0.6615 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004766/1.074, allocations: 250.7 kB / 0.6618 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002339/1.074, allocations: 398.7 kB / 0.6621 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/1.075, allocations: 0.6189 MB / 0.6628 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/1.077, allocations: 0.9576 MB / 0.6637 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002889/1.08, allocations: 1.65 MB / 0.6653 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/1.08, allocations: 8 kB / 0.6653 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004189/1.084, allocations: 1.926 MB / 0.6672 GB, free: 300 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.198e-05/1.084, allocations: 67.98 kB / 0.6673 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/1.084, allocations: 12 kB / 0.6673 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/1.085, allocations: 308.5 kB / 0.6676 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/1.087, allocations: 271.6 kB / 0.6678 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/1.088, allocations: 0.9174 MB / 0.6687 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.089, allocations: 60.03 kB / 0.6688 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/1.09, allocations: 71.97 kB / 0.6688 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001685/1.091, allocations: 0.8537 MB / 0.6697 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001531/1.093, allocations: 0.942 MB / 0.6706 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002864/1.096, allocations: 1.635 MB / 0.6722 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.251e-05/1.096, allocations: 4 kB / 0.6722 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.004166/1.1, allocations: 1.897 MB / 0.674 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.372e-05/1.1, allocations: 75.44 kB / 0.6741 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/1.1, allocations: 12 kB / 0.6741 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/1.102, allocations: 304.5 kB / 0.6744 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/1.103, allocations: 271.6 kB / 0.6747 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/1.104, allocations: 0.9105 MB / 0.6756 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/1.106, allocations: 68.02 kB / 0.6756 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/1.106, allocations: 71.98 kB / 0.6757 GB, free: 7.176 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.0005152/1.106, allocations: 263.9 kB / 0.676 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004146/1.107, allocations: 106.7 kB / 0.6761 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004159/1.111, allocations: 1.956 MB / 0.678 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/1.111, allocations: 8 kB / 0.678 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.111, allocations: 4 kB / 0.678 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/1.111, allocations: 11.95 kB / 0.678 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005725/1.117, allocations: 3.107 MB / 0.681 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/1.117, allocations: 0 / 0.681 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000849/1.118, allocations: 179.8 kB / 0.6812 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001813/1.119, allocations: 380.4 kB / 0.6816 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/1.12, allocations: 35.97 kB / 0.6816 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/1.121, allocations: 0.8764 MB / 0.6824 GB, free: 132 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.417e-06/1.121, allocations: 8.047 kB / 0.6825 GB, free: 124 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00518/1.126, allocations: 2.383 MB / 0.6848 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008758/1.127, allocations: 319.7 kB / 0.6851 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003376/1.128, allocations: 28 kB / 0.6851 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/1.129, allocations: 59.94 kB / 0.6852 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/1.129, allocations: 72.84 kB / 0.6852 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/1.129, allocations: 55.97 kB / 0.6853 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009045/1.13, allocations: 0.5693 MB / 0.6858 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/1.13, allocations: 3.938 kB / 0.6858 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004007/1.134, allocations: 1.148 MB / 0.687 GB, free: 11.44 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.00355/1.138, allocations: 1.074 MB / 0.688 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005783/1.144, allocations: 2.627 MB / 0.6906 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.144, allocations: 2.062 kB / 0.6906 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001687/1.145, allocations: 0.7321 MB / 0.6913 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003301/1.149, allocations: 0.5629 MB / 0.6919 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006133/1.155, allocations: 2.587 MB / 0.6944 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009262/1.156, allocations: 1.127 MB / 0.6955 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006095/1.156, allocations: 123.4 kB / 0.6956 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/1.156, allocations: 0 / 0.6956 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of Templates: time 0.05095/1.207, allocations: 32.78 MB / 0.7276 GB, free: 1.848 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