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.001007/0.001007, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 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.001481/0.001481, allocations: 166.2 kB / 25.69 MB, free: 8.445 MB / 18.57 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.8919/0.8919, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.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.623e-06/1.623e-06, allocations: 0 / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.481e-05, allocations: 6.312 kB / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006151/0.006176, allocations: 4.908 MB / 256.5 MB, free: 2.293 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003151/0.009327, allocations: 1.363 MB / 257.8 MB, free: 0.918 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005462/0.009873, allocations: 11.94 kB / 257.8 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00049/0.01036, allocations: 174.5 kB / 258 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009308/0.01129, allocations: 344.9 kB / 258.4 MB, free: 404 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000599/0.01189, allocations: 231.6 kB / 258.6 MB, free: 172 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.01325, allocations: 1.195 MB / 259.8 MB, free: 14.96 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004495/0.0137, allocations: 240.5 kB / 260 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008759/0.01457, allocations: 0.6704 MB / 260.7 MB, free: 14.04 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005979/0.01517, allocations: 379 kB / 261.1 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.01534, allocations: 104 kB / 261.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.0155, allocations: 100 kB / 261.3 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.01566, allocations: 227.2 kB / 261.5 MB, free: 13.24 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004765/0.01614, allocations: 383.2 kB / 261.8 MB, free: 12.87 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009798/0.01712, allocations: 0.7707 MB / 262.6 MB, free: 12.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.01713, allocations: 0 / 262.6 MB, free: 12.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.01713, allocations: 3.984 kB / 262.6 MB, free: 12.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.01715, allocations: 0 / 262.6 MB, free: 12.09 MB / 250.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.001788/0.01893, allocations: 1.22 MB / 263.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.01898, allocations: 15.98 kB / 263.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.01918, allocations: 128.8 kB / 264 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006313/0.01981, allocations: 365.4 kB / 264.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/0.02003, allocations: 297.2 kB / 264.6 MB, free: 9.953 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.02014, allocations: 80.33 kB / 264.7 MB, free: 9.875 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.0213, allocations: 1.398 MB / 266.1 MB, free: 8.188 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.02132, allocations: 192 / 266.1 MB, free: 8.188 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/0.02138, allocations: 40.06 kB / 266.1 MB, free: 8.148 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.02139, allocations: 12 kB / 266.2 MB, free: 8.137 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00043/0.02182, allocations: 202.3 kB / 266.4 MB, free: 7.938 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002253/0.02408, allocations: 1.076 MB / 267.4 MB, free: 6.848 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007785/0.02486, allocations: 371.3 kB / 267.8 MB, free: 6.477 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.02514, allocations: 158.5 kB / 268 MB, free: 6.32 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.945e-05/0.02519, allocations: 20.64 kB / 268 MB, free: 6.301 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.02522, allocations: 47.22 kB / 268 MB, free: 6.246 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 2.886e-06/0.02523, allocations: 0 / 268 MB, free: 6.246 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.002318/0.02755, allocations: 0.8286 MB / 268.8 MB, free: 5.398 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002803/0.02783, allocations: 0.8234 MB / 269.7 MB, free: 4.379 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004608/0.02829, allocations: 475.1 kB / 270.1 MB, free: 3.902 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/0.02834, allocations: 45.7 kB / 270.2 MB, free: 3.852 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.02852, allocations: 266.3 kB / 270.4 MB, free: 3.586 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.02871, allocations: 261.7 kB / 270.7 MB, free: 3.328 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.02891, allocations: 150.5 kB / 270.8 MB, free: 3.176 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.02904, allocations: 386.6 kB / 271.2 MB, free: 2.789 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.02925, allocations: 159.1 kB / 271.4 MB, free: 2.617 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007197/0.02997, allocations: 1.176 MB / 272.5 MB, free: 1.137 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.03044, allocations: 366 kB / 272.9 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.03045, allocations: 0 / 272.9 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00111/0.03156, allocations: 0.6726 MB / 273.6 MB, free: 24 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.504e-05/0.03163, allocations: 81.11 kB / 273.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.03164, allocations: 8.062 kB / 273.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005598/0.0322, allocations: 171.2 kB / 273.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/0.03279, allocations: 159.8 kB / 274 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004735/0.03752, allocations: 5.32 MB / 279.3 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005033/0.03803, allocations: 79.58 kB / 279.4 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.03806, allocations: 12 kB / 279.4 MB, free: 9.828 MB / 266.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.0001932/0.03825, allocations: 161.7 kB / 279.6 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.039e-05/0.03834, allocations: 79.91 kB / 279.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.958e-05/0.03842, allocations: 86.75 kB / 279.7 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.03843, allocations: 8 kB / 279.7 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.03843, allocations: 7.938 kB / 279.7 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006844/0.03912, allocations: 0.7762 MB / 280.5 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.04042, allocations: 0.9655 MB / 281.5 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.04042, allocations: 0 / 281.5 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.04081, allocations: 159.8 kB / 281.6 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002933/0.04111, allocations: 142.5 kB / 281.8 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.04114, allocations: 12 kB / 281.8 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/0.04341, allocations: 4.029 MB / 285.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.04341, allocations: 3.984 kB / 285.8 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009337/0.04435, allocations: 0.6962 MB / 286.5 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.04454, allocations: 91.33 kB / 286.6 MB, free: 2.152 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.072e-05/0.0446, allocations: 24.12 kB / 286.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.04486, allocations: 35.97 kB / 286.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.04497, allocations: 72.42 kB / 286.7 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.04499, allocations: 16.17 kB / 286.7 MB, free: 2.008 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000157/0.04515, allocations: 216.4 kB / 287 MB, free: 1.797 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.04515, allocations: 0 / 287 MB, free: 1.797 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005643/0.04571, allocations: 291.7 kB / 287.2 MB, free: 1.512 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.0001288/0.04584, allocations: 104.3 kB / 287.3 MB, free: 1.402 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008424/0.04669, allocations: 1.072 MB / 288.4 MB, free: 228 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/0.0467, allocations: 8 kB / 288.4 MB, free: 220 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.04709, allocations: 0.5445 MB / 289 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.04761, allocations: 222.9 kB / 289.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.04939, allocations: 1.356 MB / 290.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.04951, allocations: 161.1 kB / 290.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002751/0.04978, allocations: 102 kB / 290.8 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005643/0.05035, allocations: 365.1 kB / 291.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of SimCode: time 1.213e-06/0.05035, allocations: 0 / 291.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of Templates: time 0.02098/0.07133, allocations: 19.91 MB / 311.1 MB, free: 9.473 MB / 298.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 -s gbode -gbm=radauIIA3 -emit_protected -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.176871718838811]