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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 102 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007645/0.0007645, allocations: 39.94 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1997, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004015/0.2038, allocations: 4.95 MB / 404.4 MB, free: 28.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.2053, allocations: 1.289 MB / 405.7 MB, free: 27.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.2055, allocations: 11.94 kB / 405.7 MB, free: 27.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.2058, allocations: 127.1 kB / 405.8 MB, free: 26.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.2063, allocations: 285.7 kB / 406.1 MB, free: 26.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.2066, allocations: 191.8 kB / 406.3 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006866/0.2073, allocations: 1.121 MB / 407.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000324/0.2076, allocations: 300.1 kB / 407.7 MB, free: 25.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.2079, allocations: 410.5 kB / 408.1 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.2082, allocations: 485.9 kB / 408.6 MB, free: 24.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.863e-05/0.2083, allocations: 75.94 kB / 408.7 MB, free: 24.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.2085, allocations: 76 kB / 408.7 MB, free: 24.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.2086, allocations: 195.3 kB / 408.9 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.2089, allocations: 0.4899 MB / 409.4 MB, free: 23.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005889/0.2095, allocations: 1.133 MB / 410.6 MB, free: 22.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2095, allocations: 0 / 410.6 MB, free: 22.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2095, allocations: 0 / 410.6 MB, free: 22.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.2095, allocations: 0 / 410.6 MB, free: 22.22 MB / 298.7 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.001811/0.2113, allocations: 1.317 MB / 411.9 MB, free: 20.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.2114, allocations: 8.031 kB / 411.9 MB, free: 20.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.2115, allocations: 103.8 kB / 412 MB, free: 20.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005601/0.2121, allocations: 0.5474 MB / 412.5 MB, free: 20.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.2123, allocations: 143 kB / 412.7 MB, free: 19.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.613e-05/0.2123, allocations: 60.38 kB / 412.7 MB, free: 19.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009856/0.2133, allocations: 0.8432 MB / 413.6 MB, free: 18.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.2134, allocations: 0 / 413.6 MB, free: 18.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.759e-05/0.2134, allocations: 28 kB / 413.6 MB, free: 18.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.2134, allocations: 16 kB / 413.6 MB, free: 18.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009716/0.2144, allocations: 0.5517 MB / 414.2 MB, free: 18.38 MB / 298.7 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.002534/0.217, allocations: 2.123 MB / 416.3 MB, free: 16.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.2184, allocations: 0.9615 MB / 417.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005683/0.219, allocations: 379 kB / 417.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.905e-05/0.2191, allocations: 16.7 kB / 417.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.2191, allocations: 47.22 kB / 417.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 2.454e-06/0.2191, allocations: 0 / 417.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.00417/0.2233, allocations: 1.742 MB / 419.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.2234, allocations: 0.8234 MB / 420.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005439/0.224, allocations: 0.6411 MB / 420.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.224, allocations: 37.7 kB / 420.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.2242, allocations: 333 kB / 421.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.2243, allocations: 248.4 kB / 421.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.2245, allocations: 146.6 kB / 421.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.601e-05/0.2246, allocations: 394.7 kB / 422 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004557/0.2251, allocations: 245.9 kB / 422.3 MB, free: 9.773 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005982/0.2257, allocations: 0.5273 MB / 422.8 MB, free: 9.141 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009157/0.2266, allocations: 0.6349 MB / 423.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2266, allocations: 0 / 423.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002016/0.2287, allocations: 1.048 MB / 424.5 MB, free: 7.395 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.2287, allocations: 85.05 kB / 424.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2287, allocations: 0 / 424.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006196/0.2293, allocations: 239.2 kB / 424.8 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.2299, allocations: 127.8 kB / 424.9 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005647/0.2355, allocations: 6.371 MB / 431.3 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009493/0.2365, allocations: 99.28 kB / 431.4 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/0.2366, allocations: 20 kB / 431.4 MB, free: 15.9 MB / 314.7 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.0003351/0.2369, allocations: 225.7 kB / 431.6 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.2371, allocations: 87.05 kB / 431.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.2372, allocations: 87.34 kB / 431.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.2372, allocations: 7.938 kB / 431.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2373, allocations: 7.938 kB / 431.8 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002097/0.2394, allocations: 1.19 MB / 433 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003429/0.2428, allocations: 1.86 MB / 434.9 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.2428, allocations: 0 / 434.9 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006192/0.2435, allocations: 127.8 kB / 435 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000566/0.244, allocations: 198.6 kB / 435.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.2441, allocations: 12 kB / 435.2 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005589/0.2497, allocations: 4.884 MB / 440.1 MB, free: 6.613 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.2497, allocations: 3.984 kB / 440.1 MB, free: 6.609 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02295/0.2727, allocations: 11.77 MB / 451.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003545/0.2731, allocations: 243.8 kB / 452.1 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.69e-05/0.2732, allocations: 20 kB / 452.1 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000607/0.2738, allocations: 48.02 kB / 452.1 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.274, allocations: 52.58 kB / 452.2 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-05/0.274, allocations: 23.98 kB / 452.2 MB, free: 9.852 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005243/0.2746, allocations: 455.1 kB / 452.7 MB, free: 9.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2746, allocations: 0 / 452.7 MB, free: 9.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001153/0.2757, allocations: 403.7 kB / 453.1 MB, free: 9.016 MB / 330.7 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.0001636/0.2759, allocations: 131.1 kB / 453.2 MB, free: 8.879 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001807/0.2777, allocations: 1.278 MB / 454.5 MB, free: 7.516 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.2777, allocations: 4 kB / 454.5 MB, free: 7.512 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008812/0.2786, allocations: 0.687 MB / 455.2 MB, free: 6.789 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009859/0.2796, allocations: 226.2 kB / 455.4 MB, free: 6.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00394/0.2836, allocations: 2.695 MB / 458.1 MB, free: 3.789 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/0.2841, allocations: 0.9522 MB / 459 MB, free: 2.809 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005134/0.2846, allocations: 106.4 kB / 459.1 MB, free: 2.699 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.2848, allocations: 75.42 kB / 459.2 MB, free: 2.625 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2848, allocations: 0 / 459.2 MB, free: 2.625 MB / 330.7 MB Notification: Performance of Templates: time 0.03028/0.3151, allocations: 20.26 MB / 479.5 MB, free: 14.61 MB / 362.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches