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.0007765/0.0007764, allocations: 94.02 kB / 17.31 MB, free: 6.535 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.0008638/0.0008639, allocations: 175.8 kB / 18.21 MB, free: 5.684 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.3/1.3, allocations: 223.3 MB / 242.3 MB, free: 188 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002718/0.0002717, allocations: 4 kB / 302.1 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08813/0.08842, allocations: 50.41 MB / 352.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004578/0.09304, allocations: 4.55 MB / 357 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.09533, allocations: 1.219 MB / 358.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004534/0.09581, allocations: 11.94 kB / 358.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.09624, allocations: 127.1 kB / 358.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007969/0.09705, allocations: 277.8 kB / 358.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.09751, allocations: 195.7 kB / 358.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.09875, allocations: 1.105 MB / 360 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004478/0.09921, allocations: 306.8 kB / 360.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005145/0.09974, allocations: 398.5 kB / 360.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006372/0.1004, allocations: 466 kB / 361.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.1005, allocations: 64 kB / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.1007, allocations: 64 kB / 361.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.1009, allocations: 195.2 kB / 361.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005153/0.1014, allocations: 0.4954 MB / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007074/0.1021, allocations: 0.8569 MB / 362.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1021, allocations: 0 / 362.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1021, allocations: 4 kB / 362.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.837e-05/0.1022, allocations: 0 / 362.8 MB, free: 9.332 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.00222/0.1044, allocations: 1.158 MB / 363.9 MB, free: 8.105 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1044, allocations: 8.031 kB / 363.9 MB, free: 8.098 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.1047, allocations: 107.8 kB / 364 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008297/0.1055, allocations: 0.5435 MB / 364.6 MB, free: 7.402 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/0.1058, allocations: 151 kB / 364.7 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.1059, allocations: 60.38 kB / 364.8 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.1073, allocations: 0.8588 MB / 365.7 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.1073, allocations: 0 / 365.7 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-05/0.1074, allocations: 32 kB / 365.7 MB, free: 6.188 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.1074, allocations: 12 kB / 365.7 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.1086, allocations: 0.5751 MB / 366.3 MB, free: 5.602 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.003377/0.112, allocations: 2.127 MB / 368.4 MB, free: 3.367 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.1139, allocations: 0.9994 MB / 369.4 MB, free: 2.309 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007501/0.1147, allocations: 382.4 kB / 369.8 MB, free: 1.934 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.584e-05/0.1148, allocations: 28.58 kB / 369.8 MB, free: 1.902 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.1148, allocations: 43.22 kB / 369.8 MB, free: 1.852 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.004e-06/0.1148, allocations: 4 kB / 369.8 MB, free: 1.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.1649/0.2797, allocations: 1.884 MB / 371.7 MB, free: 25.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002044/0.28, allocations: 0.825 MB / 372.6 MB, free: 24.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.2817, allocations: 0.6363 MB / 373.2 MB, free: 23.92 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002183/0.2819, allocations: 43.39 kB / 373.2 MB, free: 23.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.2822, allocations: 329.4 kB / 373.6 MB, free: 23.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/0.2825, allocations: 254.6 kB / 373.8 MB, free: 23.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.2827, allocations: 66.08 kB / 373.9 MB, free: 23.72 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2828, allocations: 390.3 kB / 374.2 MB, free: 23.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006595/0.2835, allocations: 263 kB / 374.5 MB, free: 23.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008431/0.2844, allocations: 0.5359 MB / 375 MB, free: 23.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.2855, allocations: 0.6606 MB / 375.7 MB, free: 22.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.2855, allocations: 1.188 kB / 375.7 MB, free: 22.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002597/0.2881, allocations: 1.112 MB / 376.8 MB, free: 22.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.527e-05/0.2882, allocations: 93.09 kB / 376.9 MB, free: 22.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.2882, allocations: 1.469 kB / 376.9 MB, free: 22.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007027/0.2889, allocations: 248.1 kB / 377.1 MB, free: 22.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005353/0.2894, allocations: 134.6 kB / 377.3 MB, free: 22.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006191/0.2956, allocations: 6.484 MB / 383.8 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008504/0.2965, allocations: 109.5 kB / 383.9 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.139e-05/0.2966, allocations: 27.22 kB / 383.9 MB, free: 16.22 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.0003404/0.2969, allocations: 217.8 kB / 384.1 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.2971, allocations: 85.22 kB / 384.2 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.2973, allocations: 91.23 kB / 384.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.2973, allocations: 7.406 kB / 384.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.2973, allocations: 0.6094 kB / 384.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002122/0.2995, allocations: 1.26 MB / 385.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003548/0.303, allocations: 1.935 MB / 387.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.303, allocations: 5.5 kB / 387.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/0.3036, allocations: 134.6 kB / 387.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000525/0.3042, allocations: 216.2 kB / 387.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/0.3042, allocations: 14.84 kB / 387.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004778/0.309, allocations: 5.004 MB / 392.9 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.309, allocations: 5.406 kB / 392.9 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/0.3119, allocations: 1.391 MB / 394.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/0.3122, allocations: 239.5 kB / 394.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.3124, allocations: 16.67 kB / 394.5 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006306/0.313, allocations: 50.59 kB / 394.5 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.3132, allocations: 61.34 kB / 394.6 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.3132, allocations: 19.12 kB / 394.6 MB, free: 8.867 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005654/0.3138, allocations: 466.9 kB / 395.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3138, allocations: 0 / 395.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008849/0.3147, allocations: 278.2 kB / 395.4 MB, free: 8.617 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.0001447/0.3149, allocations: 131 kB / 395.5 MB, free: 8.504 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.3167, allocations: 1.309 MB / 396.8 MB, free: 7.625 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.3167, allocations: 2.125 kB / 396.8 MB, free: 7.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008016/0.3175, allocations: 0.7009 MB / 397.5 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.0009386/0.3184, allocations: 220.6 kB / 397.7 MB, free: 7.074 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.3209, allocations: 2.024 MB / 399.7 MB, free: 5.801 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.3212, allocations: 0.9374 MB / 400.7 MB, free: 5.047 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.3214, allocations: 62.44 kB / 400.7 MB, free: 5.039 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3214, allocations: 5.375 kB / 400.7 MB, free: 5.035 MB / 302.1 MB Notification: Performance of Templates: time 0.02361/0.345, allocations: 21.91 MB / 422.6 MB, free: 0.9141 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