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.00155/0.00155, allocations: 117.3 kB / 17.98 MB, free: 5.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001952/0.001952, allocations: 201.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 59.41 kB / 307.1 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1085, allocations: 50.52 MB / 357.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.7983/0.9068, allocations: 206.9 MB / 0.5513 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01511/0.9219, allocations: 10.5 MB / 0.5615 GB, free: 1.008 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.9235, allocations: 29.75 kB / 0.5616 GB, free: 1.008 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.9253, allocations: 417.6 kB / 0.562 GB, free: 1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01078/0.9361, allocations: 2.961 MB / 0.5649 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007981/0.9441, allocations: 2.473 MB / 0.5673 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003792/0.9479, allocations: 2.641 MB / 0.5699 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.9499, allocations: 0.7751 MB / 0.5706 GB, free: 16.73 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007744/0.9576, allocations: 2.751 MB / 0.5733 GB, free: 16.69 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002651/0.9603, allocations: 1.137 MB / 0.5744 GB, free: 16.69 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006324/0.961, allocations: 119.8 kB / 0.5745 GB, free: 16.69 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01388/0.9749, allocations: 6.363 MB / 0.5807 GB, free: 16.63 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00131/0.9762, allocations: 0.5369 MB / 0.5813 GB, free: 16.62 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001836/0.9781, allocations: 0.6419 MB / 0.5819 GB, free: 16.62 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.9882, allocations: 3.312 MB / 0.5851 GB, free: 16.4 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.9882, allocations: 0 / 0.5851 GB, free: 16.4 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.9883, allocations: 1.125 kB / 0.5851 GB, free: 16.4 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.919e-05/0.9883, allocations: 2.875 kB / 0.5851 GB, free: 16.4 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.006805/0.9951, allocations: 2.075 MB / 0.5872 GB, free: 15.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.9952, allocations: 10.72 kB / 0.5872 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005457/0.9957, allocations: 131.3 kB / 0.5873 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.997, allocations: 0.6782 MB / 0.588 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.9971, allocations: 137.3 kB / 0.5881 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.9973, allocations: 91.67 kB / 0.5882 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.9997, allocations: 1.455 MB / 0.5896 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.9997, allocations: 2.906 kB / 0.5896 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.9999, allocations: 40.52 kB / 0.5896 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/1, allocations: 72.73 kB / 0.5897 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/1.002, allocations: 1.46 MB / 0.5911 GB, free: 13.84 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.009196/1.011, allocations: 6.331 MB / 0.5973 GB, free: 9.652 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/1.013, allocations: 0.9809 MB / 0.5983 GB, free: 9.473 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007415/1.014, allocations: 0.5239 MB / 0.5988 GB, free: 9.391 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001586/1.016, allocations: 1.804 MB / 0.6005 GB, free: 7.363 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/1.016, allocations: 47.16 kB / 0.6006 GB, free: 7.324 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006529/1.016, allocations: 98.17 kB / 0.6007 GB, free: 7.27 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 3.908e-06/1.016, allocations: 0.875 kB / 0.6007 GB, free: 7.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.0168/1.033, allocations: 4.797 MB / 0.6054 GB, free: 3.926 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/1.033, allocations: 111.8 kB / 0.6055 GB, free: 3.793 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/1.034, allocations: 0.7705 MB / 0.6062 GB, free: 3.199 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001595/1.035, allocations: 45.2 kB / 0.6063 GB, free: 3.164 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/1.035, allocations: 455 kB / 0.6067 GB, free: 2.836 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003316/1.035, allocations: 343.4 kB / 0.607 GB, free: 2.551 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004101/1.036, allocations: 251.2 kB / 0.6073 GB, free: 2.387 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/1.036, allocations: 403.9 kB / 0.6077 GB, free: 2.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/1.037, allocations: 0.6142 MB / 0.6083 GB, free: 1.605 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/1.039, allocations: 0.9653 MB / 0.6092 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002799/1.042, allocations: 1.651 MB / 0.6108 GB, free: 15.19 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/1.042, allocations: 4 kB / 0.6108 GB, free: 15.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00402/1.046, allocations: 1.932 MB / 0.6127 GB, free: 13.29 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.114e-05/1.046, allocations: 67.5 kB / 0.6128 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/1.046, allocations: 12 kB / 0.6128 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/1.047, allocations: 308.5 kB / 0.6131 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/1.048, allocations: 271 kB / 0.6133 GB, free: 12.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/1.05, allocations: 0.913 MB / 0.6142 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/1.051, allocations: 111.8 kB / 0.6143 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/1.051, allocations: 67.98 kB / 0.6144 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001627/1.053, allocations: 0.8499 MB / 0.6152 GB, free: 10.69 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001524/1.055, allocations: 0.9422 MB / 0.6161 GB, free: 9.605 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002713/1.057, allocations: 1.635 MB / 0.6177 GB, free: 7.859 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.851e-06/1.057, allocations: 0 / 0.6177 GB, free: 7.859 MB / 478.1 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.004104/1.061, allocations: 1.901 MB / 0.6196 GB, free: 5.996 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.355e-05/1.062, allocations: 74.45 kB / 0.6197 GB, free: 5.914 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/1.062, allocations: 8 kB / 0.6197 GB, free: 5.906 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/1.063, allocations: 315.9 kB / 0.62 GB, free: 5.598 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/1.064, allocations: 265.5 kB / 0.6202 GB, free: 5.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/1.066, allocations: 0.9114 MB / 0.6211 GB, free: 4.426 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/1.067, allocations: 99.89 kB / 0.6212 GB, free: 4.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/1.068, allocations: 67.97 kB / 0.6213 GB, free: 4.262 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.0005612/1.068, allocations: 273 kB / 0.6215 GB, free: 4.008 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004017/1.069, allocations: 102.8 kB / 0.6216 GB, free: 3.906 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004237/1.073, allocations: 1.955 MB / 0.6236 GB, free: 1.922 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/1.073, allocations: 16 kB / 0.6236 GB, free: 1.906 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/1.073, allocations: 4 kB / 0.6236 GB, free: 1.902 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.073, allocations: 3.984 kB / 0.6236 GB, free: 1.898 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005999/1.079, allocations: 3.098 MB / 0.6266 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/1.079, allocations: 4 kB / 0.6266 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008567/1.08, allocations: 186 kB / 0.6268 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001737/1.082, allocations: 376.5 kB / 0.6271 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/1.082, allocations: 43.91 kB / 0.6272 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/1.083, allocations: 0.8741 MB / 0.628 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.083, allocations: 6.531 kB / 0.628 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004719/1.088, allocations: 2.372 MB / 0.6304 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008879/1.089, allocations: 327.7 kB / 0.6307 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003739/1.089, allocations: 35.98 kB / 0.6307 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/1.091, allocations: 74.47 kB / 0.6308 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/1.091, allocations: 76.83 kB / 0.6308 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001797/1.091, allocations: 51.97 kB / 0.6309 GB, free: 10.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00102/1.092, allocations: 0.5693 MB / 0.6315 GB, free: 9.715 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/1.092, allocations: 0 / 0.6315 GB, free: 9.715 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004705/1.097, allocations: 1.148 MB / 0.6326 GB, free: 8.566 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.004414/1.101, allocations: 1.079 MB / 0.6336 GB, free: 7.566 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006726/1.108, allocations: 2.934 MB / 0.6365 GB, free: 4.668 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/1.108, allocations: 4.438 kB / 0.6365 GB, free: 4.664 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001592/1.11, allocations: 0.7318 MB / 0.6372 GB, free: 3.961 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003459/1.113, allocations: 0.5686 MB / 0.6378 GB, free: 3.402 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006158/1.119, allocations: 2.961 MB / 0.6407 GB, free: 416 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008551/1.12, allocations: 1.127 MB / 0.6418 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/1.121, allocations: 127.4 kB / 0.6419 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of SimCode: time 1.303e-06/1.121, allocations: 0 / 0.6419 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.05132/1.172, allocations: 32.66 MB / 0.6738 GB, free: 14.57 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