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.001399/0.001399, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001586/0.001586, allocations: 164.2 kB / 24.91 MB, free: 8.758 MB / 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.9021/0.9021, allocations: 177 MB / 205.2 MB, free: 5.051 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 2.044e-06/2.044e-06, allocations: 0 / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.627e-05, allocations: 2.312 kB / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.2412/0.2412, allocations: 150.7 MB / 424.1 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006144/0.2474, allocations: 5.758 MB / 429.9 MB, free: 4.633 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000474/0.2479, allocations: 31.75 kB / 429.9 MB, free: 4.602 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006354/0.2485, allocations: 250.2 kB / 430.1 MB, free: 4.355 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004221/0.2527, allocations: 1.982 MB / 432.1 MB, free: 2.363 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00331/0.256, allocations: 1.889 MB / 434 MB, free: 480 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1546/0.4106, allocations: 2.557 MB / 436.6 MB, free: 4.008 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.4117, allocations: 0.6775 MB / 437.2 MB, free: 3.965 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/0.4145, allocations: 1.586 MB / 438.8 MB, free: 3.965 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.416, allocations: 0.9232 MB / 439.7 MB, free: 3.965 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002893/0.4162, allocations: 118 kB / 439.9 MB, free: 3.965 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003536/0.4198, allocations: 2.391 MB / 442.2 MB, free: 3.957 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004682/0.4202, allocations: 0.5836 MB / 442.8 MB, free: 3.957 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005003/0.4207, allocations: 485 kB / 443.3 MB, free: 3.957 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002566/0.4233, allocations: 2.751 MB / 446.1 MB, free: 3.816 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.4233, allocations: 1.031 kB / 446.1 MB, free: 3.816 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.4233, allocations: 0 / 446.1 MB, free: 3.816 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.4233, allocations: 0 / 446.1 MB, free: 3.816 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.001925/0.4253, allocations: 1.667 MB / 447.7 MB, free: 18.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.4253, allocations: 15.45 kB / 447.7 MB, free: 18.99 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002962/0.4256, allocations: 187.9 kB / 447.9 MB, free: 18.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005871/0.4262, allocations: 0.5337 MB / 448.5 MB, free: 18.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.629e-05/0.4263, allocations: 185.5 kB / 448.6 MB, free: 18.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.4264, allocations: 97.86 kB / 448.7 MB, free: 18.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008215/0.4272, allocations: 1.287 MB / 450 MB, free: 17.87 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.4272, allocations: 5.312 kB / 450 MB, free: 17.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/0.4273, allocations: 39.91 kB / 450.1 MB, free: 17.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.236e-05/0.4273, allocations: 71.45 kB / 450.1 MB, free: 17.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005616/0.4279, allocations: 499 kB / 450.6 MB, free: 17.84 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.003145/0.431, allocations: 3.476 MB / 454.1 MB, free: 16.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/0.4316, allocations: 0.5144 MB / 454.6 MB, free: 16.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.4318, allocations: 166.1 kB / 454.8 MB, free: 16.03 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/0.432, allocations: 159 kB / 454.9 MB, free: 16.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.4321, allocations: 48.38 kB / 455 MB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001647/0.4322, allocations: 86.92 kB / 455.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=84): time 2.084e-06/0.4322, allocations: 0 / 455.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.004492/0.4367, allocations: 2.424 MB / 457.5 MB, free: 15.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.4368, allocations: 115.8 kB / 457.6 MB, free: 15.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.4371, allocations: 0.5419 MB / 458.1 MB, free: 15.37 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.397e-05/0.4371, allocations: 45.05 kB / 458.2 MB, free: 15.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.4372, allocations: 424.9 kB / 458.6 MB, free: 15.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.4374, allocations: 354.9 kB / 458.9 MB, free: 14.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.4376, allocations: 238.6 kB / 459.2 MB, free: 14.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.4377, allocations: 401.2 kB / 459.6 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.4379, allocations: 228.7 kB / 459.8 MB, free: 14.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.4383, allocations: 0.6035 MB / 460.4 MB, free: 13.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005957/0.4388, allocations: 0.8281 MB / 461.2 MB, free: 13.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4389, allocations: 5.484 kB / 461.2 MB, free: 13.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.0008754/0.4397, allocations: 0.8835 MB / 462.1 MB, free: 13.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.4398, allocations: 65.31 kB / 462.2 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.4398, allocations: 11.59 kB / 462.2 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004272/0.4402, allocations: 164.1 kB / 462.4 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/0.4408, allocations: 287.4 kB / 462.6 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003802/0.4411, allocations: 0.6199 MB / 463.3 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.4415, allocations: 46.75 kB / 463.3 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-05/0.4416, allocations: 57.28 kB / 463.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003441/0.4419, allocations: 331 kB / 463.7 MB, free: 12.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003177/0.4422, allocations: 0.6003 MB / 464.3 MB, free: 11.97 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008567/0.4431, allocations: 0.8211 MB / 465.1 MB, free: 11.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.897e-06/0.4431, allocations: 4.281 kB / 465.1 MB, free: 11.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.0008487/0.4439, allocations: 0.875 MB / 466 MB, free: 11.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.444, allocations: 63.33 kB / 466 MB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.444, allocations: 12.88 kB / 466.1 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003885/0.4444, allocations: 170.4 kB / 466.2 MB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005435/0.4449, allocations: 288 kB / 466.5 MB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003555/0.4453, allocations: 0.6056 MB / 467.1 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.4456, allocations: 52.41 kB / 467.2 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.279e-05/0.4457, allocations: 59.41 kB / 467.2 MB, free: 10.71 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.0001749/0.4459, allocations: 266.7 kB / 467.5 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.446, allocations: 82.16 kB / 467.6 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.4471, allocations: 1.006 MB / 468.6 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.4471, allocations: 15.14 kB / 468.6 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.4471, allocations: 3.672 kB / 468.6 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.4471, allocations: 3.047 kB / 468.6 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.4486, allocations: 1.366 MB / 469.9 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.4486, allocations: 10.73 kB / 470 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.449, allocations: 188.5 kB / 470.1 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005754/0.4496, allocations: 250.2 kB / 470.4 MB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/0.4497, allocations: 32.94 kB / 470.4 MB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000344/0.45, allocations: 0.5982 MB / 471 MB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.45, allocations: 3.969 kB / 471 MB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.4515, allocations: 1.14 MB / 472.2 MB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.4517, allocations: 157.4 kB / 472.3 MB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-05/0.4518, allocations: 25.94 kB / 472.3 MB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.4521, allocations: 43.59 kB / 472.4 MB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.4522, allocations: 80.95 kB / 472.5 MB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/0.4523, allocations: 37.59 kB / 472.5 MB, free: 9.098 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001578/0.4524, allocations: 239.9 kB / 472.7 MB, free: 9.074 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4524, allocations: 0 / 472.7 MB, free: 9.074 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001475/0.4539, allocations: 0.9421 MB / 473.7 MB, free: 8.961 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.001308/0.4552, allocations: 0.8231 MB / 474.5 MB, free: 8.758 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.4567, allocations: 1.397 MB / 475.9 MB, free: 8.336 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/0.4567, allocations: 10 kB / 475.9 MB, free: 8.332 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004095/0.4571, allocations: 330.5 kB / 476.2 MB, free: 8.312 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.4582, allocations: 0.4905 MB / 476.7 MB, free: 8.262 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.4608, allocations: 1.915 MB / 478.6 MB, free: 7.484 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.461, allocations: 263.7 kB / 478.9 MB, free: 7.398 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008017/0.4618, allocations: 389.7 kB / 479.3 MB, free: 7.324 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008671/0.4627, allocations: 447.5 kB / 479.7 MB, free: 7.258 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4627, allocations: 0.875 kB / 479.7 MB, free: 7.258 MB / 394.7 MB Notification: Performance of Templates: time 0.03453/0.4972, allocations: 36.06 MB / 0.5037 GB, free: 9.914 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 -s gbode -gbm=radauIIA3 -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: 3.9579181000590324]