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.00188/0.00188, allocations: 100.3 kB / 21.73 MB, free: 2.695 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.002098/0.002098, allocations: 165.2 kB / 25.02 MB, free: 8.949 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 1.429/1.429, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 178] 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 2.234e-06/2.234e-06, allocations: 0 / 250.4 MB, free: 7.918 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.277e-05/3.501e-05, allocations: 2.312 kB / 250.4 MB, free: 7.914 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.007004/0.007039, allocations: 4.416 MB / 254.8 MB, free: 3.48 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003358/0.0104, allocations: 1.282 MB / 256.1 MB, free: 2.188 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000736/0.01113, allocations: 15.94 kB / 256.1 MB, free: 2.172 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007097/0.01184, allocations: 166.5 kB / 256.2 MB, free: 2.008 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.01303, allocations: 337 kB / 256.6 MB, free: 1.676 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007314/0.01376, allocations: 231.5 kB / 256.8 MB, free: 1.445 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002007/0.01577, allocations: 1.195 MB / 258 MB, free: 248 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004986/0.01627, allocations: 230.5 kB / 258.2 MB, free: 4 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.01747, allocations: 0.6705 MB / 258.9 MB, free: 15.33 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007438/0.01822, allocations: 370.9 kB / 259.2 MB, free: 14.97 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.01846, allocations: 104 kB / 259.4 MB, free: 14.87 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.0187, allocations: 104 kB / 259.5 MB, free: 14.77 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.01895, allocations: 223.2 kB / 259.7 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005988/0.01954, allocations: 379.2 kB / 260 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.02109, allocations: 1.23 MB / 261.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.02109, allocations: 0 / 261.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.02109, allocations: 3.938 kB / 261.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.714e-05/0.02113, allocations: 4 kB / 261.3 MB, free: 12.93 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.002819/0.02395, allocations: 1.253 MB / 262.5 MB, free: 11.63 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.02399, allocations: 11.98 kB / 262.5 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003235/0.02431, allocations: 160.3 kB / 262.7 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.02534, allocations: 0.5025 MB / 263.2 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003493/0.02569, allocations: 297.2 kB / 263.5 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.02584, allocations: 76.38 kB / 263.6 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/0.02801, allocations: 1.601 MB / 265.2 MB, free: 8.625 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.02803, allocations: 192 / 265.2 MB, free: 8.625 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.651e-05/0.02812, allocations: 32.12 kB / 265.2 MB, free: 8.594 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.02813, allocations: 16 kB / 265.2 MB, free: 8.578 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.02951, allocations: 0.5517 MB / 265.8 MB, free: 8.027 MB / 250.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.003625/0.03313, allocations: 1.566 MB / 267.3 MB, free: 6.43 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.03502, allocations: 0.693 MB / 268 MB, free: 5.727 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007598/0.03578, allocations: 330.8 kB / 268.3 MB, free: 5.402 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.071e-05/0.03584, allocations: 17.31 kB / 268.4 MB, free: 5.383 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.03589, allocations: 51.22 kB / 268.4 MB, free: 5.324 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 2.625e-06/0.03589, allocations: 0 / 268.4 MB, free: 5.324 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.005316/0.04121, allocations: 1.445 MB / 269.9 MB, free: 3.863 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005565/0.04176, allocations: 0.8234 MB / 270.7 MB, free: 2.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008994/0.04266, allocations: 0.5733 MB / 271.3 MB, free: 2.254 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.04277, allocations: 53.64 kB / 271.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.04313, allocations: 341.2 kB / 271.6 MB, free: 1.859 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.04342, allocations: 261.7 kB / 271.9 MB, free: 1.602 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/0.0437, allocations: 146.7 kB / 272 MB, free: 1.453 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002437/0.04395, allocations: 382.8 kB / 272.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006933/0.04464, allocations: 323 kB / 272.7 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.04619, allocations: 1.363 MB / 274.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.0475, allocations: 0.6389 MB / 274.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.04751, allocations: 0 / 274.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002889/0.0504, allocations: 1.147 MB / 275.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-05/0.05049, allocations: 97.03 kB / 276 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.0505, allocations: 0 / 276 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.05164, allocations: 263.2 kB / 276.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/0.05228, allocations: 131.8 kB / 276.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009373/0.06166, allocations: 6.403 MB / 282.8 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000907/0.06256, allocations: 83.62 kB / 282.8 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.593e-05/0.06266, allocations: 32.05 kB / 282.9 MB, free: 5.77 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.0004451/0.06311, allocations: 213.7 kB / 283.1 MB, free: 5.551 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.06336, allocations: 111.5 kB / 283.2 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.06356, allocations: 82.98 kB / 283.3 MB, free: 5.359 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.06357, allocations: 11.98 kB / 283.3 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.06358, allocations: 0 / 283.3 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002668/0.06625, allocations: 1.186 MB / 284.5 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004154/0.0704, allocations: 1.598 MB / 286.1 MB, free: 2.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.07041, allocations: 0 / 286.1 MB, free: 2.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006661/0.07107, allocations: 131.9 kB / 286.2 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009485/0.07202, allocations: 238.4 kB / 286.4 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.842e-05/0.07208, allocations: 20 kB / 286.5 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007436/0.07952, allocations: 4.909 MB / 291.4 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.07952, allocations: 0 / 291.4 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003697/0.08322, allocations: 1.336 MB / 292.7 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005548/0.08377, allocations: 155.4 kB / 292.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/0.084, allocations: 20 kB / 292.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006898/0.08469, allocations: 39.97 kB / 292.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/0.08491, allocations: 60.48 kB / 293 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.061e-05/0.08497, allocations: 20.11 kB / 293 MB, free: 11.13 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006153/0.08558, allocations: 406.8 kB / 293.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.08558, allocations: 4 kB / 293.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001023/0.0866, allocations: 291.7 kB / 293.7 MB, free: 10.45 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.0002198/0.08682, allocations: 119.2 kB / 293.8 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002393/0.08922, allocations: 1.347 MB / 295.1 MB, free: 8.875 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.08922, allocations: 4 kB / 295.1 MB, free: 8.871 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.09038, allocations: 0.6753 MB / 295.8 MB, free: 8.152 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.09151, allocations: 238.9 kB / 296 MB, free: 7.918 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/0.09472, allocations: 1.493 MB / 297.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.09514, allocations: 345.3 kB / 297.9 MB, free: 6.016 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004184/0.09556, allocations: 98 kB / 298 MB, free: 5.918 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.09576, allocations: 64.48 kB / 298 MB, free: 5.852 MB / 282.7 MB Notification: Performance of SimCode: time 9.31e-07/0.09576, allocations: 0 / 298 MB, free: 5.852 MB / 282.7 MB Notification: Performance of Templates: time 0.03282/0.1286, allocations: 18.23 MB / 316.3 MB, free: 3.629 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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: 5.263765144976787]