Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 84.39 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 170.8 kB / 25.61 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9478/0.9478, allocations: 158.6 MB / 187.5 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.326e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005487/0.005521, allocations: 4.86 MB / 256.3 MB, free: 2.371 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.007891, allocations: 1.301 MB / 257.6 MB, free: 1.055 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004167/0.008308, allocations: 11.94 kB / 257.6 MB, free: 1.043 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.008702, allocations: 162.6 kB / 257.8 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006486/0.009351, allocations: 341 kB / 258.1 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.009814, allocations: 235.5 kB / 258.4 MB, free: 324 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.01133, allocations: 1.206 MB / 259.6 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/0.01168, allocations: 230.5 kB / 259.8 MB, free: 14.87 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007099/0.01239, allocations: 0.6743 MB / 260.5 MB, free: 14.19 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003679/0.01276, allocations: 371 kB / 260.8 MB, free: 13.83 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.01287, allocations: 100 kB / 260.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.01298, allocations: 104 kB / 261 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.0131, allocations: 223.2 kB / 261.2 MB, free: 13.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.01337, allocations: 383.2 kB / 261.6 MB, free: 13.04 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006426/0.01401, allocations: 0.7785 MB / 262.4 MB, free: 12.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.01402, allocations: 0 / 262.4 MB, free: 12.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01402, allocations: 0 / 262.4 MB, free: 12.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.01403, allocations: 0 / 262.4 MB, free: 12.25 MB / 250.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.001471/0.0155, allocations: 1.372 MB / 263.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.01554, allocations: 11.98 kB / 263.8 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.0157, allocations: 164.3 kB / 263.9 MB, free: 10.65 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/0.01617, allocations: 468 kB / 264.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.01635, allocations: 301.1 kB / 264.7 MB, free: 9.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.869e-05/0.01643, allocations: 76.36 kB / 264.8 MB, free: 9.746 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.01756, allocations: 1.48 MB / 266.2 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.01758, allocations: 192 / 266.2 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/0.01762, allocations: 32.12 kB / 266.3 MB, free: 7.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.01764, allocations: 12 kB / 266.3 MB, free: 7.898 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/0.01796, allocations: 242.2 kB / 266.5 MB, free: 7.66 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.01977, allocations: 1.421 MB / 267.9 MB, free: 6.211 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006348/0.0204, allocations: 424 kB / 268.4 MB, free: 5.785 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.02061, allocations: 173.3 kB / 268.5 MB, free: 5.613 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.02065, allocations: 20.66 kB / 268.5 MB, free: 5.59 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.02068, allocations: 50.05 kB / 268.6 MB, free: 5.531 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 2.235e-06/0.02068, allocations: 0 / 268.6 MB, free: 5.531 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.001761/0.02245, allocations: 0.968 MB / 269.6 MB, free: 4.543 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002498/0.0227, allocations: 0.8234 MB / 270.4 MB, free: 3.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.02308, allocations: 0.5531 MB / 270.9 MB, free: 2.949 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.02313, allocations: 45.7 kB / 271 MB, free: 2.898 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.02334, allocations: 415.8 kB / 271.4 MB, free: 2.484 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.02348, allocations: 257.7 kB / 271.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.02363, allocations: 156.2 kB / 271.8 MB, free: 2.07 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.02379, allocations: 0.5624 MB / 272.4 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/0.02423, allocations: 180.7 kB / 272.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005363/0.02477, allocations: 1.271 MB / 273.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.02512, allocations: 394.6 kB / 274.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.02513, allocations: 8 kB / 274.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000915/0.02604, allocations: 0.8024 MB / 275 MB, free: 14.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.398e-05/0.0261, allocations: 89.11 kB / 275.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.02611, allocations: 7.922 kB / 275.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003974/0.0265, allocations: 178.7 kB / 275.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.02679, allocations: 127.8 kB / 275.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004437/0.03123, allocations: 7.672 MB / 283.1 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005385/0.03177, allocations: 83.52 kB / 283.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.0318, allocations: 20 kB / 283.2 MB, free: 5.75 MB / 266.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.0002551/0.03206, allocations: 212.4 kB / 283.4 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.03219, allocations: 107.5 kB / 283.5 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.186e-05/0.03228, allocations: 82.75 kB / 283.6 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.03228, allocations: 11.94 kB / 283.6 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.03229, allocations: 4.188 kB / 283.6 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000842/0.03313, allocations: 0.8782 MB / 284.5 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.03464, allocations: 1.26 MB / 285.7 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.03464, allocations: 0 / 285.7 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.03494, allocations: 123.9 kB / 285.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003019/0.03524, allocations: 155 kB / 286 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.03527, allocations: 23.98 kB / 286 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0035/0.03877, allocations: 5.819 MB / 291.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.03877, allocations: 7.938 kB / 291.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.03985, allocations: 0.8623 MB / 292.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.04009, allocations: 159.2 kB / 292.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/0.04014, allocations: 20 kB / 292.9 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.04041, allocations: 39.91 kB / 292.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.04053, allocations: 64.53 kB / 293 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.04055, allocations: 12 kB / 293 MB, free: 11.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002523/0.0408, allocations: 362.6 kB / 293.3 MB, free: 11 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0408, allocations: 4 kB / 293.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009654/0.04177, allocations: 287.7 kB / 293.6 MB, free: 10.71 MB / 282.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.0004551/0.04222, allocations: 115.3 kB / 293.7 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.04323, allocations: 1.318 MB / 295.1 MB, free: 9.137 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.04323, allocations: 4 kB / 295.1 MB, free: 9.133 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004476/0.04368, allocations: 0.7401 MB / 295.8 MB, free: 8.332 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.04427, allocations: 222.9 kB / 296 MB, free: 8.117 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.04633, allocations: 1.422 MB / 297.4 MB, free: 6.648 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.04645, allocations: 169 kB / 297.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002569/0.04671, allocations: 94.02 kB / 297.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005807/0.04729, allocations: 421.9 kB / 298.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.04729, allocations: 0 / 298.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of Templates: time 0.02175/0.06905, allocations: 19.66 MB / 317.8 MB, free: 2.297 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.2105013048276305]