Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00143/0.00143, allocations: 181.3 kB / 17.41 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.4 MB / 223.6 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007563/0.0007563, allocations: 97.47 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003456, allocations: 8 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3096, allocations: 47.58 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.4216, allocations: 81.86 MB / 457.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.4219, allocations: 79.95 kB / 457.7 MB, free: 14.69 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04167/0.4636, allocations: 16.21 MB / 473.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.4636, allocations: 4 kB / 473.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.248e-05/0.4637, allocations: 23.94 kB / 473.9 MB, free: 14.33 MB / 362.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.002092/0.4658, allocations: 1.146 MB / 475 MB, free: 13.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.4658, allocations: 8.031 kB / 475.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.466, allocations: 103.8 kB / 475.2 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008475/0.4669, allocations: 0.5473 MB / 475.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.4671, allocations: 151 kB / 475.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.376e-05/0.4672, allocations: 56.38 kB / 475.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.4686, allocations: 0.8523 MB / 476.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.4686, allocations: 3.938 kB / 476.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.585e-05/0.4687, allocations: 28 kB / 476.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.4687, allocations: 16 kB / 476.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.4699, allocations: 0.5751 MB / 477.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003385/0.4733, allocations: 2.1 MB / 479.5 MB, free: 8.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.4752, allocations: 1.02 MB / 480.5 MB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006862/0.4759, allocations: 374.7 kB / 480.9 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.325e-05/0.476, allocations: 20.64 kB / 480.9 MB, free: 6.957 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.476, allocations: 47.22 kB / 480.9 MB, free: 6.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 3.236e-06/0.476, allocations: 0 / 480.9 MB, free: 6.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.00476/0.4808, allocations: 1.863 MB / 482.8 MB, free: 4.945 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000456/0.4813, allocations: 0.8233 MB / 483.6 MB, free: 3.926 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008805/0.4822, allocations: 0.641 MB / 484.3 MB, free: 3.277 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.28e-05/0.4822, allocations: 49.7 kB / 484.3 MB, free: 3.223 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.4825, allocations: 325.2 kB / 484.6 MB, free: 2.898 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.4828, allocations: 252.2 kB / 484.9 MB, free: 2.648 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.4828, allocations: 16 kB / 484.9 MB, free: 2.633 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002395/0.4831, allocations: 390.7 kB / 485.3 MB, free: 2.242 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005764/0.4837, allocations: 257.9 kB / 485.5 MB, free: 1.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008594/0.4845, allocations: 0.5406 MB / 486.1 MB, free: 1.348 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.4858, allocations: 0.6545 MB / 486.7 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4858, allocations: 4 kB / 486.7 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002467/0.4883, allocations: 1.11 MB / 487.8 MB, free: 15.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.4884, allocations: 85.11 kB / 487.9 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.4884, allocations: 0 / 487.9 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007241/0.4891, allocations: 259.2 kB / 488.2 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/0.4897, allocations: 131.8 kB / 488.3 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007719/0.4974, allocations: 6.495 MB / 494.8 MB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.4985, allocations: 107.3 kB / 494.9 MB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/0.4986, allocations: 20 kB / 494.9 MB, free: 7.863 MB / 378.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 (71): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005039/0.4991, allocations: 225.7 kB / 495.1 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.4992, allocations: 83.06 kB / 495.2 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.4994, allocations: 96 kB / 495.3 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.4995, allocations: 11.94 kB / 495.3 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4995, allocations: 3.938 kB / 495.3 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002262/0.5017, allocations: 1.26 MB / 496.6 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003809/0.5056, allocations: 1.946 MB / 498.5 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.5056, allocations: 0 / 498.5 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006486/0.5063, allocations: 131.8 kB / 498.7 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005707/0.5068, allocations: 218.6 kB / 498.9 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.122e-05/0.5069, allocations: 15.98 kB / 498.9 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2378/0.7447, allocations: 5.055 MB / 0.4921 GB, free: 103.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/0.7448, allocations: 3.5 kB / 0.4921 GB, free: 103.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003852/0.7486, allocations: 1.397 MB / 0.4935 GB, free: 103.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004425/0.7491, allocations: 238.5 kB / 0.4937 GB, free: 103 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.7492, allocations: 17.44 kB / 0.4937 GB, free: 103 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004627/0.7497, allocations: 48.73 kB / 0.4938 GB, free: 103 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/0.7499, allocations: 68.17 kB / 0.4939 GB, free: 103 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/0.75, allocations: 18.19 kB / 0.4939 GB, free: 103 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007582/0.7507, allocations: 459 kB / 0.4943 GB, free: 103 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7507, allocations: 0 / 0.4943 GB, free: 103 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001547/0.7523, allocations: 281.1 kB / 0.4946 GB, free: 103 MB / 378.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 (62): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003626/0.7527, allocations: 134.8 kB / 0.4947 GB, free: 102.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002357/0.7551, allocations: 1.316 MB / 0.496 GB, free: 102.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/0.7551, allocations: 4.25 kB / 0.496 GB, free: 102.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.7564, allocations: 0.7624 MB / 0.4967 GB, free: 101.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.7577, allocations: 224.6 kB / 0.497 GB, free: 101.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.761, allocations: 1.94 MB / 0.4988 GB, free: 101.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.7616, allocations: 0.9402 MB / 0.4998 GB, free: 100.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.7618, allocations: 70.17 kB / 0.4998 GB, free: 100.3 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.7618, allocations: 1.422 kB / 0.4998 GB, free: 100.3 MB / 378.7 MB Notification: Performance of Templates: time 0.02235/0.7842, allocations: 21.8 MB / 0.5211 GB, free: 89.84 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches