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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 110.4 kB / 17.73 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 187.1 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB 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.001422/0.001422, allocations: 59.91 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1117, allocations: 46.6 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.2061/0.3179, allocations: 4.93 MB / 380.1 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003003/0.3209, allocations: 1.324 MB / 381.4 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004306/0.3214, allocations: 13.44 kB / 381.4 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.3219, allocations: 169.4 kB / 381.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008189/0.3228, allocations: 316.1 kB / 381.9 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.3235, allocations: 224.4 kB / 382.1 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.325, allocations: 1.164 MB / 383.3 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005866/0.3256, allocations: 328.9 kB / 383.6 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006253/0.3262, allocations: 441.6 kB / 384 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006069/0.3268, allocations: 0.5019 MB / 384.5 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.327, allocations: 104.8 kB / 384.6 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.3272, allocations: 103.5 kB / 384.7 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.3274, allocations: 225.5 kB / 384.9 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004675/0.3278, allocations: 0.5081 MB / 385.4 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.3292, allocations: 1.182 MB / 386.6 MB, free: 7.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.289e-05/0.3292, allocations: 0 / 386.6 MB, free: 7.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.531e-06/0.3292, allocations: 1.75 kB / 386.6 MB, free: 7.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.3293, allocations: 0 / 386.6 MB, free: 7.812 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.00236/0.3316, allocations: 1.311 MB / 387.9 MB, free: 6.902 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3317, allocations: 12.23 kB / 388 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.3319, allocations: 110 kB / 388.1 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008263/0.3327, allocations: 0.5462 MB / 388.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/0.3329, allocations: 147.8 kB / 388.8 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.333, allocations: 63.5 kB / 388.8 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.3343, allocations: 0.8387 MB / 389.7 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.3344, allocations: 1.656 kB / 389.7 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.824e-05/0.3344, allocations: 28.94 kB / 389.7 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.3344, allocations: 18.75 kB / 389.7 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.3356, allocations: 0.5577 MB / 390.3 MB, free: 5.57 MB / 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.0034/0.339, allocations: 2.094 MB / 392.4 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.3408, allocations: 0.9612 MB / 393.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006683/0.3415, allocations: 370 kB / 393.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-05/0.3415, allocations: 10.91 kB / 393.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3416, allocations: 49.69 kB / 393.7 MB, free: 3.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 3.677e-06/0.3416, allocations: 4.109 kB / 393.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.005342/0.3469, allocations: 1.743 MB / 395.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002761/0.3472, allocations: 0.8229 MB / 396.3 MB, free: 1.777 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.3483, allocations: 0.6338 MB / 396.9 MB, free: 1.496 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.3484, allocations: 45.48 kB / 397 MB, free: 1.453 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.3488, allocations: 329.9 kB / 397.3 MB, free: 1.191 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.349, allocations: 251.8 kB / 397.6 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.3493, allocations: 145.1 kB / 397.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3494, allocations: 393.5 kB / 398.1 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006252/0.3501, allocations: 243.8 kB / 398.3 MB, free: 500 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007622/0.3508, allocations: 0.5294 MB / 398.8 MB, free: 84 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.3523, allocations: 0.6502 MB / 399.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.3523, allocations: 4.875 kB / 399.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002685/0.355, allocations: 1.049 MB / 400.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.738e-05/0.3551, allocations: 86.2 kB / 400.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3551, allocations: 4 kB / 400.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007091/0.3558, allocations: 231.2 kB / 400.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/0.3564, allocations: 131.9 kB / 401 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008403/0.3648, allocations: 6.939 MB / 407.9 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.366, allocations: 93.97 kB / 408 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.828e-05/0.3661, allocations: 21.5 kB / 408 MB, free: 8.707 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.000445/0.3665, allocations: 223.4 kB / 408.3 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.3667, allocations: 89.14 kB / 408.3 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.3669, allocations: 90.34 kB / 408.4 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.3669, allocations: 10.66 kB / 408.4 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.3669, allocations: 1.375 kB / 408.4 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002292/0.3692, allocations: 1.183 MB / 409.6 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003722/0.373, allocations: 1.874 MB / 411.5 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.373, allocations: 2.625 kB / 411.5 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006493/0.3736, allocations: 123.6 kB / 411.6 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005997/0.3742, allocations: 199.8 kB / 411.8 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.3743, allocations: 20.12 kB / 411.8 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00648/0.3808, allocations: 5.305 MB / 417.1 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.3808, allocations: 5 kB / 417.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003209/0.384, allocations: 1.315 MB / 418.5 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005396/0.3846, allocations: 233.1 kB / 418.7 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.3847, allocations: 20.44 kB / 418.7 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006197/0.3854, allocations: 43.16 kB / 418.8 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.3856, allocations: 60.75 kB / 418.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.3856, allocations: 17.59 kB / 418.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006171/0.3862, allocations: 463.5 kB / 419.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3862, allocations: 0 / 419.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009775/0.3872, allocations: 285.8 kB / 419.6 MB, free: 15.66 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.0001826/0.3874, allocations: 130.9 kB / 419.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002126/0.3896, allocations: 1.296 MB / 421 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.3896, allocations: 2.281 kB / 421 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.3906, allocations: 0.6929 MB / 421.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.3917, allocations: 229.8 kB / 421.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.3948, allocations: 1.609 MB / 423.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/0.3955, allocations: 0.9361 MB / 424.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004846/0.396, allocations: 102.4 kB / 424.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.3961, allocations: 67.42 kB / 424.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3962, allocations: 0 / 424.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Templates: time 0.03171/0.4279, allocations: 18.08 MB / 442.7 MB, free: 9.266 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (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) 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) Reference file matches