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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 106 kB / 21.18 MB, free: 0.707 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.547/1.547, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 59.91 kB / 347.7 MB, free: 9.555 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2784, allocations: 49.15 MB / 396.8 MB, free: 9.531 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005852/0.2842, allocations: 4.971 MB / 401.8 MB, free: 5.973 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002621/0.2869, allocations: 1.344 MB / 403.1 MB, free: 4.988 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004457/0.2873, allocations: 12.94 kB / 403.1 MB, free: 4.984 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004947/0.2878, allocations: 167.3 kB / 403.3 MB, free: 4.887 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006813/0.2885, allocations: 324 kB / 403.6 MB, free: 4.656 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005308/0.289, allocations: 223.5 kB / 403.8 MB, free: 4.535 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001139/0.2902, allocations: 1.159 MB / 405 MB, free: 3.945 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.2905, allocations: 230.7 kB / 405.2 MB, free: 3.805 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004599/0.291, allocations: 459.1 kB / 405.7 MB, free: 3.598 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005916/0.2916, allocations: 0.4973 MB / 406.2 MB, free: 3.344 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.2917, allocations: 101.4 kB / 406.3 MB, free: 3.344 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.2919, allocations: 103.7 kB / 406.4 MB, free: 3.344 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.2921, allocations: 225.8 kB / 406.6 MB, free: 3.191 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000444/0.2925, allocations: 0.5154 MB / 407.1 MB, free: 2.887 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0013/0.2938, allocations: 1.181 MB / 408.3 MB, free: 2.418 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2939, allocations: 0 / 408.3 MB, free: 2.418 MB / 318.1 MB
Notification: Performance of FrontEnd: time 2.194e-06/0.2939, allocations: 0.75 kB / 408.3 MB, free: 2.418 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 1.885e-05/0.2939, allocations: 0 / 408.3 MB, free: 2.418 MB / 318.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.002499/0.2964, allocations: 1.267 MB / 409.5 MB, free: 1.566 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.2964, allocations: 12.05 kB / 409.6 MB, free: 1.562 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.2966, allocations: 112.2 kB / 409.7 MB, free: 1.512 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009396/0.2976, allocations: 0.4923 MB / 410.2 MB, free: 1.16 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.2978, allocations: 146.8 kB / 410.3 MB, free: 1.043 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.2979, allocations: 64.41 kB / 410.4 MB, free: 1.02 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.2992, allocations: 0.8479 MB / 411.2 MB, free: 380 kB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.2992, allocations: 0 / 411.2 MB, free: 380 kB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.794e-05/0.2993, allocations: 32.53 kB / 411.2 MB, free: 356 kB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.2993, allocations: 14.62 kB / 411.3 MB, free: 356 kB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.3005, allocations: 0.5522 MB / 411.8 MB, free: 92 kB / 318.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.003723/0.3042, allocations: 2.064 MB / 413.9 MB, free: 14.48 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.3059, allocations: 0.6855 MB / 414.6 MB, free: 14.14 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006925/0.3066, allocations: 330.9 kB / 414.9 MB, free: 13.98 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.854e-05/0.3067, allocations: 13.91 kB / 414.9 MB, free: 13.97 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/0.3067, allocations: 50.78 kB / 414.9 MB, free: 13.92 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=73): time 2.204e-06/0.3067, allocations: 4 kB / 415 MB, free: 13.92 MB / 334.1 MB
Notification: Performance of matching and sorting (n=73): time 0.005001/0.3117, allocations: 1.436 MB / 416.4 MB, free: 13.19 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005207/0.3122, allocations: 0.823 MB / 417.2 MB, free: 12.18 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009285/0.3132, allocations: 0.6362 MB / 417.8 MB, free: 11.82 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 9.699e-05/0.3133, allocations: 46.14 kB / 417.9 MB, free: 11.77 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.3136, allocations: 330.5 kB / 418.2 MB, free: 11.48 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.3138, allocations: 272 kB / 418.5 MB, free: 11.25 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.3141, allocations: 146.1 kB / 418.6 MB, free: 11.16 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002242/0.3143, allocations: 391.6 kB / 419 MB, free: 10.79 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005892/0.3149, allocations: 244.8 kB / 419.2 MB, free: 10.67 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008863/0.3158, allocations: 0.5284 MB / 419.8 MB, free: 10.22 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.317, allocations: 0.6367 MB / 420.4 MB, free: 9.836 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.3171, allocations: 1.406 kB / 420.4 MB, free: 9.836 MB / 334.1 MB
Notification: Performance of matching and sorting (n=86) (initialization): time 0.002804/0.3199, allocations: 1.042 MB / 421.5 MB, free: 9.238 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 7.936e-05/0.3199, allocations: 87.77 kB / 421.5 MB, free: 9.141 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3199, allocations: 1.219 kB / 421.5 MB, free: 9.141 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0007792/0.3207, allocations: 239.2 kB / 421.8 MB, free: 9.008 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005847/0.3213, allocations: 125.3 kB / 421.9 MB, free: 8.98 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008793/0.3301, allocations: 6.528 MB / 428.4 MB, free: 2.57 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.3312, allocations: 99.45 kB / 428.5 MB, free: 2.473 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.3e-05/0.3313, allocations: 24 kB / 428.5 MB, free: 2.449 MB / 334.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.0004952/0.3318, allocations: 225.7 kB / 428.8 MB, free: 2.219 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.3319, allocations: 87.48 kB / 428.9 MB, free: 2.133 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.3321, allocations: 91.34 kB / 428.9 MB, free: 2.039 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.3321, allocations: 7.938 kB / 428.9 MB, free: 2.031 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.3322, allocations: 7.938 kB / 429 MB, free: 2.023 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002557/0.3347, allocations: 1.178 MB / 430.1 MB, free: 0.7305 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004013/0.3387, allocations: 1.819 MB / 432 MB, free: 14.84 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3387, allocations: 4 kB / 432 MB, free: 14.84 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006413/0.3394, allocations: 127.8 kB / 432.1 MB, free: 14.71 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0005923/0.34, allocations: 202.6 kB / 432.3 MB, free: 14.5 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.34, allocations: 12 kB / 432.3 MB, free: 14.49 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00694/0.347, allocations: 5.016 MB / 437.3 MB, free: 9.137 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.347, allocations: 3.938 kB / 437.3 MB, free: 9.133 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003418/0.3504, allocations: 1.309 MB / 438.6 MB, free: 7.797 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005783/0.351, allocations: 167.2 kB / 438.8 MB, free: 7.633 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.3512, allocations: 20 kB / 438.8 MB, free: 7.613 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000768/0.352, allocations: 39.95 kB / 438.8 MB, free: 7.574 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/0.3522, allocations: 64.48 kB / 438.9 MB, free: 7.512 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.3522, allocations: 20 kB / 438.9 MB, free: 7.492 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0006837/0.3529, allocations: 463 kB / 439.4 MB, free: 7.047 MB / 350.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3529, allocations: 0 / 439.4 MB, free: 7.047 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.001135/0.354, allocations: 275.8 kB / 439.6 MB, free: 6.777 MB / 350.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.0002173/0.3543, allocations: 123.2 kB / 439.8 MB, free: 6.645 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.002493/0.3567, allocations: 1.262 MB / 441 MB, free: 5.293 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.3568, allocations: 4 kB / 441 MB, free: 5.289 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001191/0.3579, allocations: 0.6717 MB / 441.7 MB, free: 4.574 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.3593, allocations: 234.8 kB / 441.9 MB, free: 4.344 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/0.3628, allocations: 1.623 MB / 443.6 MB, free: 2.684 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006902/0.3635, allocations: 0.9362 MB / 444.5 MB, free: 1.719 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.000505/0.364, allocations: 98.44 kB / 444.6 MB, free: 1.617 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.3642, allocations: 67.42 kB / 444.7 MB, free: 1.551 MB / 350.1 MB
Notification: Performance of SimCode: time 1.322e-06/0.3642, allocations: 4 kB / 444.7 MB, free: 1.547 MB / 350.1 MB
Notification: Performance of Templates: time 0.03831/0.4025, allocations: 18.7 MB / 463.4 MB, free: 14.81 MB / 382.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.493746514432132]