Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 174.8 kB / 18.04 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.4 MB / 224.2 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000953/0.000953, allocations: 89.05 kB / 272.5 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004504/0.000451, allocations: 8 kB / 329.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2404, allocations: 47.58 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.644/7.884, allocations: 3.612 GB / 3.98 GB, free: 109.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/7.885, allocations: 83.97 kB / 3.98 GB, free: 109.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.015/9.9, allocations: 0.5473 GB / 4.528 GB, free: 38.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.523e-06/9.9, allocations: 0 / 4.528 GB, free: 38.33 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001064/9.9, allocations: 28.56 kB / 4.528 GB, free: 38.33 MB / 442.7 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.01096/9.911, allocations: 3.072 MB / 4.531 GB, free: 36.35 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/9.911, allocations: 8.906 kB / 4.531 GB, free: 36.35 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/9.912, allocations: 127.9 kB / 4.531 GB, free: 36.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/9.914, allocations: 0.7453 MB / 4.532 GB, free: 35.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/9.915, allocations: 133.7 kB / 4.532 GB, free: 35.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003863/9.915, allocations: 89.77 kB / 4.532 GB, free: 35.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/9.918, allocations: 1.463 MB / 4.533 GB, free: 35.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.868e-05/9.918, allocations: 3.906 kB / 4.533 GB, free: 35.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/9.918, allocations: 39.95 kB / 4.533 GB, free: 35.03 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.721e-05/9.918, allocations: 67.03 kB / 4.533 GB, free: 35.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/9.921, allocations: 1.447 MB / 4.535 GB, free: 34.55 MB / 442.7 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.008774/9.929, allocations: 6.029 MB / 4.541 GB, free: 29.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/9.931, allocations: 0.9748 MB / 4.542 GB, free: 28.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007295/9.932, allocations: 0.5188 MB / 4.542 GB, free: 28.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001424/9.933, allocations: 2.076 MB / 4.544 GB, free: 25.65 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/9.933, allocations: 43.56 kB / 4.544 GB, free: 25.6 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006902/9.934, allocations: 105.8 kB / 4.544 GB, free: 25.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=84): time 4.359e-06/9.934, allocations: 3.938 kB / 4.544 GB, free: 25.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.01701/9.951, allocations: 5.158 MB / 4.549 GB, free: 21.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/9.951, allocations: 111.8 kB / 4.549 GB, free: 20.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/9.952, allocations: 0.7794 MB / 4.55 GB, free: 20.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002063/9.952, allocations: 49.7 kB / 4.55 GB, free: 20.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/9.953, allocations: 449.2 kB / 4.551 GB, free: 19.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/9.953, allocations: 335.9 kB / 4.551 GB, free: 19.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/9.953, allocations: 24 kB / 4.551 GB, free: 19.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/9.953, allocations: 407.3 kB / 4.551 GB, free: 19.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/9.955, allocations: 0.6024 MB / 4.552 GB, free: 18.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/9.956, allocations: 0.9518 MB / 4.553 GB, free: 17.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002427/9.958, allocations: 1.634 MB / 4.555 GB, free: 16.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/9.958, allocations: 7.938 kB / 4.555 GB, free: 16 MB / 442.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003728/9.962, allocations: 1.911 MB / 4.556 GB, free: 14.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002704/9.962, allocations: 445.7 kB / 4.557 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/9.962, allocations: 12 kB / 4.557 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001557/9.964, allocations: 330.6 kB / 4.557 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/9.965, allocations: 276.6 kB / 4.557 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/9.966, allocations: 0.9314 MB / 4.558 GB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/9.968, allocations: 112.8 kB / 4.558 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/9.968, allocations: 75.64 kB / 4.559 GB, free: 12.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/9.968, allocations: 4 kB / 4.559 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00328/9.971, allocations: 1.795 MB / 4.56 GB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/9.971, allocations: 8 kB / 4.56 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/9.973, allocations: 335.6 kB / 4.561 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/9.974, allocations: 272.1 kB / 4.561 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/9.975, allocations: 0.9341 MB / 4.562 GB, free: 9.172 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/9.977, allocations: 111.8 kB / 4.562 GB, free: 9.062 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/9.977, allocations: 75.97 kB / 4.562 GB, free: 8.988 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (147): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007799/9.978, allocations: 424.6 kB / 4.562 GB, free: 8.562 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/9.978, allocations: 94.88 kB / 4.562 GB, free: 8.469 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00379/9.982, allocations: 1.923 MB / 4.564 GB, free: 6.523 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/9.982, allocations: 19.98 kB / 4.564 GB, free: 6.504 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/9.982, allocations: 0 / 4.564 GB, free: 6.504 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/9.982, allocations: 3.984 kB / 4.564 GB, free: 6.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00496/9.987, allocations: 2.99 MB / 4.567 GB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/9.987, allocations: 4 kB / 4.567 GB, free: 3.453 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008502/9.988, allocations: 183.8 kB / 4.567 GB, free: 3.273 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001808/9.989, allocations: 399.4 kB / 4.568 GB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/9.99, allocations: 39.97 kB / 4.568 GB, free: 2.848 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/9.991, allocations: 0.8995 MB / 4.569 GB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/9.991, allocations: 4.031 kB / 4.569 GB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004018/9.995, allocations: 2.375 MB / 4.571 GB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008042/9.996, allocations: 335.7 kB / 4.571 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002903/9.996, allocations: 27.98 kB / 4.571 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/9.997, allocations: 79.94 kB / 4.572 GB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/9.997, allocations: 72.84 kB / 4.572 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/9.998, allocations: 63.95 kB / 4.572 GB, free: 14.92 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000899/9.998, allocations: 0.5419 MB / 4.572 GB, free: 14.39 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/9.998, allocations: 0 / 4.572 GB, free: 14.39 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006335/10, allocations: 1.352 MB / 4.574 GB, free: 13.04 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006548/10.01, allocations: 2.034 MB / 4.575 GB, free: 11.17 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005723/10.02, allocations: 2.604 MB / 4.578 GB, free: 8.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.487e-06/10.02, allocations: 6 kB / 4.578 GB, free: 8.516 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001549/10.02, allocations: 0.7165 MB / 4.579 GB, free: 7.797 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/10.02, allocations: 0.5032 MB / 4.579 GB, free: 7.305 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006196/10.03, allocations: 2.919 MB / 4.582 GB, free: 4.355 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009299/10.03, allocations: 1.123 MB / 4.583 GB, free: 3.203 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002712/10.03, allocations: 0.596 MB / 4.584 GB, free: 2.629 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004857/10.03, allocations: 131.3 kB / 4.584 GB, free: 2.504 MB / 458.7 MB Notification: Performance of SimCode: time 5.61e-07/10.03, allocations: 0 / 4.584 GB, free: 2.504 MB / 458.7 MB Notification: Performance of Templates: time 0.328/10.36, allocations: 49.93 MB / 4.633 GB, free: 50.33 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/TraceSubstances/RoomCO2/RoomCO2.csv","../files/Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches