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.001014/0.001014, allocations: 106.6 kB / 17.72 MB, free: 5.324 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.001027/0.001027, allocations: 194.9 kB / 18.67 MB, free: 4.387 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.505/1.505, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001406/0.001406, allocations: 51.92 kB / 328.5 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1128, allocations: 46.62 MB / 375.1 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.2327/0.3455, allocations: 4.927 MB / 380.1 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003219/0.3488, allocations: 1.33 MB / 381.4 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004623/0.3493, allocations: 8.469 kB / 381.4 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005249/0.3499, allocations: 169.1 kB / 381.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007655/0.3507, allocations: 317.8 kB / 381.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006136/0.3513, allocations: 226.9 kB / 382.1 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.3527, allocations: 1.157 MB / 383.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006296/0.3534, allocations: 340 kB / 383.6 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008985/0.3543, allocations: 443.9 kB / 384 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008452/0.3551, allocations: 0.4948 MB / 384.5 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002093/0.3553, allocations: 101.1 kB / 384.6 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002701/0.3556, allocations: 107.8 kB / 384.7 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.3559, allocations: 221.3 kB / 384.9 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005521/0.3565, allocations: 0.5114 MB / 385.5 MB, free: 8.215 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.358, allocations: 1.19 MB / 386.6 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.3581, allocations: 0.8906 kB / 386.6 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.3581, allocations: 0 / 386.6 MB, free: 7.773 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.801e-05/0.3581, allocations: 0 / 386.6 MB, free: 7.773 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.002401/0.3605, allocations: 1.339 MB / 388 MB, free: 6.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3606, allocations: 14.33 kB / 388 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.3608, allocations: 110.3 kB / 388.1 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009159/0.3617, allocations: 0.5546 MB / 388.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.3619, allocations: 142.8 kB / 388.8 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.362, allocations: 58.22 kB / 388.9 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.3635, allocations: 0.8464 MB / 389.7 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.3636, allocations: 0.6094 kB / 389.7 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.711e-05/0.3637, allocations: 29.16 kB / 389.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.3637, allocations: 13.97 kB / 389.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.3649, allocations: 0.5537 MB / 390.3 MB, free: 5.504 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.003748/0.3687, allocations: 2.106 MB / 392.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.3704, allocations: 0.9625 MB / 393.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006622/0.3711, allocations: 368.5 kB / 393.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6e-05/0.3712, allocations: 21.69 kB / 393.7 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.3712, allocations: 49.88 kB / 393.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.254e-06/0.3712, allocations: 0 / 393.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.00492/0.3761, allocations: 1.737 MB / 395.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002519/0.3764, allocations: 0.8236 MB / 396.4 MB, free: 1.699 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.3774, allocations: 0.6374 MB / 397 MB, free: 1.414 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.224e-05/0.3775, allocations: 41.72 kB / 397 MB, free: 1.375 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.3778, allocations: 341.1 kB / 397.4 MB, free: 1.105 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.378, allocations: 267.3 kB / 397.6 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.3783, allocations: 145.7 kB / 397.8 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3784, allocations: 392.9 kB / 398.2 MB, free: 484 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005206/0.379, allocations: 248.9 kB / 398.4 MB, free: 392 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007709/0.3797, allocations: 0.525 MB / 398.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.381, allocations: 0.6367 MB / 399.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.381, allocations: 0 / 399.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002514/0.3835, allocations: 1.056 MB / 400.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.3836, allocations: 86.42 kB / 400.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3837, allocations: 0 / 400.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007497/0.3844, allocations: 235.7 kB / 400.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005399/0.385, allocations: 128.6 kB / 401.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008428/0.3934, allocations: 6.937 MB / 408 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.3946, allocations: 98.14 kB / 408.1 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.3948, allocations: 22.36 kB / 408.1 MB, free: 8.547 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.0006093/0.3954, allocations: 219.6 kB / 408.3 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003277/0.3957, allocations: 93.38 kB / 408.4 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.396, allocations: 89.66 kB / 408.5 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.396, allocations: 10.88 kB / 408.5 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.396, allocations: 0 / 408.5 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002382/0.3984, allocations: 1.184 MB / 409.7 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004127/0.4026, allocations: 1.871 MB / 411.6 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.4026, allocations: 1.25 kB / 411.6 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005907/0.4032, allocations: 133.1 kB / 411.7 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005885/0.4038, allocations: 192.6 kB / 411.9 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-05/0.4039, allocations: 20.72 kB / 411.9 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006153/0.41, allocations: 5.307 MB / 417.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.41, allocations: 4.438 kB / 417.2 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002976/0.413, allocations: 1.328 MB / 418.5 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005961/0.4136, allocations: 237.8 kB / 418.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/0.4139, allocations: 17.5 kB / 418.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007339/0.4146, allocations: 35.97 kB / 418.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.4148, allocations: 65.62 kB / 418.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.4149, allocations: 18.25 kB / 418.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007683/0.4157, allocations: 459.2 kB / 419.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.4157, allocations: 4 kB / 419.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001295/0.417, allocations: 285.6 kB / 419.6 MB, free: 15.5 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.0001995/0.4172, allocations: 130.2 kB / 419.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002177/0.4194, allocations: 1.297 MB / 421.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.4194, allocations: 2.625 kB / 421.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.4205, allocations: 0.6943 MB / 421.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.4219, allocations: 229 kB / 422 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.4253, allocations: 1.628 MB / 423.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000646/0.4259, allocations: 0.94 MB / 424.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005199/0.4265, allocations: 102.4 kB / 424.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.4267, allocations: 63.42 kB / 424.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4267, allocations: 0 / 424.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Templates: time 0.03273/0.4594, allocations: 18.08 MB / 442.8 MB, free: 9.059 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