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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009392/0.0009392, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009727/0.0009727, allocations: 160.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9448/0.9448, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.652e-05, allocations: 2.312 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.2635/0.2635, allocations: 151.3 MB / 424.2 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00647/0.27, allocations: 5.73 MB / 430 MB, free: 4.375 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006702/0.2707, allocations: 31.69 kB / 430 MB, free: 4.344 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006465/0.2713, allocations: 250.3 kB / 430.2 MB, free: 4.098 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003975/0.2753, allocations: 2.052 MB / 432.3 MB, free: 2.035 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.2785, allocations: 1.978 MB / 434.3 MB, free: 56 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1736/0.4522, allocations: 2.609 MB / 436.9 MB, free: 4.148 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.4535, allocations: 0.6859 MB / 437.6 MB, free: 4.117 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003118/0.4566, allocations: 1.621 MB / 439.2 MB, free: 4.117 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00166/0.4583, allocations: 1.005 MB / 440.2 MB, free: 4.117 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003731/0.4587, allocations: 117.5 kB / 440.3 MB, free: 4.117 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003753/0.4624, allocations: 2.236 MB / 442.5 MB, free: 4.117 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006287/0.463, allocations: 0.5806 MB / 443.1 MB, free: 4.117 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008331/0.4639, allocations: 489.8 kB / 443.6 MB, free: 4.117 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004763/0.4686, allocations: 2.751 MB / 446.3 MB, free: 3.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4686, allocations: 0.875 kB / 446.3 MB, free: 3.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4686, allocations: 6.156 kB / 446.4 MB, free: 3.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.247e-05/0.4687, allocations: 0 / 446.4 MB, free: 3.98 MB / 378.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.003091/0.4718, allocations: 1.833 MB / 448.2 MB, free: 19.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.4718, allocations: 15.3 kB / 448.2 MB, free: 19.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004242/0.4722, allocations: 219.8 kB / 448.4 MB, free: 18.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007658/0.473, allocations: 0.647 MB / 449.1 MB, free: 18.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.4731, allocations: 183.7 kB / 449.2 MB, free: 18.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.4732, allocations: 95.94 kB / 449.3 MB, free: 18.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.4745, allocations: 1.407 MB / 450.7 MB, free: 17.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.4745, allocations: 8.344 kB / 450.7 MB, free: 17.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-05/0.4746, allocations: 43.98 kB / 450.8 MB, free: 17.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.827e-05/0.4747, allocations: 73.48 kB / 450.9 MB, free: 17.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009648/0.4756, allocations: 0.6628 MB / 451.5 MB, free: 17.76 MB / 394.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.004221/0.4799, allocations: 4.616 MB / 456.1 MB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008334/0.4807, allocations: 0.5588 MB / 456.7 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.481, allocations: 228 kB / 456.9 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002588/0.4812, allocations: 133.4 kB / 457.1 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.4813, allocations: 50.95 kB / 457.1 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002009/0.4815, allocations: 83.5 kB / 457.2 MB, free: 15.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=84): time 3.567e-06/0.4815, allocations: 0 / 457.2 MB, free: 15.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.005349/0.4868, allocations: 2.778 MB / 460 MB, free: 14.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.4869, allocations: 113.4 kB / 460.1 MB, free: 14.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/0.4873, allocations: 0.6256 MB / 460.7 MB, free: 14.31 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.002e-05/0.4874, allocations: 44.73 kB / 460.7 MB, free: 14.28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.4876, allocations: 0.511 MB / 461.3 MB, free: 13.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.4877, allocations: 362 kB / 461.6 MB, free: 13.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/0.488, allocations: 255.8 kB / 461.9 MB, free: 13.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4882, allocations: 0.5746 MB / 462.4 MB, free: 13.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/0.4886, allocations: 303.5 kB / 462.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/0.4891, allocations: 0.823 MB / 463.6 MB, free: 12.42 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009775/0.4901, allocations: 1.055 MB / 464.6 MB, free: 11.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.4901, allocations: 4.031 kB / 464.6 MB, free: 11.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.001511/0.4916, allocations: 1.212 MB / 465.8 MB, free: 11.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.4917, allocations: 68.25 kB / 465.9 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.4917, allocations: 8.75 kB / 465.9 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000523/0.4922, allocations: 178.7 kB / 466.1 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/0.4928, allocations: 270.7 kB / 466.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008/0.4936, allocations: 0.9023 MB / 467.2 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004251/0.494, allocations: 55.22 kB / 467.3 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.909e-05/0.4941, allocations: 66.44 kB / 467.4 MB, free: 10.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005191/0.4946, allocations: 444.6 kB / 467.8 MB, free: 10.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005957/0.4952, allocations: 0.8233 MB / 468.6 MB, free: 9.785 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009735/0.4962, allocations: 1.046 MB / 469.7 MB, free: 9.164 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.17e-06/0.4962, allocations: 3.656 kB / 469.7 MB, free: 9.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.001435/0.4976, allocations: 1.204 MB / 470.9 MB, free: 8.926 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.4977, allocations: 69.75 kB / 470.9 MB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.4977, allocations: 11.06 kB / 470.9 MB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004563/0.4981, allocations: 178.1 kB / 471.1 MB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000537/0.4987, allocations: 267.8 kB / 471.4 MB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005257/0.4992, allocations: 0.8973 MB / 472.3 MB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/0.4996, allocations: 56.69 kB / 472.3 MB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.983e-05/0.4997, allocations: 67.09 kB / 472.4 MB, free: 8.051 MB / 394.7 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.0002997/0.5, allocations: 354.9 kB / 472.7 MB, free: 7.773 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.5001, allocations: 121 kB / 472.9 MB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.5017, allocations: 1.253 MB / 474.1 MB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.5017, allocations: 10.19 kB / 474.1 MB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5017, allocations: 3.141 kB / 474.1 MB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.5017, allocations: 6.688 kB / 474.1 MB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.504, allocations: 1.834 MB / 476 MB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.504, allocations: 0 / 476 MB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004324/0.5044, allocations: 181.7 kB / 476.2 MB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006709/0.5051, allocations: 254.4 kB / 476.4 MB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.888e-05/0.5052, allocations: 34.41 kB / 476.4 MB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004991/0.5057, allocations: 0.8798 MB / 477.3 MB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5057, allocations: 1.031 kB / 477.3 MB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.5078, allocations: 1.443 MB / 478.8 MB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/0.5081, allocations: 221.1 kB / 479 MB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.5082, allocations: 25.19 kB / 479 MB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.5086, allocations: 44.72 kB / 479 MB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.5087, allocations: 80.28 kB / 479.1 MB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.892e-05/0.5088, allocations: 51.73 kB / 479.2 MB, free: 5.887 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002943/0.5091, allocations: 394.3 kB / 479.6 MB, free: 5.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5091, allocations: 0 / 479.6 MB, free: 5.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001921/0.511, allocations: 0.9451 MB / 480.5 MB, free: 5.637 MB / 394.7 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 (97): * Single equations (assignments): 94 * 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.001507/0.5125, allocations: 0.8101 MB / 481.3 MB, free: 5.422 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002128/0.5147, allocations: 1.668 MB / 483 MB, free: 4.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.5147, allocations: 1.719 kB / 483 MB, free: 4.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005415/0.5152, allocations: 412.3 kB / 483.4 MB, free: 4.957 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.5163, allocations: 491.7 kB / 483.9 MB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.5195, allocations: 1.994 MB / 485.9 MB, free: 4.102 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.5197, allocations: 265.4 kB / 486.1 MB, free: 4.023 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001149/0.5209, allocations: 0.601 MB / 486.7 MB, free: 3.953 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.5211, allocations: 99.72 kB / 486.8 MB, free: 3.945 MB / 394.7 MB Notification: Performance of SimCode: time 1.744e-06/0.5211, allocations: 0 / 486.8 MB, free: 3.945 MB / 394.7 MB Notification: Performance of Templates: time 0.03791/0.559, allocations: 35.38 MB / 0.51 GB, free: 7.066 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/TraceSubstances/RoomCO2/RoomCO2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.146090612746775]