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.001697/0.001697, allocations: 84.69 kB / 21.43 MB, free: 296 kB / 14.72 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.002376/0.002376, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 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.426/1.426, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 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.855e-06/2.855e-06, allocations: 0 / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.39e-05/3.676e-05, allocations: 2.281 kB / 299 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.007095/0.007131, allocations: 4.408 MB / 303.4 MB, free: 4.293 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003126/0.01026, allocations: 1.282 MB / 304.6 MB, free: 3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004496/0.01071, allocations: 11.94 kB / 304.7 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000518/0.01123, allocations: 158.5 kB / 304.8 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008036/0.01203, allocations: 345 kB / 305.1 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.01257, allocations: 235.5 kB / 305.4 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001768/0.01434, allocations: 1.207 MB / 306.6 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004652/0.0148, allocations: 222.5 kB / 306.8 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008852/0.01569, allocations: 0.6628 MB / 307.5 MB, free: 164 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006544/0.01634, allocations: 378.9 kB / 307.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002294/0.01657, allocations: 100 kB / 307.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.01677, allocations: 104 kB / 308 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.01701, allocations: 227.2 kB / 308.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005794/0.01759, allocations: 383.2 kB / 308.6 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.01922, allocations: 1.234 MB / 309.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.01923, allocations: 0 / 309.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01923, allocations: 0 / 309.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.01924, allocations: 0 / 309.9 MB, free: 13.75 MB / 302.1 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.002672/0.02192, allocations: 1.261 MB / 311.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.02195, allocations: 11.98 kB / 311.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.02217, allocations: 112.3 kB / 311.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.02332, allocations: 498.5 kB / 311.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003381/0.02366, allocations: 297.2 kB / 312 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.02377, allocations: 64.36 kB / 312.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.02597, allocations: 1.605 MB / 313.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.02599, allocations: 192 / 313.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-05/0.02607, allocations: 32.12 kB / 313.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.804e-05/0.02613, allocations: 12 kB / 313.7 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.02747, allocations: 0.5478 MB / 314.3 MB, free: 8.918 MB / 302.1 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.003616/0.03108, allocations: 1.565 MB / 315.8 MB, free: 7.316 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.03295, allocations: 0.6948 MB / 316.5 MB, free: 6.613 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007455/0.0337, allocations: 330.7 kB / 316.9 MB, free: 6.285 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.672e-05/0.03376, allocations: 12.66 kB / 316.9 MB, free: 6.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.0338, allocations: 51.2 kB / 316.9 MB, free: 6.215 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.615e-06/0.03381, allocations: 0 / 316.9 MB, free: 6.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005375/0.03918, allocations: 1.426 MB / 318.3 MB, free: 4.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007869/0.03997, allocations: 0.8273 MB / 319.2 MB, free: 3.746 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.04099, allocations: 0.5655 MB / 319.7 MB, free: 3.176 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.261e-05/0.04109, allocations: 45.7 kB / 319.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004243/0.04151, allocations: 341.2 kB / 320.1 MB, free: 2.785 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004407/0.04195, allocations: 269.7 kB / 320.4 MB, free: 2.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002781/0.04223, allocations: 142.7 kB / 320.5 MB, free: 2.375 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002542/0.04248, allocations: 378.8 kB / 320.9 MB, free: 1.996 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006609/0.04315, allocations: 335 kB / 321.2 MB, free: 1.648 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.147/0.1901, allocations: 1.356 MB / 322.6 MB, free: 34.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.1914, allocations: 0.6286 MB / 323.2 MB, free: 33.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1914, allocations: 1.75 kB / 323.2 MB, free: 33.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002433/0.1939, allocations: 1.119 MB / 324.3 MB, free: 33.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.1939, allocations: 92.31 kB / 324.4 MB, free: 33.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1939, allocations: 2.031 kB / 324.4 MB, free: 33.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007128/0.1946, allocations: 239 kB / 324.6 MB, free: 33.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/0.1952, allocations: 124 kB / 324.8 MB, free: 33.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006359/0.2016, allocations: 6.383 MB / 331.2 MB, free: 27.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008572/0.2024, allocations: 86.7 kB / 331.2 MB, free: 27.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.2025, allocations: 26.53 kB / 331.3 MB, free: 27.88 MB / 302.1 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.0003111/0.2028, allocations: 216.3 kB / 331.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.2029, allocations: 89.28 kB / 331.6 MB, free: 27.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.2031, allocations: 90.7 kB / 331.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.2031, allocations: 8.281 kB / 331.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2031, allocations: 3.875 kB / 331.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002143/0.2052, allocations: 1.178 MB / 332.8 MB, free: 26.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00347/0.2087, allocations: 1.612 MB / 334.5 MB, free: 26.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.2087, allocations: 1.75 kB / 334.5 MB, free: 26.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006274/0.2093, allocations: 127.9 kB / 334.6 MB, free: 26.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005438/0.2099, allocations: 198.8 kB / 334.8 MB, free: 25.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.2099, allocations: 14.78 kB / 334.8 MB, free: 25.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00502/0.2149, allocations: 4.901 MB / 339.7 MB, free: 21.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.215, allocations: 1.344 kB / 339.7 MB, free: 21.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002882/0.2178, allocations: 1.308 MB / 341 MB, free: 21.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003401/0.2182, allocations: 164.9 kB / 341.2 MB, free: 21.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.2183, allocations: 15.09 kB / 341.2 MB, free: 21.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006418/0.2189, allocations: 38.91 kB / 341.2 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.2191, allocations: 66.48 kB / 341.3 MB, free: 20.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.2191, allocations: 20.56 kB / 341.3 MB, free: 20.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004793/0.2196, allocations: 406.1 kB / 341.7 MB, free: 20.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2196, allocations: 0 / 341.7 MB, free: 20.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008762/0.2205, allocations: 288.6 kB / 342 MB, free: 20.76 MB / 302.1 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.000142/0.2206, allocations: 125.4 kB / 342.1 MB, free: 20.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.2224, allocations: 1.33 MB / 343.4 MB, free: 19.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.2224, allocations: 2.938 kB / 343.4 MB, free: 19.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008686/0.2233, allocations: 0.6673 MB / 344.1 MB, free: 19.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009181/0.2242, allocations: 221.2 kB / 344.3 MB, free: 19.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.2267, allocations: 1.49 MB / 345.8 MB, free: 18.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.227, allocations: 345 kB / 346.1 MB, free: 18.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003687/0.2273, allocations: 97.52 kB / 346.2 MB, free: 18.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.2275, allocations: 60.75 kB / 346.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2275, allocations: 1.281 kB / 346.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of Templates: time 0.02279/0.2503, allocations: 18.18 MB / 364.5 MB, free: 1.906 MB / 302.1 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.31305980309844]