Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001288/0.001288, allocations: 85.83 kB / 20.68 MB, free: 1.035 MB / 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.001453/0.001453, allocations: 165.4 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 325.1 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.182e-05, allocations: 3.188 kB / 325.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005616/0.005638, allocations: 4.441 MB / 329.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.008028, allocations: 1.275 MB / 330.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003018/0.00833, allocations: 12.97 kB / 330.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004284/0.008759, allocations: 157.6 kB / 330.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006832/0.009442, allocations: 342.7 kB / 331.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.009895, allocations: 230 kB / 331.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.01114, allocations: 1.203 MB / 332.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003732/0.01152, allocations: 229.5 kB / 332.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007523/0.01227, allocations: 0.6694 MB / 333.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006794/0.01295, allocations: 367.1 kB / 334 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.01315, allocations: 101.6 kB / 334.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.01339, allocations: 102.9 kB / 334.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.01361, allocations: 224.8 kB / 334.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004479/0.01406, allocations: 388.9 kB / 334.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.01531, allocations: 1.219 MB / 336 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.01532, allocations: 1.406 kB / 336 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01532, allocations: 0 / 336 MB, free: 9.328 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.01533, allocations: 0 / 336 MB, free: 9.328 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.00237/0.0177, allocations: 1.259 MB / 337.2 MB, free: 8.355 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.01773, allocations: 10.19 kB / 337.3 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.01793, allocations: 114.2 kB / 337.4 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008424/0.01877, allocations: 0.5014 MB / 337.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002986/0.01907, allocations: 299.6 kB / 338.2 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.01918, allocations: 60.75 kB / 338.2 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.02099, allocations: 1.595 MB / 339.8 MB, free: 5.977 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.02101, allocations: 1.312 kB / 339.8 MB, free: 5.977 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-05/0.02109, allocations: 32.06 kB / 339.8 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.0211, allocations: 14.5 kB / 339.9 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.02238, allocations: 0.5576 MB / 340.4 MB, free: 5.398 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.003259/0.02564, allocations: 1.558 MB / 342 MB, free: 3.805 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.02746, allocations: 0.6953 MB / 342.7 MB, free: 3.094 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007393/0.0282, allocations: 330.7 kB / 343 MB, free: 2.766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.392e-05/0.02825, allocations: 12.66 kB / 343 MB, free: 2.754 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.418e-05/0.02831, allocations: 51.22 kB / 343.1 MB, free: 2.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.545e-06/0.02831, allocations: 0 / 343.1 MB, free: 2.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005147/0.03346, allocations: 1.418 MB / 344.5 MB, free: 1.258 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004577/0.03391, allocations: 0.8272 MB / 345.3 MB, free: 240 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007564/0.03467, allocations: 0.5656 MB / 345.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.619e-05/0.03475, allocations: 45.7 kB / 345.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.03505, allocations: 353.1 kB / 346.3 MB, free: 15.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.03528, allocations: 257.7 kB / 346.5 MB, free: 15.01 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002597/0.03554, allocations: 152.2 kB / 346.7 MB, free: 14.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.03575, allocations: 382.8 kB / 347 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006496/0.0364, allocations: 323 kB / 347.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.03775, allocations: 1.356 MB / 348.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.03908, allocations: 0.6349 MB / 349.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.03909, allocations: 0 / 349.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002762/0.04185, allocations: 1.119 MB / 350.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.541e-05/0.04193, allocations: 97.03 kB / 350.5 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.04194, allocations: 3.938 kB / 350.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007718/0.04271, allocations: 231.3 kB / 350.8 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.04333, allocations: 131.8 kB / 350.9 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00867/0.052, allocations: 6.384 MB / 357.3 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.05307, allocations: 83.62 kB / 357.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/0.05314, allocations: 27.98 kB / 357.4 MB, free: 3.246 MB / 318.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.0003842/0.05352, allocations: 213.7 kB / 357.6 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.05369, allocations: 91.41 kB / 357.7 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.05386, allocations: 82.75 kB / 357.8 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.05386, allocations: 12 kB / 357.8 MB, free: 2.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.05387, allocations: 0 / 357.8 MB, free: 2.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002488/0.05636, allocations: 1.186 MB / 359 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00378/0.06014, allocations: 1.606 MB / 360.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.06014, allocations: 0 / 360.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006811/0.06082, allocations: 127.8 kB / 360.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006022/0.06142, allocations: 202.5 kB / 360.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.318e-05/0.06148, allocations: 16.19 kB / 360.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006873/0.06835, allocations: 4.898 MB / 365.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.06835, allocations: 0 / 365.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003324/0.07167, allocations: 1.321 MB / 367.1 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000483/0.07216, allocations: 151.4 kB / 367.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/0.07237, allocations: 20 kB / 367.3 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007384/0.0731, allocations: 35.97 kB / 367.3 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.0733, allocations: 64.53 kB / 367.4 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.07334, allocations: 20 kB / 367.4 MB, free: 8.691 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005874/0.07393, allocations: 406.8 kB / 367.8 MB, free: 8.297 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.07393, allocations: 0 / 367.8 MB, free: 8.297 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001074/0.07501, allocations: 283.7 kB / 368.1 MB, free: 8.02 MB / 334.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.0002168/0.07522, allocations: 137 kB / 368.2 MB, free: 7.883 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002369/0.07759, allocations: 1.345 MB / 369.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.0776, allocations: 0 / 369.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.07872, allocations: 0.6714 MB / 370.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.07978, allocations: 214.2 kB / 370.5 MB, free: 5.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.0829, allocations: 1.491 MB / 371.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.08329, allocations: 337.3 kB / 372.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003929/0.08368, allocations: 98.02 kB / 372.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.08388, allocations: 68.48 kB / 372.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.08388, allocations: 3.938 kB / 372.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of Templates: time 0.03278/0.1167, allocations: 18.19 MB / 390.6 MB, free: 1.605 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.021102502942085]