Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007861/0.0007861, allocations: 68.19 kB / 9.935 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001085/0.001871, allocations: 445.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007357/0.0007357, allocations: 161.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009253/0.001661, allocations: 463.6 kB / 11.71 MB, free: 2.449 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9199/0.9199, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1468/1.067, allocations: 49.49 MB / 220.6 MB, free: 1.449 MB / 218.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.432e-05, allocations: 10.25 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006062/0.006087, allocations: 4.927 MB / 226.8 MB, free: 11.21 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.008037, allocations: 1.371 MB / 228.1 MB, free: 9.828 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.008273, allocations: 15.94 kB / 228.2 MB, free: 9.812 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.008525, allocations: 170.5 kB / 228.3 MB, free: 9.645 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005424/0.009068, allocations: 348.9 kB / 228.7 MB, free: 9.301 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.009394, allocations: 231.5 kB / 228.9 MB, free: 9.074 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009455/0.01034, allocations: 1.195 MB / 230.1 MB, free: 7.871 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.01063, allocations: 236.5 kB / 230.3 MB, free: 7.625 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006806/0.01131, allocations: 0.8037 MB / 231.1 MB, free: 6.805 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.01168, allocations: 374.9 kB / 231.5 MB, free: 6.438 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.776e-05/0.01178, allocations: 104 kB / 231.6 MB, free: 6.336 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.01188, allocations: 104 kB / 231.7 MB, free: 6.234 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.92e-05/0.01198, allocations: 155.5 kB / 231.8 MB, free: 6.082 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.01221, allocations: 311.4 kB / 232.1 MB, free: 5.777 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005397/0.01275, allocations: 0.6968 MB / 232.8 MB, free: 5.078 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.648e-05/0.01277, allocations: 0 / 232.8 MB, free: 5.078 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01277, allocations: 4 kB / 232.8 MB, free: 5.074 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.437e-05/0.01279, allocations: 3.938 kB / 232.8 MB, free: 5.07 MB / 234.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.001512/0.01431, allocations: 1.419 MB / 234.3 MB, free: 3.605 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.01434, allocations: 8.031 kB / 234.3 MB, free: 3.598 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.01447, allocations: 128.8 kB / 234.4 MB, free: 3.473 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.01489, allocations: 361.4 kB / 234.8 MB, free: 3.09 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.01504, allocations: 297.2 kB / 235 MB, free: 2.742 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.509e-05/0.01511, allocations: 76.33 kB / 235.1 MB, free: 2.668 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008872/0.016, allocations: 1.418 MB / 236.5 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.01602, allocations: 192 / 236.5 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.01605, allocations: 32.12 kB / 236.6 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.01606, allocations: 19.98 kB / 236.6 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/0.01633, allocations: 198.3 kB / 236.8 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.01776, allocations: 1.068 MB / 237.8 MB, free: 15.63 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.01825, allocations: 375.3 kB / 238.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.01843, allocations: 162.7 kB / 238.4 MB, free: 15.1 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.01847, allocations: 12.66 kB / 238.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.0185, allocations: 47.22 kB / 238.4 MB, free: 15.03 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 1.813e-06/0.0185, allocations: 0 / 238.4 MB, free: 15.03 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.001442/0.01994, allocations: 0.8325 MB / 239.3 MB, free: 14.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.01997, allocations: 72 kB / 239.3 MB, free: 14.1 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.02026, allocations: 463.2 kB / 239.8 MB, free: 13.63 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.0203, allocations: 45.7 kB / 239.8 MB, free: 13.58 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.02042, allocations: 270.3 kB / 240.1 MB, free: 13.32 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.02054, allocations: 265.7 kB / 240.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.02068, allocations: 146.6 kB / 240.5 MB, free: 12.91 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.02078, allocations: 386.6 kB / 240.9 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.02091, allocations: 159.1 kB / 241 MB, free: 12.34 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/0.02136, allocations: 1.188 MB / 242.2 MB, free: 10.85 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005229/0.02189, allocations: 362.1 kB / 242.6 MB, free: 10.47 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02189, allocations: 0 / 242.6 MB, free: 10.47 MB / 250.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006834/0.02257, allocations: 0.6764 MB / 243.3 MB, free: 9.742 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.615e-05/0.02262, allocations: 89.17 kB / 243.3 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.02262, allocations: 0 / 243.3 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003381/0.02296, allocations: 175.1 kB / 243.5 MB, free: 9.453 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.02334, allocations: 171.8 kB / 243.7 MB, free: 9.285 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/0.0264, allocations: 5.306 MB / 249 MB, free: 3.633 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.02669, allocations: 83.55 kB / 249.1 MB, free: 3.551 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.02672, allocations: 16.17 kB / 249.1 MB, free: 3.535 MB / 250.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.0001442/0.02687, allocations: 165.7 kB / 249.2 MB, free: 3.363 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.999e-05/0.02695, allocations: 75.92 kB / 249.3 MB, free: 3.289 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.12e-05/0.02703, allocations: 86.75 kB / 249.4 MB, free: 3.203 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.02703, allocations: 15.98 kB / 249.4 MB, free: 3.188 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.02703, allocations: 0 / 249.4 MB, free: 3.188 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008698/0.0279, allocations: 0.7762 MB / 250.2 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.02909, allocations: 0.9655 MB / 251.2 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.02909, allocations: 3.984 kB / 251.2 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.02946, allocations: 163.8 kB / 251.3 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.0296, allocations: 91.31 kB / 251.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002576/0.02986, allocations: 142.5 kB / 251.5 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.02988, allocations: 19.92 kB / 251.6 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/0.03208, allocations: 4.014 MB / 255.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.03208, allocations: 0 / 255.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007626/0.03284, allocations: 0.7002 MB / 256.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.0329, allocations: 20 kB / 256.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.03314, allocations: 35.97 kB / 256.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.786e-05/0.03323, allocations: 80.39 kB / 256.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.03325, allocations: 12 kB / 256.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003603/0.03361, allocations: 216.4 kB / 256.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03361, allocations: 0 / 256.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005312/0.03414, allocations: 287.7 kB / 256.9 MB, free: 11.23 MB / 266.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.0001278/0.03427, allocations: 104.3 kB / 257 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000752/0.03502, allocations: 1.072 MB / 258.1 MB, free: 9.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.147e-05/0.03505, allocations: 16 kB / 258.1 MB, free: 9.914 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003287/0.03537, allocations: 0.5445 MB / 258.7 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.03589, allocations: 326.9 kB / 259 MB, free: 9.008 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00854/0.04443, allocations: 1.344 MB / 260.3 MB, free: 7.617 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.04453, allocations: 157.1 kB / 260.5 MB, free: 7.445 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002327/0.04477, allocations: 98.06 kB / 260.6 MB, free: 7.348 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005127/0.04528, allocations: 373 kB / 260.9 MB, free: 6.98 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.04528, allocations: 0 / 260.9 MB, free: 6.98 MB / 266.7 MB Notification: Performance of Templates: time 0.02045/0.06573, allocations: 21.53 MB / 282.5 MB, free: 1.43 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.115839133039117]