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.0008045/0.0008045, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008201/0.0008201, allocations: 162.8 kB / 25.45 MB, free: 8.855 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.8442/0.8442, allocations: 158.6 MB / 187.2 MB, free: 3.047 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 2.515e-06/2.515e-06, allocations: 0 / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.161e-05, allocations: 6.281 kB / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006064/0.006095, allocations: 4.397 MB / 304.1 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002761/0.008856, allocations: 1.29 MB / 305.4 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000466/0.009322, allocations: 11.94 kB / 305.4 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004908/0.009813, allocations: 162.5 kB / 305.6 MB, free: 1.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008071/0.01062, allocations: 341 kB / 305.9 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.01112, allocations: 235.5 kB / 306.1 MB, free: 464 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.01229, allocations: 1.199 MB / 307.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.01264, allocations: 222.5 kB / 307.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007799/0.01342, allocations: 0.6666 MB / 308.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004708/0.01389, allocations: 378.9 kB / 308.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.01406, allocations: 100 kB / 308.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.01422, allocations: 104 kB / 308.8 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.01434, allocations: 223.2 kB / 309 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003229/0.01466, allocations: 383.2 kB / 309.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009505/0.01561, allocations: 1.234 MB / 310.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.01562, allocations: 0 / 310.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.01562, allocations: 3.938 kB / 310.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.01e-05/0.01565, allocations: 0 / 310.6 MB, free: 11.95 MB / 298.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.001801/0.01745, allocations: 1.261 MB / 311.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.0175, allocations: 11.98 kB / 311.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.01766, allocations: 112.3 kB / 312 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007591/0.01842, allocations: 498.5 kB / 312.5 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.01862, allocations: 301.2 kB / 312.8 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.397e-05/0.01869, allocations: 60.38 kB / 312.8 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.01988, allocations: 1.605 MB / 314.4 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.0199, allocations: 192 / 314.4 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.114e-05/0.01995, allocations: 32.12 kB / 314.5 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.01996, allocations: 12 kB / 314.5 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007427/0.0207, allocations: 0.5478 MB / 315 MB, free: 7.113 MB / 298.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.002164/0.02287, allocations: 1.569 MB / 316.6 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.02391, allocations: 0.6926 MB / 317.3 MB, free: 4.809 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004192/0.02433, allocations: 330.7 kB / 317.6 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-05/0.02438, allocations: 16.64 kB / 317.6 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.02441, allocations: 47.22 kB / 317.7 MB, free: 4.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 3.377e-06/0.02442, allocations: 3.938 kB / 317.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.002547/0.02696, allocations: 1.426 MB / 319.1 MB, free: 2.961 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002683/0.02723, allocations: 0.8234 MB / 319.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/0.02772, allocations: 0.5694 MB / 320.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.02778, allocations: 45.7 kB / 320.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.02796, allocations: 341.2 kB / 320.9 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.02812, allocations: 269.7 kB / 321.1 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.02827, allocations: 142.7 kB / 321.3 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.0284, allocations: 378.8 kB / 321.6 MB, free: 192 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003965/0.0288, allocations: 335 kB / 322 MB, free: 15.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007729/0.02957, allocations: 1.36 MB / 323.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/0.03028, allocations: 0.635 MB / 324 MB, free: 13.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.03028, allocations: 0 / 324 MB, free: 13.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001407/0.03169, allocations: 1.119 MB / 325.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.372e-05/0.03176, allocations: 89.05 kB / 325.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.03176, allocations: 0 / 325.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004471/0.03221, allocations: 231.3 kB / 325.4 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.03251, allocations: 131.8 kB / 325.5 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004659/0.03716, allocations: 6.399 MB / 331.9 MB, free: 5.059 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005168/0.03768, allocations: 83.62 kB / 332 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.03772, allocations: 24 kB / 332 MB, free: 4.953 MB / 314.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.0002841/0.038, allocations: 213.8 kB / 332.2 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.66e-05/0.0381, allocations: 91.47 kB / 332.3 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.79e-05/0.0382, allocations: 86.73 kB / 332.4 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.0382, allocations: 8 kB / 332.4 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.03821, allocations: 192 / 332.4 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001271/0.03948, allocations: 1.182 MB / 333.6 MB, free: 3.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.0416, allocations: 1.602 MB / 335.2 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.0416, allocations: 4 kB / 335.2 MB, free: 1.594 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.04192, allocations: 131.9 kB / 335.3 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003143/0.04223, allocations: 202.4 kB / 335.5 MB, free: 1.258 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.04227, allocations: 15.98 kB / 335.5 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003425/0.04569, allocations: 4.893 MB / 340.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.04569, allocations: 4.031 kB / 340.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.04739, allocations: 1.313 MB / 341.8 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.04766, allocations: 155.4 kB / 341.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.703e-05/0.04772, allocations: 20 kB / 341.9 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.04802, allocations: 35.97 kB / 342 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.04815, allocations: 64.55 kB / 342 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.04818, allocations: 19.98 kB / 342 MB, free: 10.4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003412/0.04852, allocations: 410.8 kB / 342.4 MB, free: 10 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.04852, allocations: 0 / 342.4 MB, free: 10 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006746/0.0492, allocations: 287.7 kB / 342.7 MB, free: 9.723 MB / 330.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.0001454/0.04934, allocations: 127.1 kB / 342.9 MB, free: 9.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.05069, allocations: 1.337 MB / 344.2 MB, free: 8.145 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.0507, allocations: 4 kB / 344.2 MB, free: 8.141 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005968/0.05129, allocations: 0.6716 MB / 344.9 MB, free: 7.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006452/0.05194, allocations: 222.8 kB / 345.1 MB, free: 7.215 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.05387, allocations: 1.496 MB / 346.6 MB, free: 5.676 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.05412, allocations: 349.2 kB / 346.9 MB, free: 5.305 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.05426, allocations: 72.48 kB / 347 MB, free: 5.234 MB / 330.7 MB Notification: Performance of SimCode: time 1.323e-06/0.05426, allocations: 0 / 347 MB, free: 5.234 MB / 330.7 MB Notification: Performance of Templates: time 0.146/0.2003, allocations: 22.22 MB / 369.2 MB, free: 52.8 MB / 330.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.9868105901405215]