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.001053/0.001057, allocations: 110 kB / 17.06 MB, free: 6.023 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.0009863/0.0009863, allocations: 191 kB / 18 MB, free: 5.105 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.308/1.308, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009326/0.0009326, allocations: 43.92 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2276, allocations: 49.44 MB / 400.7 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00534/0.233, allocations: 4.945 MB / 405.7 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.2349, allocations: 1.285 MB / 406.9 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.2351, allocations: 11.94 kB / 407 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.2355, allocations: 162.6 kB / 407.1 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005357/0.2361, allocations: 325.3 kB / 407.4 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.2364, allocations: 231.6 kB / 407.7 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009928/0.2374, allocations: 1.16 MB / 408.8 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004151/0.2379, allocations: 339.4 kB / 409.2 MB, free: 412 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.2383, allocations: 434.6 kB / 409.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005014/0.2388, allocations: 0.5056 MB / 410.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.2389, allocations: 104 kB / 410.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.2391, allocations: 100 kB / 410.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.2392, allocations: 223.2 kB / 410.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000434/0.2397, allocations: 0.5133 MB / 411 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009412/0.2406, allocations: 1.175 MB / 412.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2406, allocations: 0 / 412.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2406, allocations: 0 / 412.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.2406, allocations: 0 / 412.2 MB, free: 13.36 MB / 334.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.002051/0.2427, allocations: 1.313 MB / 413.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2427, allocations: 19.81 kB / 413.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.2429, allocations: 107.8 kB / 413.6 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007686/0.2437, allocations: 0.5396 MB / 414.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.2439, allocations: 147 kB / 414.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.104e-05/0.244, allocations: 64.38 kB / 414.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.2452, allocations: 0.8433 MB / 415.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.2452, allocations: 0 / 415.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.44e-05/0.2453, allocations: 31.98 kB / 415.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.2453, allocations: 16 kB / 415.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.2464, allocations: 0.5594 MB / 415.8 MB, free: 9.492 MB / 334.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.003059/0.2495, allocations: 2.1 MB / 417.9 MB, free: 7.285 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.2512, allocations: 0.968 MB / 418.9 MB, free: 6.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006363/0.2518, allocations: 374.4 kB / 419.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.488e-05/0.2519, allocations: 12.64 kB / 419.3 MB, free: 5.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.2519, allocations: 51.22 kB / 419.3 MB, free: 5.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 3.056e-06/0.2519, allocations: 0 / 419.3 MB, free: 5.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004527/0.2565, allocations: 1.734 MB / 421.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002923/0.2568, allocations: 0.8273 MB / 421.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007028/0.2575, allocations: 0.6387 MB / 422.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/0.2576, allocations: 45.7 kB / 422.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.2578, allocations: 333.2 kB / 422.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.258, allocations: 252.3 kB / 423.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.2582, allocations: 146.6 kB / 423.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2584, allocations: 390.7 kB / 423.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005076/0.2589, allocations: 249.9 kB / 423.9 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007302/0.2596, allocations: 0.5234 MB / 424.4 MB, free: 280 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.2607, allocations: 0.631 MB / 425.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.2607, allocations: 4 kB / 425.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002264/0.263, allocations: 1.047 MB / 426.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.755e-05/0.2631, allocations: 93.09 kB / 426.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2631, allocations: 0 / 426.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006849/0.2638, allocations: 227.3 kB / 426.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/0.2643, allocations: 135.8 kB / 426.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00733/0.2717, allocations: 6.931 MB / 433.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007299/0.2724, allocations: 95.28 kB / 433.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.2725, allocations: 27.98 kB / 433.6 MB, free: 6.445 MB / 350.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.0003015/0.2728, allocations: 219.4 kB / 433.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.273, allocations: 83.06 kB / 433.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.2731, allocations: 91.34 kB / 434 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2732, allocations: 11.94 kB / 434 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2732, allocations: 0 / 434 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002073/0.2752, allocations: 1.182 MB / 435.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/0.2787, allocations: 1.867 MB / 437.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2787, allocations: 0 / 437.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005984/0.2793, allocations: 123.9 kB / 437.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005131/0.2799, allocations: 206.5 kB / 437.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.685e-05/0.2799, allocations: 15.98 kB / 437.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005734/0.2857, allocations: 5.307 MB / 442.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.2857, allocations: 7.938 kB / 442.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/0.2884, allocations: 1.312 MB / 444 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.2887, allocations: 239.9 kB / 444.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.914e-05/0.2888, allocations: 23.98 kB / 444.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/0.2894, allocations: 35.97 kB / 444.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.2896, allocations: 64.52 kB / 444.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.2896, allocations: 16 kB / 444.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005122/0.2901, allocations: 463 kB / 444.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2901, allocations: 0 / 444.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007908/0.2909, allocations: 287.6 kB / 445.1 MB, free: 10.25 MB / 366.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.0001538/0.2911, allocations: 127.6 kB / 445.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001792/0.2929, allocations: 1.305 MB / 446.6 MB, free: 8.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.2929, allocations: 8.125 kB / 446.6 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008983/0.2938, allocations: 0.6832 MB / 447.2 MB, free: 7.996 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008815/0.2947, allocations: 231.7 kB / 447.5 MB, free: 7.773 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.2973, allocations: 1.599 MB / 449.1 MB, free: 6.137 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.2977, allocations: 0.9361 MB / 450 MB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003309/0.298, allocations: 102.4 kB / 450.1 MB, free: 5.062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.2982, allocations: 63.42 kB / 450.2 MB, free: 5 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2982, allocations: 0 / 450.2 MB, free: 5 MB / 366.1 MB Notification: Performance of Templates: time 0.02611/0.3243, allocations: 18.09 MB / 468.3 MB, free: 3.176 MB / 382.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