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.001424/0.001424, allocations: 117.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001692/0.001692, allocations: 204.6 kB / 18.74 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 59.91 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2505, allocations: 50.53 MB / 409.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.4531/0.7036, allocations: 208.7 MB / 0.6035 GB, free: 15.74 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.7159, allocations: 10.41 MB / 0.6136 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.7171, allocations: 23.25 kB / 0.6137 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.7186, allocations: 471.5 kB / 0.6141 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008637/0.7273, allocations: 3.252 MB / 0.6173 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007503/0.7348, allocations: 2.701 MB / 0.6199 GB, free: 12.88 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003168/0.738, allocations: 2.63 MB / 0.6225 GB, free: 11.63 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.7393, allocations: 0.7967 MB / 0.6233 GB, free: 11.11 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006706/0.7461, allocations: 2.86 MB / 0.6261 GB, free: 9.625 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/0.7482, allocations: 1.062 MB / 0.6271 GB, free: 9.105 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004087/0.7486, allocations: 118.3 kB / 0.6272 GB, free: 9.105 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01239/0.761, allocations: 6.226 MB / 0.6333 GB, free: 3.242 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.7621, allocations: 0.5339 MB / 0.6338 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.7639, allocations: 0.6386 MB / 0.6344 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.7763, allocations: 4.683 MB / 0.639 GB, free: 13.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.7763, allocations: 4 kB / 0.639 GB, free: 13.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.7763, allocations: 0 / 0.639 GB, free: 13.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.2e-05/0.7764, allocations: 0 / 0.639 GB, free: 13.64 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.007666/0.7841, allocations: 2.065 MB / 0.641 GB, free: 11.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.7842, allocations: 11.97 kB / 0.641 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009111/0.7851, allocations: 130.7 kB / 0.6412 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.7871, allocations: 0.7115 MB / 0.6419 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.7873, allocations: 135.4 kB / 0.642 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/0.7876, allocations: 91.86 kB / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003581/0.7912, allocations: 1.454 MB / 0.6435 GB, free: 8.902 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.7912, allocations: 3.938 kB / 0.6435 GB, free: 8.898 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.7914, allocations: 39.83 kB / 0.6435 GB, free: 8.863 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001417/0.7916, allocations: 73.95 kB / 0.6436 GB, free: 8.793 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003794/0.7954, allocations: 1.464 MB / 0.645 GB, free: 7.324 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.0138/0.8092, allocations: 6.316 MB / 0.6512 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002884/0.8121, allocations: 0.9838 MB / 0.6522 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.8133, allocations: 0.523 MB / 0.6527 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001974/0.8153, allocations: 1.805 MB / 0.6544 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.886e-05/0.8154, allocations: 51.5 kB / 0.6545 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006492/0.8161, allocations: 90.97 kB / 0.6546 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=84): time 5.721e-06/0.8161, allocations: 0 / 0.6546 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.01976/0.8359, allocations: 4.781 MB / 0.6592 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.68e-05/0.836, allocations: 115.8 kB / 0.6594 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.837, allocations: 0.7692 MB / 0.6601 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/0.8372, allocations: 53.64 kB / 0.6602 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.8375, allocations: 450.4 kB / 0.6606 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.8378, allocations: 347.2 kB / 0.6609 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004151/0.8382, allocations: 250.7 kB / 0.6612 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.8384, allocations: 406.7 kB / 0.6615 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.84, allocations: 0.6149 MB / 0.6621 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.8421, allocations: 0.9576 MB / 0.6631 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003049/0.8452, allocations: 1.658 MB / 0.6647 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.8452, allocations: 4 kB / 0.6647 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003714/0.8489, allocations: 1.93 MB / 0.6666 GB, free: 64 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/0.849, allocations: 65.62 kB / 0.6667 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.849, allocations: 12 kB / 0.6667 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.8504, allocations: 307.5 kB / 0.667 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.8515, allocations: 275.5 kB / 0.6672 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.853, allocations: 0.9113 MB / 0.6681 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009352/0.8539, allocations: 64.03 kB / 0.6682 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.8541, allocations: 71.97 kB / 0.6682 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001471/0.8555, allocations: 0.8498 MB / 0.6691 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001377/0.8569, allocations: 0.9459 MB / 0.67 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002544/0.8595, allocations: 1.635 MB / 0.6716 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.853e-06/0.8595, allocations: 4 kB / 0.6716 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.003718/0.8632, allocations: 1.903 MB / 0.6735 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.728e-05/0.8633, allocations: 63.41 kB / 0.6735 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.8633, allocations: 12 kB / 0.6735 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.8647, allocations: 311.3 kB / 0.6738 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.8657, allocations: 271.5 kB / 0.6741 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.8672, allocations: 0.9103 MB / 0.675 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.8682, allocations: 63.95 kB / 0.675 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.8684, allocations: 67.98 kB / 0.6751 GB, free: 6.957 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.0005031/0.8689, allocations: 267.9 kB / 0.6754 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/0.8691, allocations: 102.7 kB / 0.6754 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003769/0.8729, allocations: 1.956 MB / 0.6774 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.8729, allocations: 15.98 kB / 0.6774 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.873, allocations: 4 kB / 0.6774 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.873, allocations: 3.984 kB / 0.6774 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004965/0.8779, allocations: 3.107 MB / 0.6804 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.878, allocations: 0 / 0.6804 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008195/0.8788, allocations: 175.8 kB / 0.6806 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001668/0.8805, allocations: 392.4 kB / 0.681 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.029e-05/0.8806, allocations: 31.98 kB / 0.681 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.8819, allocations: 0.8715 MB / 0.6818 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.8819, allocations: 8.094 kB / 0.6818 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00412/0.8861, allocations: 2.379 MB / 0.6842 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006363/0.8867, allocations: 323.7 kB / 0.6845 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.8869, allocations: 24 kB / 0.6845 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008481/0.8877, allocations: 67.88 kB / 0.6846 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.8879, allocations: 72.84 kB / 0.6846 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.888, allocations: 55.95 kB / 0.6847 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006987/0.8887, allocations: 0.5693 MB / 0.6852 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8887, allocations: 0 / 0.6852 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002868/0.8916, allocations: 1.144 MB / 0.6864 GB, free: 11.22 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.002493/0.8941, allocations: 1.085 MB / 0.6874 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004913/0.8991, allocations: 2.624 MB / 0.69 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.8991, allocations: 448 / 0.69 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/0.9005, allocations: 0.7364 MB / 0.6907 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/0.9028, allocations: 0.5623 MB / 0.6913 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00496/0.9078, allocations: 2.503 MB / 0.6937 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006716/0.9085, allocations: 1.127 MB / 0.6948 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001798/0.9103, allocations: 0.71 MB / 0.6955 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/0.9106, allocations: 115.4 kB / 0.6956 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of SimCode: time 2.324e-06/0.9106, allocations: 0 / 0.6956 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of Templates: time 0.06113/0.9718, allocations: 40.59 MB / 0.7352 GB, free: 9.297 MB / 0.5762 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/TraceSubstances/RoomCO2/RoomCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches