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.0009556/0.0009556, allocations: 85.91 kB / 22.21 MB, free: 2.285 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.001115/0.001115, allocations: 159 kB / 25.61 MB, free: 8.582 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.9861/0.9861, allocations: 177 MB / 205.9 MB, free: 4.461 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.433e-06/1.433e-06, allocations: 0 / 274.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.59e-05, allocations: 5.156 kB / 274.1 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.3265/0.3265, allocations: 148.5 MB / 422.6 MB, free: 11.94 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006608/0.3331, allocations: 5.651 MB / 428.3 MB, free: 6.305 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005002/0.3336, allocations: 31.69 kB / 428.3 MB, free: 6.273 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006061/0.3342, allocations: 254.3 kB / 428.5 MB, free: 6.023 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00344/0.3377, allocations: 2.048 MB / 430.6 MB, free: 3.965 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.3406, allocations: 2.025 MB / 432.6 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001901/0.3425, allocations: 2.586 MB / 435.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006195/0.3431, allocations: 0.6967 MB / 435.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001616/0.3447, allocations: 1.622 MB / 437.5 MB, free: 13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009983/0.3457, allocations: 0.9781 MB / 438.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.3459, allocations: 120 kB / 438.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002922/0.3488, allocations: 2.234 MB / 440.8 MB, free: 9.668 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004065/0.3492, allocations: 0.5806 MB / 441.4 MB, free: 9.086 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004805/0.3497, allocations: 495.1 kB / 441.9 MB, free: 8.602 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002783/0.3525, allocations: 2.742 MB / 444.7 MB, free: 5.852 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3525, allocations: 0 / 444.7 MB, free: 5.852 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3525, allocations: 3.938 kB / 444.7 MB, free: 5.848 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.3525, allocations: 4 kB / 444.7 MB, free: 5.844 MB / 362.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.002447/0.3549, allocations: 1.824 MB / 446.5 MB, free: 3.965 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.355, allocations: 8.031 kB / 446.5 MB, free: 3.957 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/0.3553, allocations: 231 kB / 446.7 MB, free: 3.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006863/0.356, allocations: 0.6091 MB / 447.3 MB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.3561, allocations: 184.8 kB / 447.5 MB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.3562, allocations: 92 kB / 447.6 MB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.3572, allocations: 1.323 MB / 448.9 MB, free: 1.281 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.3573, allocations: 18.44 kB / 448.9 MB, free: 1.266 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.498e-05/0.3573, allocations: 39.98 kB / 449 MB, free: 1.227 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.88e-05/0.3574, allocations: 65.97 kB / 449 MB, free: 1.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000679/0.3581, allocations: 0.5364 MB / 449.6 MB, free: 0.625 MB / 362.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.004441/0.3625, allocations: 4.563 MB / 454.1 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007594/0.3633, allocations: 0.5139 MB / 454.7 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.3635, allocations: 182.6 kB / 454.8 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/0.3638, allocations: 132.9 kB / 455 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.3638, allocations: 50.39 kB / 455 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001842/0.364, allocations: 83.41 kB / 455.1 MB, free: 10.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 2.114e-06/0.364, allocations: 4 kB / 455.1 MB, free: 10.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.004899/0.3689, allocations: 2.459 MB / 457.6 MB, free: 8.461 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.3689, allocations: 119.8 kB / 457.7 MB, free: 8.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.3693, allocations: 0.612 MB / 458.3 MB, free: 7.695 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.459e-05/0.3694, allocations: 49.7 kB / 458.3 MB, free: 7.641 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.3696, allocations: 0.5146 MB / 458.8 MB, free: 7.117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.3699, allocations: 360.9 kB / 459.2 MB, free: 6.762 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/0.3701, allocations: 256.4 kB / 459.5 MB, free: 6.504 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004576/0.3706, allocations: 0.578 MB / 460 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.3709, allocations: 252.2 kB / 460.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005176/0.3714, allocations: 0.773 MB / 461 MB, free: 4.645 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008236/0.3722, allocations: 0.9689 MB / 462 MB, free: 3.473 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3722, allocations: 0 / 462 MB, free: 3.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.001249/0.3735, allocations: 1.097 MB / 463.1 MB, free: 2.336 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.3735, allocations: 63.41 kB / 463.2 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3735, allocations: 8 kB / 463.2 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004879/0.374, allocations: 175.5 kB / 463.4 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/0.3746, allocations: 271.5 kB / 463.6 MB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006208/0.3752, allocations: 0.8936 MB / 464.5 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006527/0.3758, allocations: 46.92 kB / 464.6 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.376, allocations: 59.97 kB / 464.6 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005868/0.3765, allocations: 392.7 kB / 465 MB, free: 392 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005373/0.3771, allocations: 0.773 MB / 465.8 MB, free: 15.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001049/0.3781, allocations: 0.9611 MB / 466.7 MB, free: 14.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.436e-06/0.3781, allocations: 4 kB / 466.7 MB, free: 14.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.001209/0.3793, allocations: 1.085 MB / 467.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.3794, allocations: 67.41 kB / 467.9 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3794, allocations: 15.98 kB / 467.9 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004548/0.3798, allocations: 167.8 kB / 468.1 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/0.3804, allocations: 267.5 kB / 468.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000465/0.3808, allocations: 0.8897 MB / 469.2 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.3812, allocations: 51.92 kB / 469.3 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.989e-05/0.3813, allocations: 64.12 kB / 469.3 MB, free: 11.54 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.0002206/0.3815, allocations: 351.7 kB / 469.7 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.3817, allocations: 119.5 kB / 469.8 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.3831, allocations: 1.187 MB / 471 MB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.3831, allocations: 15.98 kB / 471 MB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.3831, allocations: 0 / 471 MB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.3831, allocations: 11.92 kB / 471 MB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.3849, allocations: 1.615 MB / 472.6 MB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3849, allocations: 4 kB / 472.6 MB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.3853, allocations: 172 kB / 472.8 MB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006213/0.3859, allocations: 251.3 kB / 473 MB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/0.386, allocations: 35.98 kB / 473.1 MB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006968/0.3867, allocations: 0.8741 MB / 474 MB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3867, allocations: 7.938 kB / 474 MB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.3885, allocations: 1.32 MB / 475.3 MB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/0.3887, allocations: 203.2 kB / 475.5 MB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.291e-05/0.3888, allocations: 39.98 kB / 475.5 MB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.3892, allocations: 43.97 kB / 475.6 MB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.994e-05/0.3893, allocations: 76.8 kB / 475.6 MB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.026e-05/0.3894, allocations: 39.97 kB / 475.7 MB, free: 5.004 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000232/0.3896, allocations: 366.9 kB / 476 MB, free: 4.652 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3896, allocations: 0 / 476 MB, free: 4.652 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001966/0.3916, allocations: 0.9435 MB / 477 MB, free: 3.707 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.001421/0.393, allocations: 0.8237 MB / 477.8 MB, free: 2.883 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.3946, allocations: 1.514 MB / 479.3 MB, free: 1.293 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3946, allocations: 0 / 479.3 MB, free: 1.293 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004441/0.3951, allocations: 372.1 kB / 479.7 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.3962, allocations: 494.9 kB / 480.2 MB, free: 476 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/0.3992, allocations: 1.979 MB / 482.1 MB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.3994, allocations: 272.2 kB / 482.4 MB, free: 14.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007232/0.4002, allocations: 387.2 kB / 482.8 MB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008539/0.401, allocations: 0.5251 MB / 483.3 MB, free: 13.22 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.401, allocations: 0 / 483.3 MB, free: 13.22 MB / 410.7 MB Notification: Performance of Templates: time 0.1952/0.5962, allocations: 36.5 MB / 0.5076 GB, free: 60.21 MB / 410.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.497319552116096]