Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.000977/0.0009771, allocations: 116.5 kB / 16.63 MB, free: 6.945 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.001062/0.001062, allocations: 197.8 kB / 17.55 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009423/0.0009423, allocations: 46.08 kB / 300.1 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08163/0.08258, allocations: 49.45 MB / 349.6 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005318/0.08793, allocations: 4.947 MB / 354.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.08982, allocations: 1.277 MB / 355.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.09005, allocations: 11.94 kB / 355.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.09041, allocations: 123.1 kB / 355.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005181/0.09095, allocations: 281.8 kB / 356.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.09131, allocations: 203.7 kB / 356.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.09234, allocations: 1.154 MB / 357.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004256/0.09277, allocations: 334.2 kB / 357.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003885/0.09317, allocations: 442.5 kB / 358.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004854/0.09366, allocations: 0.4979 MB / 358.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.0938, allocations: 100 kB / 358.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.09396, allocations: 108 kB / 359 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.09414, allocations: 223.2 kB / 359.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004304/0.09458, allocations: 0.5172 MB / 359.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009601/0.09554, allocations: 1.16 MB / 360.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.09555, allocations: 0 / 360.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.09556, allocations: 0 / 360.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.09559, allocations: 0 / 360.9 MB, free: 9.348 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.002143/0.09774, allocations: 1.316 MB / 362.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.09779, allocations: 15.89 kB / 362.2 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.09796, allocations: 107.8 kB / 362.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006945/0.09866, allocations: 0.5396 MB / 362.9 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.09886, allocations: 146.9 kB / 363 MB, free: 7.098 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.804e-05/0.09895, allocations: 56.38 kB / 363.1 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.1003, allocations: 0.8472 MB / 363.9 MB, free: 6.094 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.1003, allocations: 0 / 363.9 MB, free: 6.094 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/0.1004, allocations: 28 kB / 364 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.1004, allocations: 16 kB / 364 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.1016, allocations: 0.5594 MB / 364.5 MB, free: 5.492 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.003169/0.1047, allocations: 2.112 MB / 366.6 MB, free: 3.273 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.1065, allocations: 0.9615 MB / 367.6 MB, free: 2.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006643/0.1071, allocations: 370.4 kB / 368 MB, free: 1.887 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.135e-05/0.1072, allocations: 12.64 kB / 368 MB, free: 1.871 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1073, allocations: 51.16 kB / 368 MB, free: 1.812 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.003e-06/0.1073, allocations: 4 kB / 368 MB, free: 1.809 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.1444/0.2517, allocations: 1.743 MB / 369.8 MB, free: 25.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/0.2518, allocations: 0.8224 MB / 370.6 MB, free: 24.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000908/0.2528, allocations: 0.6342 MB / 371.2 MB, free: 24.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001717/0.2529, allocations: 46.45 kB / 371.3 MB, free: 24.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.2532, allocations: 324.2 kB / 371.6 MB, free: 24.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.2533, allocations: 260.8 kB / 371.8 MB, free: 24.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.2536, allocations: 143.1 kB / 372 MB, free: 24.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.564e-05/0.2537, allocations: 390.7 kB / 372.4 MB, free: 23.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005467/0.2542, allocations: 253.7 kB / 372.6 MB, free: 23.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006864/0.2549, allocations: 0.5247 MB / 373.1 MB, free: 23.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.256, allocations: 0.6362 MB / 373.8 MB, free: 23.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.256, allocations: 1.25 kB / 373.8 MB, free: 23.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002355/0.2584, allocations: 1.048 MB / 374.8 MB, free: 22.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.2584, allocations: 85.42 kB / 374.9 MB, free: 22.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2584, allocations: 1.656 kB / 374.9 MB, free: 22.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006646/0.2591, allocations: 236.9 kB / 375.1 MB, free: 22.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/0.2597, allocations: 131.6 kB / 375.3 MB, free: 22.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006282/0.266, allocations: 6.927 MB / 382.2 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000792/0.2668, allocations: 93.45 kB / 382.3 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/0.2668, allocations: 21.28 kB / 382.3 MB, free: 16.24 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.0002741/0.2671, allocations: 220.6 kB / 382.5 MB, free: 16.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.2673, allocations: 89.47 kB / 382.6 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.2674, allocations: 95.66 kB / 382.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.2674, allocations: 7.953 kB / 382.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.2674, allocations: 0 / 382.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002062/0.2695, allocations: 1.186 MB / 383.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/0.2729, allocations: 1.868 MB / 385.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2729, allocations: 3.375 kB / 385.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006491/0.2736, allocations: 129.2 kB / 385.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005227/0.2741, allocations: 193.4 kB / 386.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.2741, allocations: 18.73 kB / 386.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005044/0.2792, allocations: 5.313 MB / 391.4 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.2792, allocations: 5.656 kB / 391.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002857/0.2821, allocations: 1.319 MB / 392.7 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003157/0.2824, allocations: 235.7 kB / 393 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.2825, allocations: 28.73 kB / 393 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006305/0.2832, allocations: 48.17 kB / 393 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.2834, allocations: 59.08 kB / 393.1 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.2834, allocations: 19.34 kB / 393.1 MB, free: 8.531 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005592/0.284, allocations: 458 kB / 393.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.284, allocations: 0 / 393.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009447/0.2849, allocations: 278.2 kB / 393.8 MB, free: 8.289 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.0001401/0.2851, allocations: 134.9 kB / 394 MB, free: 8.176 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001964/0.2871, allocations: 1.321 MB / 395.3 MB, free: 7.285 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2871, allocations: 2.25 kB / 395.3 MB, free: 7.285 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008462/0.2879, allocations: 0.6942 MB / 396 MB, free: 6.816 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000956/0.2889, allocations: 228.8 kB / 396.2 MB, free: 6.723 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.2913, allocations: 1.881 MB / 398.1 MB, free: 5.527 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.2916, allocations: 0.9353 MB / 399 MB, free: 4.816 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003883/0.292, allocations: 102.8 kB / 399.1 MB, free: 4.785 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.2922, allocations: 65.94 kB / 399.2 MB, free: 4.773 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2922, allocations: 0 / 399.2 MB, free: 4.773 MB / 302.1 MB Notification: Performance of Templates: time 0.02394/0.3161, allocations: 17.66 MB / 416.9 MB, free: 5.762 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches