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.001005/0.001005, allocations: 94.02 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008853/0.0008854, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.7 MB / 247.5 MB, free: 9.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002542/0.0002542, allocations: 4 kB / 308.4 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1131, allocations: 51.53 MB / 359.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.77/0.8832, allocations: 205.5 MB / 0.5521 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01547/0.8987, allocations: 10.69 MB / 0.5626 GB, free: 1.113 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.9001, allocations: 26.72 kB / 0.5626 GB, free: 1.113 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.9014, allocations: 408.9 kB / 0.563 GB, free: 1.105 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008888/0.9103, allocations: 2.843 MB / 0.5658 GB, free: 0.957 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007905/0.9182, allocations: 2.287 MB / 0.568 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005024/0.9233, allocations: 3.796 MB / 0.5717 GB, free: 0.875 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.925, allocations: 0.6665 MB / 0.5723 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008436/0.9334, allocations: 2.538 MB / 0.5748 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002961/0.9364, allocations: 1.088 MB / 0.5759 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002414/0.9367, allocations: 57.56 kB / 0.5759 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01317/0.9498, allocations: 6.522 MB / 0.5823 GB, free: 400 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.951, allocations: 489.4 kB / 0.5828 GB, free: 236 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.9523, allocations: 0.5987 MB / 0.5834 GB, free: 16.15 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008232/0.9605, allocations: 3.288 MB / 0.5866 GB, free: 14.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.9606, allocations: 1.406 kB / 0.5866 GB, free: 14.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.9606, allocations: 4 kB / 0.5866 GB, free: 14.79 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.9606, allocations: 0 / 0.5866 GB, free: 14.79 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.004957/0.9656, allocations: 1.835 MB / 0.5884 GB, free: 13.53 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.9656, allocations: 12.39 kB / 0.5884 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004941/0.9661, allocations: 129.7 kB / 0.5885 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.9674, allocations: 0.6748 MB / 0.5892 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.9675, allocations: 143.6 kB / 0.5893 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.9677, allocations: 84.03 kB / 0.5894 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/0.9701, allocations: 1.458 MB / 0.5908 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.9701, allocations: 8.281 kB / 0.5908 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.9703, allocations: 38.91 kB / 0.5908 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001202/0.9704, allocations: 68.88 kB / 0.5909 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003125/0.9735, allocations: 1.465 MB / 0.5923 GB, free: 12.26 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.009648/0.9832, allocations: 6.353 MB / 0.5985 GB, free: 8.051 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.985, allocations: 0.9816 MB / 0.5995 GB, free: 7.879 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007772/0.9858, allocations: 0.5238 MB / 0.6 GB, free: 7.797 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/0.9875, allocations: 1.803 MB / 0.6018 GB, free: 5.766 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.9875, allocations: 42.75 kB / 0.6018 GB, free: 5.727 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005703/0.9881, allocations: 108.7 kB / 0.6019 GB, free: 5.668 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 4.758e-06/0.9881, allocations: 0 / 0.6019 GB, free: 5.668 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.01662/1.005, allocations: 4.96 MB / 0.6068 GB, free: 3.766 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/1.005, allocations: 119.8 kB / 0.6069 GB, free: 3.621 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/1.006, allocations: 0.7701 MB / 0.6076 GB, free: 3.027 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001567/1.006, allocations: 42.08 kB / 0.6077 GB, free: 2.992 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/1.007, allocations: 449.9 kB / 0.6081 GB, free: 2.672 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/1.007, allocations: 342.5 kB / 0.6084 GB, free: 2.387 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/1.007, allocations: 104.7 kB / 0.6085 GB, free: 2.316 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/1.007, allocations: 402.5 kB / 0.6089 GB, free: 1.953 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/1.009, allocations: 0.6178 MB / 0.6095 GB, free: 1.539 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/1.01, allocations: 0.9656 MB / 0.6105 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/1.013, allocations: 1.665 MB / 0.6121 GB, free: 15.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/1.013, allocations: 4 kB / 0.6121 GB, free: 15.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004124/1.017, allocations: 1.96 MB / 0.614 GB, free: 14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000378/1.018, allocations: 457.4 kB / 0.6144 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/1.018, allocations: 12 kB / 0.6144 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/1.019, allocations: 330.7 kB / 0.6148 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.021, allocations: 272.8 kB / 0.615 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/1.022, allocations: 0.923 MB / 0.6159 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/1.024, allocations: 109.6 kB / 0.616 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/1.024, allocations: 70.53 kB / 0.6161 GB, free: 11.95 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/1.024, allocations: 4 kB / 0.6161 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003852/1.028, allocations: 1.828 MB / 0.6179 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/1.028, allocations: 13.22 kB / 0.6179 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001643/1.03, allocations: 325.8 kB / 0.6182 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/1.031, allocations: 275.9 kB / 0.6185 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/1.032, allocations: 0.9319 MB / 0.6194 GB, free: 9.309 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/1.034, allocations: 96 kB / 0.6195 GB, free: 9.215 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/1.034, allocations: 77.09 kB / 0.6195 GB, free: 9.141 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.0008115/1.035, allocations: 429.8 kB / 0.62 GB, free: 8.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/1.035, allocations: 102.8 kB / 0.6201 GB, free: 8.629 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004143/1.039, allocations: 1.974 MB / 0.622 GB, free: 6.625 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/1.039, allocations: 11.98 kB / 0.622 GB, free: 6.613 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.039, allocations: 0 / 0.622 GB, free: 6.613 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/1.039, allocations: 3.984 kB / 0.622 GB, free: 6.609 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005771/1.045, allocations: 3.117 MB / 0.625 GB, free: 3.438 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/1.045, allocations: 4 kB / 0.625 GB, free: 3.434 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008567/1.046, allocations: 179.8 kB / 0.6252 GB, free: 3.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002077/1.048, allocations: 407.3 kB / 0.6256 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/1.048, allocations: 35.98 kB / 0.6256 GB, free: 2.836 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/1.049, allocations: 0.8978 MB / 0.6265 GB, free: 1.918 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.049, allocations: 1.859 kB / 0.6265 GB, free: 1.918 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004647/1.054, allocations: 2.402 MB / 0.6289 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008126/1.055, allocations: 335.7 kB / 0.6292 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003004/1.055, allocations: 27.98 kB / 0.6292 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/1.057, allocations: 83.84 kB / 0.6293 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/1.057, allocations: 75.73 kB / 0.6294 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/1.057, allocations: 59.97 kB / 0.6294 GB, free: 14.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008969/1.058, allocations: 0.5715 MB / 0.63 GB, free: 14.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.058, allocations: 0 / 0.63 GB, free: 14.33 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003902/1.062, allocations: 1.144 MB / 0.6311 GB, free: 13.19 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.003591/1.065, allocations: 1.077 MB / 0.6321 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005452/1.071, allocations: 2.628 MB / 0.6347 GB, free: 9.594 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.071, allocations: 448 / 0.6347 GB, free: 9.594 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00157/1.072, allocations: 0.7474 MB / 0.6354 GB, free: 8.871 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/1.076, allocations: 0.5412 MB / 0.636 GB, free: 8.344 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006667/1.083, allocations: 3.085 MB / 0.639 GB, free: 5.215 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009901/1.084, allocations: 1.12 MB / 0.6401 GB, free: 4.066 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006069/1.084, allocations: 123.4 kB / 0.6402 GB, free: 3.945 MB / 494.1 MB Notification: Performance of SimCode: time 7.82e-07/1.084, allocations: 0 / 0.6402 GB, free: 3.945 MB / 494.1 MB Notification: Performance of Templates: time 0.05044/1.135, allocations: 32.53 MB / 0.672 GB, free: 3.504 MB / 0.5137 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