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.001119/0.001119, allocations: 85.81 kB / 21.43 MB, free: 3.066 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.001608/0.001608, allocations: 163.2 kB / 24.82 MB, free: 9.25 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 1.048/1.048, allocations: 177 MB / 205.1 MB, free: 5.488 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.974e-06/1.974e-06, allocations: 0 / 273.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.73e-05, allocations: 6.312 kB / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.2848/0.2849, allocations: 148.5 MB / 421.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006595/0.2915, allocations: 5.644 MB / 427.5 MB, free: 7.066 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004463/0.2919, allocations: 31.75 kB / 427.5 MB, free: 7.035 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.2932, allocations: 254.2 kB / 427.8 MB, free: 6.785 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006463/0.2996, allocations: 2.044 MB / 429.8 MB, free: 4.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005414/0.3051, allocations: 2.024 MB / 431.8 MB, free: 2.703 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004107/0.3092, allocations: 2.591 MB / 434.4 MB, free: 108 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1847/0.4938, allocations: 0.6863 MB / 435.1 MB, free: 4.242 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003549/0.4974, allocations: 1.616 MB / 436.7 MB, free: 4.242 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002058/0.4994, allocations: 0.9872 MB / 437.7 MB, free: 4.242 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004802/0.4999, allocations: 118.2 kB / 437.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004345/0.5043, allocations: 2.231 MB / 440.1 MB, free: 4.242 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008185/0.5051, allocations: 0.5796 MB / 440.6 MB, free: 4.242 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.5062, allocations: 484.5 kB / 441.1 MB, free: 4.242 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005643/0.5118, allocations: 2.756 MB / 443.9 MB, free: 4.105 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5118, allocations: 0 / 443.9 MB, free: 4.105 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.5118, allocations: 6 kB / 443.9 MB, free: 4.105 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.675e-05/0.5119, allocations: 0.9375 kB / 443.9 MB, free: 4.105 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.003611/0.5155, allocations: 1.824 MB / 445.7 MB, free: 19.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.5156, allocations: 14.52 kB / 445.7 MB, free: 19.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004498/0.516, allocations: 218.5 kB / 445.9 MB, free: 19.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008655/0.5169, allocations: 0.6188 MB / 446.5 MB, free: 18.85 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.517, allocations: 186.9 kB / 446.7 MB, free: 18.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.5171, allocations: 95.94 kB / 446.8 MB, free: 18.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.5182, allocations: 1.319 MB / 448.1 MB, free: 17.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.5182, allocations: 12.17 kB / 448.2 MB, free: 17.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.997e-05/0.5183, allocations: 39.47 kB / 448.2 MB, free: 17.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.948e-05/0.5184, allocations: 71.08 kB / 448.3 MB, free: 17.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007172/0.5191, allocations: 0.5314 MB / 448.8 MB, free: 17.88 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.004227/0.5233, allocations: 4.577 MB / 453.4 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007086/0.524, allocations: 0.5038 MB / 453.9 MB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.5242, allocations: 191.8 kB / 454.1 MB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002853/0.5245, allocations: 154.1 kB / 454.2 MB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.5245, allocations: 48.14 kB / 454.3 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002218/0.5248, allocations: 83.27 kB / 454.3 MB, free: 15.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=84): time 2.915e-06/0.5248, allocations: 0 / 454.3 MB, free: 15.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.005456/0.5302, allocations: 2.696 MB / 457 MB, free: 14.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.5303, allocations: 114.6 kB / 457.1 MB, free: 14.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.5307, allocations: 0.6092 MB / 457.8 MB, free: 14.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.866e-05/0.5307, allocations: 44.55 kB / 457.8 MB, free: 14.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.5309, allocations: 0.515 MB / 458.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.5311, allocations: 369.6 kB / 458.7 MB, free: 13.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.5314, allocations: 257.1 kB / 458.9 MB, free: 13.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.5315, allocations: 0.5786 MB / 459.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.5318, allocations: 254.6 kB / 459.8 MB, free: 13.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/0.5323, allocations: 0.7707 MB / 460.5 MB, free: 12.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007833/0.5331, allocations: 0.9757 MB / 461.5 MB, free: 12.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.5331, allocations: 3.75 kB / 461.5 MB, free: 12.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.001977/0.535, allocations: 1.327 MB / 462.8 MB, free: 11.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.515e-05/0.5351, allocations: 66.39 kB / 462.9 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.5351, allocations: 11.34 kB / 462.9 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009713/0.5361, allocations: 383 kB / 463.3 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.5366, allocations: 264.4 kB / 463.5 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/0.539, allocations: 2.585 MB / 466.1 MB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004979/0.5395, allocations: 56.66 kB / 466.2 MB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.362e-05/0.5396, allocations: 57.81 kB / 466.2 MB, free: 9.738 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004345/0.54, allocations: 387 kB / 466.6 MB, free: 9.547 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004836/0.5405, allocations: 0.775 MB / 467.4 MB, free: 8.848 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007757/0.5412, allocations: 0.9607 MB / 468.3 MB, free: 8.227 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.061e-06/0.5413, allocations: 3.469 kB / 468.4 MB, free: 8.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.001952/0.5432, allocations: 1.316 MB / 469.7 MB, free: 7.988 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.5432, allocations: 67.59 kB / 469.7 MB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.5433, allocations: 11.47 kB / 469.7 MB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009796/0.5442, allocations: 386.8 kB / 470.1 MB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005374/0.5448, allocations: 262.3 kB / 470.4 MB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.5469, allocations: 2.579 MB / 473 MB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.5475, allocations: 53.47 kB / 473 MB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.55e-05/0.5476, allocations: 60.44 kB / 473.1 MB, free: 5.926 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): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003528/0.5479, allocations: 356.4 kB / 473.4 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.5481, allocations: 115.8 kB / 473.5 MB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.5501, allocations: 1.418 MB / 474.9 MB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.5501, allocations: 11.56 kB / 475 MB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5501, allocations: 1.062 kB / 475 MB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.5502, allocations: 9.844 kB / 475 MB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/0.5529, allocations: 1.838 MB / 476.8 MB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.5529, allocations: 0 / 476.8 MB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/0.5533, allocations: 174.6 kB / 477 MB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/0.5544, allocations: 444.5 kB / 477.4 MB, free: 5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-05/0.5544, allocations: 37 kB / 477.4 MB, free: 5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/0.5566, allocations: 2.504 MB / 480 MB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.5566, allocations: 3.531 kB / 480 MB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.5586, allocations: 1.335 MB / 481.3 MB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/0.5589, allocations: 206.9 kB / 481.5 MB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.964e-05/0.559, allocations: 28.91 kB / 481.5 MB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.5593, allocations: 44.08 kB / 481.6 MB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.5595, allocations: 79.25 kB / 481.6 MB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.316e-05/0.5595, allocations: 46.78 kB / 481.7 MB, free: 2.598 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002567/0.5598, allocations: 363.3 kB / 482 MB, free: 2.465 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.5598, allocations: 1.203 kB / 482 MB, free: 2.465 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002568/0.5623, allocations: 0.9606 MB / 483 MB, free: 2.352 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): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001722/0.5641, allocations: 0.8231 MB / 483.8 MB, free: 2.145 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002214/0.5663, allocations: 1.911 MB / 485.7 MB, free: 1.355 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5663, allocations: 0 / 485.7 MB, free: 1.355 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005726/0.5669, allocations: 0.548 MB / 486.3 MB, free: 1.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.5681, allocations: 495.9 kB / 486.8 MB, free: 1.102 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.5718, allocations: 1.992 MB / 488.8 MB, free: 252 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.5721, allocations: 272.5 kB / 489 MB, free: 168 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001006/0.5731, allocations: 384.4 kB / 489.4 MB, free: 64 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009449/0.574, allocations: 0.5365 MB / 489.9 MB, free: 15.99 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.574, allocations: 0 / 489.9 MB, free: 15.99 MB / 410.7 MB Notification: Performance of Templates: time 0.04397/0.618, allocations: 38.53 MB / 0.5161 GB, free: 14.39 MB / 442.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.368709906004369]