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.001542/0.001542, allocations: 118.8 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.002317/0.002318, allocations: 201.2 kB / 18.73 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.499/1.499, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 67.89 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2854, allocations: 50.54 MB / 409.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.4517/0.7371, allocations: 208.7 MB / 0.6035 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.7494, allocations: 10.42 MB / 0.6136 GB, free: 15.24 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.7505, allocations: 23 kB / 0.6137 GB, free: 15.24 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.7518, allocations: 466.8 kB / 0.6141 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008444/0.7603, allocations: 3.222 MB / 0.6173 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007256/0.7676, allocations: 2.692 MB / 0.6199 GB, free: 12.89 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003906/0.7715, allocations: 2.625 MB / 0.6224 GB, free: 11.65 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.7726, allocations: 0.7924 MB / 0.6232 GB, free: 11.13 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008253/0.7809, allocations: 2.837 MB / 0.626 GB, free: 9.66 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002244/0.7831, allocations: 1.065 MB / 0.627 GB, free: 9.137 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004093/0.7836, allocations: 119.5 kB / 0.6271 GB, free: 9.137 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01141/0.795, allocations: 6.219 MB / 0.6332 GB, free: 3.285 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007746/0.7958, allocations: 0.5365 MB / 0.6337 GB, free: 2.754 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.7971, allocations: 0.6425 MB / 0.6344 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.808, allocations: 4.677 MB / 0.6389 GB, free: 13.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.8081, allocations: 0 / 0.6389 GB, free: 13.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.8081, allocations: 0 / 0.6389 GB, free: 13.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.328e-05/0.8082, allocations: 0 / 0.6389 GB, free: 13.68 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.005948/0.8141, allocations: 2.068 MB / 0.641 GB, free: 11.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.8142, allocations: 12.03 kB / 0.641 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007103/0.8149, allocations: 126.7 kB / 0.6411 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.8164, allocations: 0.7162 MB / 0.6418 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.8166, allocations: 131.3 kB / 0.6419 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.8168, allocations: 91.45 kB / 0.642 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002615/0.8194, allocations: 1.463 MB / 0.6434 GB, free: 8.941 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/0.8195, allocations: 4 kB / 0.6434 GB, free: 8.938 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.8196, allocations: 36 kB / 0.6435 GB, free: 8.902 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.555e-05/0.8197, allocations: 73.95 kB / 0.6435 GB, free: 8.832 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/0.8222, allocations: 1.46 MB / 0.645 GB, free: 7.367 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.009387/0.8316, allocations: 6.343 MB / 0.6512 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.8336, allocations: 0.9808 MB / 0.6521 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007819/0.8344, allocations: 0.523 MB / 0.6526 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/0.8358, allocations: 1.799 MB / 0.6544 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/0.8359, allocations: 47.56 kB / 0.6544 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000459/0.8364, allocations: 97.61 kB / 0.6545 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=84): time 4.358e-06/0.8364, allocations: 0 / 0.6545 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.01611/0.8525, allocations: 4.78 MB / 0.6592 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.8526, allocations: 119.8 kB / 0.6593 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.8536, allocations: 0.766 MB / 0.6601 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.8538, allocations: 49.7 kB / 0.6601 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/0.8541, allocations: 455.4 kB / 0.6605 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/0.8544, allocations: 349.1 kB / 0.6609 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004332/0.8548, allocations: 246.7 kB / 0.6611 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.855, allocations: 406.7 kB / 0.6615 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.8562, allocations: 0.615 MB / 0.6621 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.8577, allocations: 0.9576 MB / 0.663 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002702/0.8604, allocations: 1.65 MB / 0.6646 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.8604, allocations: 4 kB / 0.6646 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00383/0.8642, allocations: 1.937 MB / 0.6665 GB, free: 132 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/0.8643, allocations: 63.41 kB / 0.6666 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.8643, allocations: 12 kB / 0.6666 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001457/0.8658, allocations: 305.1 kB / 0.6669 GB, free: 15.74 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.8668, allocations: 275.6 kB / 0.6672 GB, free: 15.47 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.8684, allocations: 0.9063 MB / 0.668 GB, free: 14.54 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.8694, allocations: 63.95 kB / 0.6681 GB, free: 14.48 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.8696, allocations: 67.98 kB / 0.6682 GB, free: 14.41 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001529/0.8711, allocations: 0.8538 MB / 0.669 GB, free: 13.56 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001392/0.8725, allocations: 0.942 MB / 0.6699 GB, free: 12.47 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002593/0.8751, allocations: 1.631 MB / 0.6715 GB, free: 10.69 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.889e-06/0.8752, allocations: 4 kB / 0.6715 GB, free: 10.68 MB / 0.5138 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.003749/0.8789, allocations: 1.902 MB / 0.6734 GB, free: 8.758 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/0.879, allocations: 67.34 kB / 0.6734 GB, free: 8.68 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.879, allocations: 15.98 kB / 0.6735 GB, free: 8.664 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/0.8804, allocations: 313.1 kB / 0.6738 GB, free: 8.355 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009967/0.8814, allocations: 267.6 kB / 0.674 GB, free: 8.094 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.8829, allocations: 0.9105 MB / 0.6749 GB, free: 7.16 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009772/0.8839, allocations: 63.95 kB / 0.675 GB, free: 7.098 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.8841, allocations: 71.97 kB / 0.675 GB, free: 7.027 MB / 0.5138 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.0003981/0.8845, allocations: 271.9 kB / 0.6753 GB, free: 6.754 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/0.8848, allocations: 102.7 kB / 0.6754 GB, free: 6.652 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003829/0.8886, allocations: 1.956 MB / 0.6773 GB, free: 4.672 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.8887, allocations: 11.98 kB / 0.6773 GB, free: 4.66 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.8887, allocations: 4 kB / 0.6773 GB, free: 4.656 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.8887, allocations: 7.922 kB / 0.6773 GB, free: 4.648 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00529/0.894, allocations: 3.104 MB / 0.6804 GB, free: 1.465 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-06/0.894, allocations: 0 / 0.6804 GB, free: 1.465 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008132/0.8948, allocations: 187.9 kB / 0.6805 GB, free: 1.281 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001688/0.8965, allocations: 383.7 kB / 0.6809 GB, free: 0.9062 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.8967, allocations: 35.98 kB / 0.6809 GB, free: 0.8711 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.898, allocations: 0.8726 MB / 0.6818 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.898, allocations: 7.969 kB / 0.6818 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00422/0.9023, allocations: 2.383 MB / 0.6841 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007624/0.903, allocations: 315.8 kB / 0.6844 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.9033, allocations: 28 kB / 0.6844 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009714/0.9043, allocations: 63.94 kB / 0.6845 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.9045, allocations: 68.84 kB / 0.6846 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/0.9046, allocations: 59.95 kB / 0.6846 GB, free: 13 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007923/0.9054, allocations: 0.5693 MB / 0.6852 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9054, allocations: 4 kB / 0.6852 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003233/0.9086, allocations: 1.148 MB / 0.6863 GB, free: 11.29 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.003052/0.9117, allocations: 1.078 MB / 0.6874 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005032/0.9168, allocations: 2.624 MB / 0.6899 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.9168, allocations: 4.438 kB / 0.6899 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.9182, allocations: 0.7329 MB / 0.6906 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/0.921, allocations: 0.5555 MB / 0.6912 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005359/0.9263, allocations: 2.513 MB / 0.6936 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008026/0.9271, allocations: 1.123 MB / 0.6947 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001913/0.9291, allocations: 0.71 MB / 0.6954 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003901/0.9295, allocations: 115.4 kB / 0.6955 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of SimCode: time 8.52e-07/0.9295, allocations: 0 / 0.6955 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of Templates: time 0.06197/0.9915, allocations: 41.05 MB / 0.7356 GB, free: 8.926 MB / 0.5763 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