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.001177/0.001177, allocations: 104 kB / 17.59 MB, free: 5.559 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.001221/0.001221, allocations: 191.5 kB / 18.51 MB, free: 4.641 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.382/1.382, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 47.84 kB / 301.3 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1089, allocations: 49.45 MB / 350.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006887/0.1159, allocations: 4.948 MB / 355.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.1184, allocations: 1.273 MB / 357 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006073/0.119, allocations: 8 kB / 357 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005798/0.1196, allocations: 162.5 kB / 357.1 MB, free: 14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.1207, allocations: 317.2 kB / 357.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000601/0.1213, allocations: 227.6 kB / 357.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.1227, allocations: 1.159 MB / 358.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005152/0.1233, allocations: 326.2 kB / 359.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006062/0.1239, allocations: 446.5 kB / 359.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007889/0.1247, allocations: 0.4941 MB / 360.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002311/0.1249, allocations: 108 kB / 360.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.1252, allocations: 104 kB / 360.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.1254, allocations: 215.2 kB / 360.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005131/0.1259, allocations: 0.5172 MB / 361 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.1269, allocations: 1.168 MB / 362.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1269, allocations: 0 / 362.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1269, allocations: 0 / 362.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.127, allocations: 0 / 362.2 MB, free: 8.926 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.002163/0.1291, allocations: 1.31 MB / 363.5 MB, free: 7.547 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1292, allocations: 8.031 kB / 363.5 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.1294, allocations: 107.8 kB / 363.6 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008809/0.1303, allocations: 0.5474 MB / 364.1 MB, free: 6.844 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002443/0.1305, allocations: 139 kB / 364.3 MB, free: 6.691 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.1307, allocations: 60.38 kB / 364.3 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.1321, allocations: 0.8438 MB / 365.2 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.1321, allocations: 7.938 kB / 365.2 MB, free: 5.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.778e-05/0.1322, allocations: 28 kB / 365.2 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.1322, allocations: 12 kB / 365.2 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.1334, allocations: 0.5595 MB / 365.8 MB, free: 5.082 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.003168/0.1366, allocations: 2.112 MB / 367.9 MB, free: 2.863 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.1383, allocations: 0.9599 MB / 368.8 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006872/0.139, allocations: 372.1 kB / 369.2 MB, free: 1.477 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.191e-05/0.1391, allocations: 20.7 kB / 369.2 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.1392, allocations: 51.22 kB / 369.3 MB, free: 1.395 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 3.587e-06/0.1392, allocations: 3.984 kB / 369.3 MB, free: 1.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.1849/0.3241, allocations: 1.727 MB / 371 MB, free: 26.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002324/0.3244, allocations: 0.8233 MB / 371.8 MB, free: 25.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.3254, allocations: 0.6393 MB / 372.5 MB, free: 25.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001431/0.3256, allocations: 45.52 kB / 372.5 MB, free: 25.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.3258, allocations: 333.8 kB / 372.8 MB, free: 24.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.326, allocations: 259.2 kB / 373.1 MB, free: 24.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.3263, allocations: 145.6 kB / 373.2 MB, free: 24.74 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3264, allocations: 386.7 kB / 373.6 MB, free: 24.4 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005898/0.327, allocations: 245 kB / 373.9 MB, free: 24.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007971/0.3278, allocations: 0.534 MB / 374.4 MB, free: 23.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.3291, allocations: 0.6337 MB / 375 MB, free: 23.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3291, allocations: 7.766 kB / 375 MB, free: 23.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002514/0.3316, allocations: 1.043 MB / 376.1 MB, free: 23.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.325e-05/0.3317, allocations: 93.23 kB / 376.2 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3317, allocations: 3.062 kB / 376.2 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007249/0.3324, allocations: 230.5 kB / 376.4 MB, free: 22.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.333, allocations: 129.5 kB / 376.5 MB, free: 22.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007194/0.3402, allocations: 6.924 MB / 383.4 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.3412, allocations: 93.88 kB / 383.5 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-05/0.3413, allocations: 21.84 kB / 383.6 MB, free: 16.58 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.00039/0.3417, allocations: 214 kB / 383.8 MB, free: 16.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.3419, allocations: 91.62 kB / 383.9 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.342, allocations: 92.16 kB / 383.9 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.3421, allocations: 8.141 kB / 384 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.3421, allocations: 256 / 384 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002207/0.3443, allocations: 1.189 MB / 385.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003756/0.3481, allocations: 1.865 MB / 387 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3481, allocations: 1.219 kB / 387 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006311/0.3487, allocations: 128.9 kB / 387.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005958/0.3493, allocations: 204 kB / 387.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/0.3494, allocations: 17.92 kB / 387.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005464/0.3549, allocations: 5.312 MB / 392.7 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3549, allocations: 1.25 kB / 392.7 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003055/0.358, allocations: 1.314 MB / 394 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004182/0.3584, allocations: 236.3 kB / 394.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.3586, allocations: 20 kB / 394.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006146/0.3592, allocations: 39.72 kB / 394.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.3594, allocations: 63.19 kB / 394.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.3594, allocations: 22.45 kB / 394.4 MB, free: 8.887 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005646/0.36, allocations: 465.6 kB / 394.8 MB, free: 8.676 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.36, allocations: 0 / 394.8 MB, free: 8.676 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009408/0.361, allocations: 281.7 kB / 395.1 MB, free: 8.633 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.0001605/0.3611, allocations: 129.9 kB / 395.2 MB, free: 8.523 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002208/0.3634, allocations: 1.325 MB / 396.5 MB, free: 7.625 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.3634, allocations: 2.594 kB / 396.5 MB, free: 7.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008901/0.3643, allocations: 0.6934 MB / 397.2 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.3653, allocations: 226 kB / 397.4 MB, free: 7.066 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.3681, allocations: 1.653 MB / 399.1 MB, free: 6.094 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.3685, allocations: 0.9399 MB / 400 MB, free: 5.301 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.3687, allocations: 67.25 kB / 400.1 MB, free: 5.289 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3687, allocations: 0 / 400.1 MB, free: 5.289 MB / 302.1 MB Notification: Performance of Templates: time 0.02714/0.3958, allocations: 22 MB / 422.1 MB, free: 1.41 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/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