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.001616/0.001616, allocations: 99.64 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001783/0.001783, allocations: 205.9 kB / 24.48 MB, free: 3.934 MB / 14.72 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.527/1.527, allocations: 230.5 MB / 258.1 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|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.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 63.89 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.332, allocations: 53.42 MB / 432.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.5483/0.8803, allocations: 181.9 MB / 0.5999 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01543/0.8957, allocations: 9.462 MB / 0.6091 GB, free: 9.379 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.8971, allocations: 33.16 kB / 0.6092 GB, free: 9.359 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.8988, allocations: 444.1 kB / 0.6096 GB, free: 9.02 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.909, allocations: 3.279 MB / 0.6128 GB, free: 7.07 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007834/0.9168, allocations: 2.753 MB / 0.6155 GB, free: 5.398 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003944/0.9208, allocations: 2.698 MB / 0.6181 GB, free: 3.969 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.922, allocations: 0.6538 MB / 0.6188 GB, free: 3.508 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007412/0.9295, allocations: 2.904 MB / 0.6216 GB, free: 1.988 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002548/0.932, allocations: 1.126 MB / 0.6227 GB, free: 1.344 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002893/0.9323, allocations: 120.2 kB / 0.6228 GB, free: 1.344 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01185/0.9441, allocations: 5.067 MB / 0.6278 GB, free: 12.96 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.9453, allocations: 0.5494 MB / 0.6283 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.9463, allocations: 0.5488 MB / 0.6288 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01239/0.9587, allocations: 4.499 MB / 0.6332 GB, free: 7.344 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.9587, allocations: 0 / 0.6332 GB, free: 7.344 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.9587, allocations: 0 / 0.6332 GB, free: 7.344 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.068e-05/0.9588, allocations: 0 / 0.6332 GB, free: 7.344 MB / 478.1 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.005209/0.964, allocations: 2.046 MB / 0.6352 GB, free: 5.246 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.964, allocations: 11.98 kB / 0.6352 GB, free: 5.234 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004871/0.9645, allocations: 131.3 kB / 0.6354 GB, free: 5.105 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.9659, allocations: 0.6512 MB / 0.636 GB, free: 4.422 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.9661, allocations: 184.8 kB / 0.6362 GB, free: 4.219 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.9663, allocations: 91.98 kB / 0.6363 GB, free: 4.129 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.9689, allocations: 1.886 MB / 0.6381 GB, free: 2.074 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.969, allocations: 3.938 kB / 0.6381 GB, free: 2.07 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.9691, allocations: 43.92 kB / 0.6382 GB, free: 2.027 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.9692, allocations: 73.95 kB / 0.6382 GB, free: 1.957 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/0.9716, allocations: 1.452 MB / 0.6396 GB, free: 0.5 MB / 478.1 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.008501/0.9801, allocations: 4.621 MB / 0.6442 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.9821, allocations: 0.9373 MB / 0.6451 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008106/0.9829, allocations: 0.4925 MB / 0.6455 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007299/0.9837, allocations: 240.8 kB / 0.6458 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.9837, allocations: 47.5 kB / 0.6458 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004315/0.9841, allocations: 95.31 kB / 0.6459 GB, free: 9.945 MB / 494.1 MB Notification: Performance of pre-optimization done (n=84): time 3.777e-06/0.9841, allocations: 0 / 0.6459 GB, free: 9.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=96): time 0.01636/1.001, allocations: 4.713 MB / 0.6505 GB, free: 5.199 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.838e-05/1.001, allocations: 119.8 kB / 0.6506 GB, free: 5.059 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008913/1.001, allocations: 0.6287 MB / 0.6512 GB, free: 4.422 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001246/1.002, allocations: 49.7 kB / 0.6513 GB, free: 4.367 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003816/1.002, allocations: 476.3 kB / 0.6517 GB, free: 3.895 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003386/1.002, allocations: 356.9 kB / 0.6521 GB, free: 3.543 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004264/1.003, allocations: 254.8 kB / 0.6523 GB, free: 3.285 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/1.003, allocations: 386.8 kB / 0.6527 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/1.004, allocations: 0.6807 MB / 0.6534 GB, free: 2.203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/1.006, allocations: 1.058 MB / 0.6544 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002893/1.009, allocations: 1.658 MB / 0.656 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/1.009, allocations: 4 kB / 0.656 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004072/1.013, allocations: 1.969 MB / 0.6579 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.134e-05/1.013, allocations: 67.39 kB / 0.658 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/1.013, allocations: 12 kB / 0.658 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/1.014, allocations: 313 kB / 0.6583 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/1.015, allocations: 272.7 kB / 0.6586 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/1.017, allocations: 0.9036 MB / 0.6595 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009794/1.018, allocations: 68.03 kB / 0.6595 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/1.018, allocations: 63.97 kB / 0.6596 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001694/1.02, allocations: 0.904 MB / 0.6605 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001613/1.021, allocations: 1.05 MB / 0.6615 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002869/1.024, allocations: 1.635 MB / 0.6631 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.125e-06/1.024, allocations: 4 kB / 0.6631 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.004041/1.028, allocations: 1.945 MB / 0.665 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.689e-05/1.028, allocations: 71.95 kB / 0.6651 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.028, allocations: 12 kB / 0.6651 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/1.03, allocations: 304.6 kB / 0.6654 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.031, allocations: 275.5 kB / 0.6656 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/1.033, allocations: 0.9075 MB / 0.6665 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/1.034, allocations: 64.78 kB / 0.6666 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/1.034, allocations: 71.97 kB / 0.6666 GB, free: 3.793 MB / 0.4981 GB 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.0005785/1.035, allocations: 264.6 kB / 0.6669 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/1.035, allocations: 87.48 kB / 0.667 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003927/1.039, allocations: 1.951 MB / 0.6689 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/1.039, allocations: 8 kB / 0.6689 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/1.039, allocations: 11.88 kB / 0.6689 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/1.039, allocations: 3.984 kB / 0.6689 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005393/1.044, allocations: 2.703 MB / 0.6715 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/1.044, allocations: 7.984 kB / 0.6716 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008357/1.045, allocations: 183.7 kB / 0.6717 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001713/1.047, allocations: 380.6 kB / 0.6721 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/1.047, allocations: 39.97 kB / 0.6721 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/1.048, allocations: 0.8724 MB / 0.673 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.048, allocations: 4 kB / 0.673 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004528/1.053, allocations: 2.379 MB / 0.6753 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007286/1.054, allocations: 239.2 kB / 0.6755 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/1.054, allocations: 27.95 kB / 0.6756 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000829/1.055, allocations: 59.94 kB / 0.6756 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/1.055, allocations: 72.86 kB / 0.6757 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/1.055, allocations: 59.91 kB / 0.6757 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000608/1.055, allocations: 447 kB / 0.6762 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/1.055, allocations: 4 kB / 0.6762 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003268/1.059, allocations: 1.157 MB / 0.6773 GB, free: 8.699 MB / 0.5137 GB 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 (99): * Single equations (assignments): 96 * 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.002801/1.061, allocations: 1.065 MB / 0.6783 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005387/1.067, allocations: 2.588 MB / 0.6809 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.067, allocations: 0 / 0.6809 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/1.068, allocations: 0.7126 MB / 0.6816 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/1.071, allocations: 460 kB / 0.682 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00589/1.077, allocations: 2.603 MB / 0.6846 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007296/1.077, allocations: 0.5238 MB / 0.6851 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004966/1.078, allocations: 119.4 kB / 0.6852 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of SimCode: time 8.91e-07/1.078, allocations: 4 kB / 0.6852 GB, free: 500 kB / 0.5137 GB Notification: Performance of Templates: time 0.0507/1.129, allocations: 31.73 MB / 0.7162 GB, free: 0.8086 MB / 0.545 GB " [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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/TraceSubstances/RoomCO2/RoomCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.877304947935045]