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.001064/0.001064, allocations: 116.1 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2487, allocations: 50.54 MB / 409.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.4566/0.7053, allocations: 208.7 MB / 0.6035 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01511/0.7205, allocations: 10.41 MB / 0.6136 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.722, allocations: 22.84 kB / 0.6137 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.7238, allocations: 461.5 kB / 0.6141 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009858/0.7337, allocations: 3.217 MB / 0.6172 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008002/0.7417, allocations: 2.691 MB / 0.6199 GB, free: 12.88 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003563/0.7453, allocations: 2.63 MB / 0.6224 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.7468, allocations: 0.7949 MB / 0.6232 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00743/0.7542, allocations: 2.824 MB / 0.626 GB, free: 9.621 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002407/0.7566, allocations: 1.074 MB / 0.627 GB, free: 9.094 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005009/0.7572, allocations: 117.3 kB / 0.6271 GB, free: 9.094 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01289/0.7701, allocations: 6.212 MB / 0.6332 GB, free: 3.219 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001172/0.7713, allocations: 0.5386 MB / 0.6337 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001726/0.773, allocations: 0.6425 MB / 0.6344 GB, free: 2.051 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01246/0.7855, allocations: 4.698 MB / 0.6389 GB, free: 13.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.7856, allocations: 3.984 kB / 0.6389 GB, free: 13.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.7856, allocations: 0 / 0.6389 GB, free: 13.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.502e-05/0.7857, allocations: 0 / 0.6389 GB, free: 13.59 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.006059/0.7917, allocations: 2.126 MB / 0.641 GB, free: 11.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.7918, allocations: 8.031 kB / 0.641 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006877/0.7925, allocations: 135.3 kB / 0.6412 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.7939, allocations: 0.7197 MB / 0.6419 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.7941, allocations: 136.3 kB / 0.642 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/0.7943, allocations: 90.34 kB / 0.6421 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/0.797, allocations: 1.455 MB / 0.6435 GB, free: 8.777 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.797, allocations: 3.938 kB / 0.6435 GB, free: 8.773 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.7972, allocations: 42.89 kB / 0.6435 GB, free: 8.734 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.222e-05/0.7973, allocations: 69.95 kB / 0.6436 GB, free: 8.668 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/0.7998, allocations: 1.471 MB / 0.645 GB, free: 7.191 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.008969/0.8088, allocations: 6.335 MB / 0.6512 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.8107, allocations: 0.9732 MB / 0.6522 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007731/0.8115, allocations: 0.523 MB / 0.6527 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/0.8129, allocations: 1.795 MB / 0.6544 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.8129, allocations: 47.56 kB / 0.6545 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004594/0.8134, allocations: 105.3 kB / 0.6546 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=84): time 4.048e-06/0.8134, allocations: 4 kB / 0.6546 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.01616/0.8296, allocations: 4.796 MB / 0.6593 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.8297, allocations: 115.8 kB / 0.6594 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.8308, allocations: 0.7778 MB / 0.6602 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000151/0.8309, allocations: 49.64 kB / 0.6602 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/0.8313, allocations: 464 kB / 0.6606 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000319/0.8316, allocations: 348.7 kB / 0.661 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004397/0.8321, allocations: 258.8 kB / 0.6612 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.8323, allocations: 402.7 kB / 0.6616 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.8335, allocations: 0.615 MB / 0.6622 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.835, allocations: 0.9615 MB / 0.6631 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002725/0.8377, allocations: 1.65 MB / 0.6648 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.8377, allocations: 4 kB / 0.6648 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003995/0.8417, allocations: 1.942 MB / 0.6667 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.108e-05/0.8418, allocations: 59.41 kB / 0.6667 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.8418, allocations: 12 kB / 0.6667 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.8433, allocations: 317.1 kB / 0.667 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.8444, allocations: 271.5 kB / 0.6673 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.8459, allocations: 0.9108 MB / 0.6682 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.847, allocations: 63.95 kB / 0.6682 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/0.8472, allocations: 71.97 kB / 0.6683 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001626/0.8489, allocations: 0.8499 MB / 0.6691 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001515/0.8504, allocations: 0.9498 MB / 0.6701 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00265/0.8531, allocations: 1.627 MB / 0.6717 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.738e-06/0.8531, allocations: 8 kB / 0.6717 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.003842/0.8569, allocations: 1.903 MB / 0.6735 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.424e-05/0.857, allocations: 63.39 kB / 0.6736 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.857, allocations: 16.53 kB / 0.6736 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/0.8584, allocations: 308.6 kB / 0.6739 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.8594, allocations: 271.5 kB / 0.6741 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.861, allocations: 0.9104 MB / 0.675 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.862, allocations: 63.97 kB / 0.6751 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.8621, allocations: 72.03 kB / 0.6752 GB, free: 6.77 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.0004023/0.8626, allocations: 271.8 kB / 0.6754 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.8629, allocations: 103.3 kB / 0.6755 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003865/0.8667, allocations: 1.964 MB / 0.6774 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.8668, allocations: 12 kB / 0.6775 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.8668, allocations: 0 / 0.6775 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.8668, allocations: 3.984 kB / 0.6775 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005286/0.8721, allocations: 3.107 MB / 0.6805 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.8721, allocations: 3.984 kB / 0.6805 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008146/0.8729, allocations: 179.8 kB / 0.6807 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001662/0.8746, allocations: 379.4 kB / 0.681 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.8747, allocations: 39.97 kB / 0.6811 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.8761, allocations: 0.8746 MB / 0.6819 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.8761, allocations: 0 / 0.6819 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0043/0.8804, allocations: 2.383 MB / 0.6842 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006521/0.8811, allocations: 332.3 kB / 0.6846 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/0.8814, allocations: 31.94 kB / 0.6846 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009832/0.8824, allocations: 55.95 kB / 0.6846 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.8826, allocations: 80.77 kB / 0.6847 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/0.8827, allocations: 47.97 kB / 0.6848 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008508/0.8836, allocations: 0.5771 MB / 0.6853 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8836, allocations: 0 / 0.6853 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003327/0.8869, allocations: 1.157 MB / 0.6865 GB, free: 11 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.003362/0.8903, allocations: 1.096 MB / 0.6875 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005413/0.8957, allocations: 2.634 MB / 0.6901 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.8958, allocations: 448 / 0.6901 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.8973, allocations: 0.7413 MB / 0.6908 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/0.9001, allocations: 0.5591 MB / 0.6914 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005291/0.9054, allocations: 2.526 MB / 0.6938 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007708/0.9062, allocations: 1.123 MB / 0.6949 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002101/0.9083, allocations: 0.7109 MB / 0.6956 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003909/0.9087, allocations: 111.4 kB / 0.6957 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of SimCode: time 8.92e-07/0.9087, allocations: 0 / 0.6957 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of Templates: time 0.05974/0.9685, allocations: 40.6 MB / 0.7354 GB, free: 9.039 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