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.001546/0.001547, allocations: 112.6 kB / 17.69 MB, free: 5.441 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.001759/0.001759, allocations: 191 kB / 18.63 MB, free: 4.508 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.301/1.301, allocations: 222.9 MB / 242.3 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009833/0.0009835, allocations: 49.67 kB / 302.1 MB, free: 5.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08236/0.08336, allocations: 49.44 MB / 351.5 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005273/0.08867, allocations: 4.948 MB / 356.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.09064, allocations: 1.266 MB / 357.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.09091, allocations: 12 kB / 357.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.0913, allocations: 166.5 kB / 357.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00051/0.09184, allocations: 313.2 kB / 358.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.09223, allocations: 231.6 kB / 358.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009743/0.09321, allocations: 1.16 MB / 359.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.09363, allocations: 341.9 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003698/0.094, allocations: 450.4 kB / 360.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004892/0.0945, allocations: 0.4941 MB / 360.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.09463, allocations: 100 kB / 360.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.09478, allocations: 104 kB / 361 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.09495, allocations: 219.2 kB / 361.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004124/0.09537, allocations: 0.5134 MB / 361.8 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008865/0.09627, allocations: 1.176 MB / 363 MB, free: 8.137 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.09628, allocations: 3.938 kB / 363 MB, free: 8.133 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.09629, allocations: 0 / 363 MB, free: 8.133 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.0963, allocations: 0 / 363 MB, free: 8.133 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.002096/0.09841, allocations: 1.314 MB / 364.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.09845, allocations: 15.89 kB / 364.3 MB, free: 6.734 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.09862, allocations: 103.8 kB / 364.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008016/0.09943, allocations: 0.5513 MB / 364.9 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.09962, allocations: 139 kB / 365.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/0.09972, allocations: 60.38 kB / 365.1 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.101, allocations: 0.8549 MB / 366 MB, free: 4.871 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.101, allocations: 0 / 366 MB, free: 4.871 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.239e-05/0.101, allocations: 28 kB / 366 MB, free: 4.844 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.1011, allocations: 12 kB / 366 MB, free: 4.832 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.1022, allocations: 0.5556 MB / 366.6 MB, free: 4.277 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.003024/0.1052, allocations: 2.092 MB / 368.7 MB, free: 2.078 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.1069, allocations: 0.9641 MB / 369.6 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006696/0.1076, allocations: 378.6 kB / 370 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.3e-05/0.1077, allocations: 8.656 kB / 370 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.1077, allocations: 55.2 kB / 370.1 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 3.497e-06/0.1077, allocations: 0 / 370.1 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.2003/0.308, allocations: 1.733 MB / 371.8 MB, free: 24.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/0.3082, allocations: 0.8243 MB / 372.6 MB, free: 23.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000913/0.3091, allocations: 0.6358 MB / 373.3 MB, free: 23.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.3092, allocations: 46.09 kB / 373.3 MB, free: 23.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.3095, allocations: 335.6 kB / 373.6 MB, free: 23.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.3097, allocations: 250.6 kB / 373.9 MB, free: 23.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.3099, allocations: 144.1 kB / 374 MB, free: 23.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.31, allocations: 387.5 kB / 374.4 MB, free: 23.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005566/0.3106, allocations: 248.2 kB / 374.6 MB, free: 23.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008116/0.3114, allocations: 0.5303 MB / 375.2 MB, free: 22.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.3125, allocations: 0.6349 MB / 375.8 MB, free: 22.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3125, allocations: 0 / 375.8 MB, free: 22.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002365/0.3149, allocations: 1.056 MB / 376.9 MB, free: 22.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.3149, allocations: 91.97 kB / 377 MB, free: 21.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.3149, allocations: 0 / 377 MB, free: 21.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006629/0.3156, allocations: 237.4 kB / 377.2 MB, free: 21.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/0.3162, allocations: 129.7 kB / 377.3 MB, free: 21.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006482/0.3227, allocations: 6.91 MB / 384.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008635/0.3236, allocations: 100.4 kB / 384.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/0.3236, allocations: 25.53 kB / 384.3 MB, free: 15.5 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.0003223/0.324, allocations: 209.7 kB / 384.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.3241, allocations: 89.09 kB / 384.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.3243, allocations: 94.92 kB / 384.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.3243, allocations: 8.391 kB / 384.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.3243, allocations: 1.859 kB / 384.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002115/0.3264, allocations: 1.186 MB / 385.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003856/0.3303, allocations: 1.868 MB / 387.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3303, allocations: 5.844 kB / 387.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006532/0.331, allocations: 128.2 kB / 387.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005294/0.3315, allocations: 197.9 kB / 388.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.3316, allocations: 14.14 kB / 388.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00523/0.3368, allocations: 5.311 MB / 393.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3368, allocations: 1.562 kB / 393.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00298/0.3398, allocations: 1.322 MB / 394.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004266/0.3403, allocations: 234.6 kB / 395 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.3404, allocations: 20.67 kB / 395 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000574/0.341, allocations: 43.58 kB / 395.1 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.3411, allocations: 58.67 kB / 395.1 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.3412, allocations: 20 kB / 395.1 MB, free: 7.828 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005365/0.3417, allocations: 464.3 kB / 395.6 MB, free: 7.621 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3417, allocations: 0 / 395.6 MB, free: 7.621 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008756/0.3426, allocations: 281.5 kB / 395.9 MB, free: 7.578 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.0001513/0.3428, allocations: 130.5 kB / 396 MB, free: 7.469 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001933/0.3447, allocations: 1.29 MB / 397.3 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3447, allocations: 2.156 kB / 397.3 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008691/0.3456, allocations: 0.6956 MB / 398 MB, free: 6.117 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009306/0.3466, allocations: 237.5 kB / 398.2 MB, free: 6.016 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.349, allocations: 1.602 MB / 399.8 MB, free: 5.047 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.3493, allocations: 0.9347 MB / 400.7 MB, free: 4.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003866/0.3497, allocations: 108.3 kB / 400.9 MB, free: 4.191 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.3499, allocations: 65.05 kB / 400.9 MB, free: 4.18 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3499, allocations: 0 / 400.9 MB, free: 4.18 MB / 302.1 MB Notification: Performance of Templates: time 0.02565/0.3756, allocations: 17.92 MB / 418.8 MB, free: 4.418 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/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