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.0009187/0.0009187, allocations: 88.86 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.001008/0.001008, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.9068/0.9068, allocations: 177 MB / 205.2 MB, free: 5.035 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.322e-06/1.322e-06, allocations: 0 / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.228e-05, allocations: 5.266 kB / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.2379/0.2379, allocations: 150.7 MB / 424 MB, free: 10.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006664/0.2446, allocations: 5.741 MB / 429.8 MB, free: 4.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004362/0.245, allocations: 35.69 kB / 429.8 MB, free: 4.645 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005756/0.2456, allocations: 250.3 kB / 430 MB, free: 4.398 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003568/0.2491, allocations: 2.056 MB / 432.1 MB, free: 2.332 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.2523, allocations: 2.024 MB / 434.1 MB, free: 312 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1526/0.4049, allocations: 2.551 MB / 436.7 MB, free: 4.188 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.4059, allocations: 0.6832 MB / 437.4 MB, free: 4.145 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002452/0.4084, allocations: 1.601 MB / 439 MB, free: 4.145 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.4095, allocations: 0.9191 MB / 439.9 MB, free: 4.145 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.4097, allocations: 117.5 kB / 440 MB, free: 4.145 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003207/0.4129, allocations: 2.228 MB / 442.2 MB, free: 4.145 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004632/0.4133, allocations: 0.5796 MB / 442.8 MB, free: 4.145 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004472/0.4138, allocations: 490.2 kB / 443.3 MB, free: 4.145 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002442/0.4162, allocations: 2.753 MB / 446 MB, free: 4.012 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4162, allocations: 0 / 446 MB, free: 4.012 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4162, allocations: 1.094 kB / 446 MB, free: 4.012 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.4162, allocations: 0 / 446 MB, free: 4.012 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.002111/0.4184, allocations: 1.672 MB / 447.7 MB, free: 19.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.4184, allocations: 14.27 kB / 447.7 MB, free: 19.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003101/0.4187, allocations: 190.9 kB / 447.9 MB, free: 19.17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006094/0.4193, allocations: 0.5304 MB / 448.4 MB, free: 18.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.323e-05/0.4194, allocations: 186 kB / 448.6 MB, free: 18.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.4195, allocations: 93.27 kB / 448.7 MB, free: 18.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008755/0.4204, allocations: 1.293 MB / 450 MB, free: 18.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.4204, allocations: 4.406 kB / 450 MB, free: 18.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.105e-05/0.4205, allocations: 37.88 kB / 450 MB, free: 18.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.507e-05/0.4205, allocations: 69.27 kB / 450.1 MB, free: 18.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005817/0.4211, allocations: 0.4962 MB / 450.6 MB, free: 18.04 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.003344/0.4245, allocations: 3.475 MB / 454.1 MB, free: 16.33 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006083/0.4251, allocations: 0.5114 MB / 454.6 MB, free: 16.24 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.4252, allocations: 171.2 kB / 454.8 MB, free: 16.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/0.4255, allocations: 156 kB / 454.9 MB, free: 16.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.4255, allocations: 49.47 kB / 455 MB, free: 16.18 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001717/0.4257, allocations: 85.84 kB / 455 MB, free: 16.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=84): time 2.735e-06/0.4257, allocations: 0.8438 kB / 455 MB, free: 16.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.00454/0.4302, allocations: 2.424 MB / 457.5 MB, free: 15.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.4303, allocations: 115.6 kB / 457.6 MB, free: 15.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.4306, allocations: 0.5412 MB / 458.1 MB, free: 15.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.416e-05/0.4307, allocations: 49.72 kB / 458.2 MB, free: 15.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.4308, allocations: 418.6 kB / 458.6 MB, free: 15.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.4309, allocations: 358.5 kB / 458.9 MB, free: 15.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.4312, allocations: 234.3 kB / 459.2 MB, free: 15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4313, allocations: 401.1 kB / 459.5 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.4315, allocations: 231.1 kB / 459.8 MB, free: 14.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.4319, allocations: 0.6042 MB / 460.4 MB, free: 14.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006199/0.4325, allocations: 0.8261 MB / 461.2 MB, free: 13.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.4325, allocations: 2.594 kB / 461.2 MB, free: 13.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.0009071/0.4334, allocations: 0.8799 MB / 462.1 MB, free: 13.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/0.4334, allocations: 69.58 kB / 462.2 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.4335, allocations: 11.25 kB / 462.2 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004187/0.4339, allocations: 163.4 kB / 462.3 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/0.4344, allocations: 261.2 kB / 462.6 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000404/0.4348, allocations: 0.6145 MB / 463.2 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.4352, allocations: 49.09 kB / 463.2 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.577e-05/0.4352, allocations: 53.19 kB / 463.3 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003668/0.4356, allocations: 329.2 kB / 463.6 MB, free: 12.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00033/0.4359, allocations: 0.6051 MB / 464.2 MB, free: 12.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006358/0.4366, allocations: 0.8175 MB / 465 MB, free: 11.72 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.027e-06/0.4366, allocations: 4.375 kB / 465 MB, free: 11.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.000882/0.4375, allocations: 0.8826 MB / 465.9 MB, free: 11.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.4375, allocations: 65.84 kB / 466 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4375, allocations: 11.81 kB / 466 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003917/0.4379, allocations: 166 kB / 466.2 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000493/0.4384, allocations: 263.1 kB / 466.4 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003655/0.4387, allocations: 0.6142 MB / 467 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.4391, allocations: 49.83 kB / 467.1 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.878e-05/0.4392, allocations: 58.2 kB / 467.1 MB, free: 10.91 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.0001953/0.4394, allocations: 265.3 kB / 467.4 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.4395, allocations: 87.34 kB / 467.5 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.4406, allocations: 1.009 MB / 468.5 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.4406, allocations: 10.62 kB / 468.5 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.4406, allocations: 8.453 kB / 468.5 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4406, allocations: 2.906 kB / 468.5 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.4425, allocations: 1.363 MB / 469.9 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.4425, allocations: 3 kB / 469.9 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005274/0.443, allocations: 170.7 kB / 470 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007332/0.4438, allocations: 249.9 kB / 470.3 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.859e-05/0.4438, allocations: 35.67 kB / 470.3 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004195/0.4443, allocations: 0.598 MB / 470.9 MB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4443, allocations: 3.031 kB / 470.9 MB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.4462, allocations: 1.149 MB / 472.1 MB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.4465, allocations: 152.7 kB / 472.2 MB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.4466, allocations: 25.34 kB / 472.3 MB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.447, allocations: 44.41 kB / 472.3 MB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.4471, allocations: 70.48 kB / 472.4 MB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.023e-05/0.4472, allocations: 40.12 kB / 472.4 MB, free: 9.301 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002132/0.4474, allocations: 236.9 kB / 472.6 MB, free: 9.277 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4474, allocations: 3.25 kB / 472.6 MB, free: 9.277 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002021/0.4494, allocations: 0.9446 MB / 473.6 MB, free: 9.16 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.001435/0.4509, allocations: 0.8233 MB / 474.4 MB, free: 8.961 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.4526, allocations: 1.394 MB / 475.8 MB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.828e-05/0.4526, allocations: 10.22 kB / 475.8 MB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004746/0.4531, allocations: 332.8 kB / 476.1 MB, free: 8.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.4545, allocations: 0.4928 MB / 476.6 MB, free: 8.465 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/0.4577, allocations: 1.917 MB / 478.5 MB, free: 7.688 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.4579, allocations: 261.3 kB / 478.8 MB, free: 7.602 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009263/0.4588, allocations: 387.7 kB / 479.2 MB, free: 7.527 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.4598, allocations: 454.2 kB / 479.6 MB, free: 7.457 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4598, allocations: 0 / 479.6 MB, free: 7.457 MB / 394.7 MB Notification: Performance of Templates: time 0.04278/0.5026, allocations: 36.01 MB / 0.5035 GB, free: 10.23 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: 3.8762124590575695]