Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.0009476/0.0009476, allocations: 85.91 kB / 22.22 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.0009409/0.0009409, allocations: 160.1 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.9171/0.9171, allocations: 177 MB / 205.9 MB, free: 4.422 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.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 4 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.999e-05, allocations: 2.312 kB / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004301/0.004321, allocations: 4.871 MB / 279 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.006449, allocations: 1.298 MB / 280.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003523/0.006801, allocations: 19.88 kB / 280.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.007141, allocations: 158.6 kB / 280.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005872/0.007728, allocations: 348.9 kB / 280.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.008129, allocations: 227.5 kB / 281 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.00922, allocations: 1.199 MB / 282.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/0.009507, allocations: 222.4 kB / 282.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005796/0.01009, allocations: 0.6783 MB / 283.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003729/0.01046, allocations: 370.9 kB / 283.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.797e-05/0.01056, allocations: 100 kB / 283.6 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.921e-05/0.01066, allocations: 104 kB / 283.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.01078, allocations: 227.2 kB / 283.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002763/0.01105, allocations: 383.2 kB / 284.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006107/0.01166, allocations: 0.7669 MB / 285 MB, free: 9.309 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.01167, allocations: 4 kB / 285 MB, free: 9.305 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01167, allocations: 0 / 285 MB, free: 9.305 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.587e-06/0.01168, allocations: 0 / 285 MB, free: 9.305 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.0016/0.01328, allocations: 1.365 MB / 286.4 MB, free: 7.883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.01331, allocations: 19.95 kB / 286.4 MB, free: 7.863 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.01348, allocations: 164.2 kB / 286.6 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.01393, allocations: 468 kB / 287 MB, free: 7.219 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.01409, allocations: 297.2 kB / 287.3 MB, free: 6.875 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-05/0.01417, allocations: 80.36 kB / 287.4 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008383/0.01501, allocations: 1.472 MB / 288.9 MB, free: 5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.01503, allocations: 192 / 288.9 MB, free: 5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/0.01507, allocations: 32.12 kB / 288.9 MB, free: 4.969 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.01508, allocations: 16 kB / 288.9 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.0154, allocations: 250.1 kB / 289.2 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.01712, allocations: 1.417 MB / 290.6 MB, free: 3.262 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006269/0.01775, allocations: 416.9 kB / 291 MB, free: 2.844 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.01795, allocations: 186.1 kB / 291.2 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.01799, allocations: 12.66 kB / 291.2 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.01802, allocations: 54.03 kB / 291.2 MB, free: 2.582 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.034e-06/0.01802, allocations: 0 / 291.2 MB, free: 2.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001812/0.01984, allocations: 0.9564 MB / 292.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005082/0.02034, allocations: 0.8273 MB / 293 MB, free: 0.582 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.0207, allocations: 0.5608 MB / 293.6 MB, free: 4 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.02075, allocations: 46.03 kB / 293.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.02094, allocations: 407.8 kB / 294 MB, free: 15.55 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.02107, allocations: 265.6 kB / 294.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.02122, allocations: 160.1 kB / 294.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.02137, allocations: 0.5702 MB / 295 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.02153, allocations: 171 kB / 295.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005021/0.02203, allocations: 1.267 MB / 296.4 MB, free: 12.74 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.02237, allocations: 390.6 kB / 296.8 MB, free: 12.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02237, allocations: 0 / 296.8 MB, free: 12.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001123/0.0235, allocations: 0.8064 MB / 297.6 MB, free: 11.46 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.692e-05/0.02354, allocations: 89.09 kB / 297.7 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.02355, allocations: 7.938 kB / 297.7 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000386/0.02394, allocations: 182.6 kB / 297.9 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.02427, allocations: 127.9 kB / 298 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00411/0.02838, allocations: 7.669 MB / 305.7 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.02874, allocations: 87.7 kB / 305.8 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.02877, allocations: 16 kB / 305.8 MB, free: 2.805 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.02894, allocations: 208.5 kB / 306 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.02905, allocations: 107.5 kB / 306.1 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/0.02937, allocations: 86.75 kB / 306.2 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.02937, allocations: 8 kB / 306.2 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.02938, allocations: 11.92 kB / 306.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007858/0.03016, allocations: 0.8626 MB / 307.1 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.03161, allocations: 1.267 MB / 308.3 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.03161, allocations: 0 / 308.3 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.03192, allocations: 124 kB / 308.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003012/0.03222, allocations: 151 kB / 308.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.03225, allocations: 23.98 kB / 308.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/0.0352, allocations: 5.812 MB / 314.5 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.03521, allocations: 11.88 kB / 314.5 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.03622, allocations: 0.8661 MB / 315.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.03641, allocations: 163.2 kB / 315.5 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.068e-05/0.03647, allocations: 16 kB / 315.5 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.03676, allocations: 35.97 kB / 315.5 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.03685, allocations: 60.55 kB / 315.6 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.03687, allocations: 15.98 kB / 315.6 MB, free: 8.414 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002159/0.03709, allocations: 358.6 kB / 316 MB, free: 8.066 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.03709, allocations: 7.938 kB / 316 MB, free: 8.059 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005309/0.03762, allocations: 295.7 kB / 316.3 MB, free: 7.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001182/0.03774, allocations: 119.3 kB / 316.4 MB, free: 7.641 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008779/0.03862, allocations: 1.323 MB / 317.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.03862, allocations: 0 / 317.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000428/0.03905, allocations: 0.7362 MB / 318.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005563/0.0396, allocations: 232.5 kB / 318.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.04152, allocations: 1.418 MB / 320.1 MB, free: 3.707 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.04165, allocations: 173 kB / 320.3 MB, free: 3.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005443/0.0422, allocations: 94 kB / 320.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007151/0.04291, allocations: 425.9 kB / 320.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of SimCode: time 9.31e-07/0.04291, allocations: 0 / 320.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of Templates: time 0.02553/0.06844, allocations: 20.09 MB / 340.8 MB, free: 15.27 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.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.22535951808095]