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.001007/0.001007, allocations: 91.61 kB / 21.19 MB, free: 3.383 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.0009902/0.0009902, allocations: 160.5 kB / 24.56 MB, free: 24 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.9693/0.9693, allocations: 177 MB / 204.8 MB, free: 5.191 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.342e-06/1.342e-06, allocations: 0 / 272.9 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.681e-05, allocations: 9.062 kB / 272.9 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.2916/0.2916, allocations: 151.3 MB / 424.2 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007728/0.2993, allocations: 5.738 MB / 430 MB, free: 4.402 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007206/0.3, allocations: 27.75 kB / 430 MB, free: 4.375 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009947/0.301, allocations: 258.2 kB / 430.2 MB, free: 4.121 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004431/0.3055, allocations: 2.044 MB / 432.3 MB, free: 2.066 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003425/0.3089, allocations: 1.981 MB / 434.3 MB, free: 84 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.2135/0.5224, allocations: 2.602 MB / 436.9 MB, free: 4.082 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.5235, allocations: 0.6851 MB / 437.6 MB, free: 4.051 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003423/0.527, allocations: 1.48 MB / 439 MB, free: 4.051 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.529, allocations: 1.064 MB / 440.1 MB, free: 4.051 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003806/0.5294, allocations: 119.2 kB / 440.2 MB, free: 4.051 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004337/0.5337, allocations: 2.242 MB / 442.5 MB, free: 4.051 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005831/0.5343, allocations: 0.5765 MB / 443 MB, free: 4.051 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008131/0.5351, allocations: 490.1 kB / 443.5 MB, free: 4.051 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003776/0.5389, allocations: 2.76 MB / 446.3 MB, free: 3.914 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5389, allocations: 0 / 446.3 MB, free: 3.914 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5389, allocations: 0.8438 kB / 446.3 MB, free: 3.914 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.701e-05/0.5389, allocations: 0 / 446.3 MB, free: 3.914 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.003408/0.5423, allocations: 1.845 MB / 448.1 MB, free: 18.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.5424, allocations: 16.14 kB / 448.1 MB, free: 18.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004795/0.5429, allocations: 218 kB / 448.3 MB, free: 18.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008656/0.5437, allocations: 0.6545 MB / 449 MB, free: 18.65 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.5439, allocations: 183.7 kB / 449.2 MB, free: 18.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.5441, allocations: 95.56 kB / 449.3 MB, free: 18.53 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.5454, allocations: 1.412 MB / 450.7 MB, free: 17.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.5454, allocations: 1.312 kB / 450.7 MB, free: 17.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.476e-05/0.5455, allocations: 39 kB / 450.7 MB, free: 17.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.026e-05/0.5456, allocations: 72.44 kB / 450.8 MB, free: 17.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009684/0.5465, allocations: 0.6703 MB / 451.5 MB, free: 17.7 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.004824/0.5513, allocations: 4.623 MB / 456.1 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009472/0.5523, allocations: 0.5618 MB / 456.6 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.5526, allocations: 228.7 kB / 456.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002774/0.5529, allocations: 140.3 kB / 457 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.5529, allocations: 45.36 kB / 457.1 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001993/0.5531, allocations: 79.22 kB / 457.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=84): time 3.446e-06/0.5531, allocations: 0 / 457.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.005872/0.559, allocations: 2.781 MB / 459.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.5591, allocations: 117.2 kB / 460 MB, free: 14.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004901/0.5595, allocations: 0.6244 MB / 460.6 MB, free: 14.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.276e-05/0.5596, allocations: 45.36 kB / 460.7 MB, free: 14.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/0.56, allocations: 0.5157 MB / 461.2 MB, free: 13.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.5602, allocations: 354.6 kB / 461.6 MB, free: 13.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.5604, allocations: 256.7 kB / 461.8 MB, free: 13.65 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.5606, allocations: 0.572 MB / 462.4 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004536/0.5611, allocations: 303.6 kB / 462.7 MB, free: 13.08 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006269/0.5617, allocations: 0.8281 MB / 463.5 MB, free: 12.37 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.5628, allocations: 1.057 MB / 464.6 MB, free: 11.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.5628, allocations: 3.625 kB / 464.6 MB, free: 11.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.001628/0.5644, allocations: 1.209 MB / 465.8 MB, free: 11.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.587e-05/0.5645, allocations: 61.44 kB / 465.8 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.5645, allocations: 11.09 kB / 465.8 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005632/0.565, allocations: 178.4 kB / 466 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000575/0.5656, allocations: 274.5 kB / 466.3 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006392/0.5663, allocations: 0.9053 MB / 467.2 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.5667, allocations: 51.59 kB / 467.2 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.5668, allocations: 74.16 kB / 467.3 MB, free: 10.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006763/0.5674, allocations: 440.9 kB / 467.7 MB, free: 10.44 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008054/0.5683, allocations: 0.8194 MB / 468.6 MB, free: 9.742 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00119/0.5694, allocations: 1.054 MB / 469.6 MB, free: 9.121 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.039e-06/0.5694, allocations: 0 / 469.6 MB, free: 9.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.001496/0.5709, allocations: 1.202 MB / 470.8 MB, free: 8.883 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.571, allocations: 64.94 kB / 470.9 MB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.571, allocations: 11.94 kB / 470.9 MB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004711/0.5715, allocations: 182.9 kB / 471.1 MB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005443/0.572, allocations: 265.7 kB / 471.3 MB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005551/0.5726, allocations: 0.8986 MB / 472.2 MB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/0.5729, allocations: 52.36 kB / 472.3 MB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.237e-05/0.573, allocations: 71.83 kB / 472.4 MB, free: 8.004 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.0003073/0.5733, allocations: 354.4 kB / 472.7 MB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.5735, allocations: 120.5 kB / 472.8 MB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.5752, allocations: 1.255 MB / 474.1 MB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.5752, allocations: 13.19 kB / 474.1 MB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.5752, allocations: 3 kB / 474.1 MB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.5752, allocations: 6.203 kB / 474.1 MB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.5776, allocations: 1.838 MB / 475.9 MB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.5776, allocations: 3.625 kB / 475.9 MB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004156/0.578, allocations: 178.5 kB / 476.1 MB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006591/0.5787, allocations: 250.5 kB / 476.4 MB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.5788, allocations: 36.3 kB / 476.4 MB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004919/0.5793, allocations: 0.8766 MB / 477.3 MB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5793, allocations: 2.531 kB / 477.3 MB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/0.5815, allocations: 1.449 MB / 478.7 MB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002953/0.5818, allocations: 212.3 kB / 478.9 MB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.195e-05/0.5819, allocations: 31.78 kB / 479 MB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.5822, allocations: 45.03 kB / 479 MB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.5823, allocations: 73.05 kB / 479.1 MB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.048e-05/0.5824, allocations: 52.11 kB / 479.1 MB, free: 5.836 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003346/0.5827, allocations: 400.5 kB / 479.5 MB, free: 5.695 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5827, allocations: 0 / 479.5 MB, free: 5.695 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002108/0.5848, allocations: 0.9452 MB / 480.5 MB, free: 5.582 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.001547/0.5864, allocations: 0.8259 MB / 481.3 MB, free: 5.359 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002312/0.5887, allocations: 1.654 MB / 482.9 MB, free: 4.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5887, allocations: 1.75 kB / 482.9 MB, free: 4.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005963/0.5893, allocations: 413 kB / 483.3 MB, free: 4.906 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.5905, allocations: 487 kB / 483.8 MB, free: 4.863 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.5939, allocations: 1.99 MB / 485.8 MB, free: 4.055 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.5941, allocations: 266.5 kB / 486.1 MB, free: 3.977 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00108/0.5952, allocations: 0.6026 MB / 486.7 MB, free: 3.906 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.5954, allocations: 101.3 kB / 486.8 MB, free: 3.898 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5954, allocations: 0 / 486.8 MB, free: 3.898 MB / 394.7 MB Notification: Performance of Templates: time 0.04183/0.6372, allocations: 31.96 MB / 0.5066 GB, free: 10.52 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.372815977782011]