Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.0008289/0.0008289, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.001892, allocations: 453.8 kB / 10.46 MB, free: 236 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.0006887/0.0006887, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008959/0.001585, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.9426/0.9426, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1802/1.123, allocations: 49.49 MB / 220.7 MB, free: 1.355 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.TwoMass,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.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,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.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.857e-05, allocations: 5.406 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004964/0.004983, allocations: 5.034 MB / 227 MB, free: 10.99 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003134/0.008117, allocations: 1.383 MB / 228.4 MB, free: 9.602 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000472/0.008589, allocations: 11.94 kB / 228.4 MB, free: 9.59 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.00895, allocations: 174.5 kB / 228.6 MB, free: 9.418 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007308/0.009681, allocations: 349 kB / 228.9 MB, free: 9.074 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005272/0.01021, allocations: 235.5 kB / 229.2 MB, free: 8.844 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00196/0.01217, allocations: 1.221 MB / 230.4 MB, free: 7.621 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003962/0.01256, allocations: 236.4 kB / 230.6 MB, free: 7.375 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.01385, allocations: 0.8154 MB / 231.4 MB, free: 6.543 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004372/0.01429, allocations: 375 kB / 231.8 MB, free: 6.176 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.01441, allocations: 108 kB / 231.9 MB, free: 6.07 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.01455, allocations: 104 kB / 232 MB, free: 5.969 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.01469, allocations: 163.4 kB / 232.2 MB, free: 5.809 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00031/0.015, allocations: 315.4 kB / 232.5 MB, free: 5.5 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007245/0.01572, allocations: 0.7007 MB / 233.2 MB, free: 4.797 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.605e-05/0.01574, allocations: 0 / 233.2 MB, free: 4.797 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01574, allocations: 0 / 233.2 MB, free: 4.797 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.01576, allocations: 4 kB / 233.2 MB, free: 4.793 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00173/0.01749, allocations: 1.435 MB / 234.6 MB, free: 3.312 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.01754, allocations: 8.031 kB / 234.6 MB, free: 3.305 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.01771, allocations: 132.8 kB / 234.7 MB, free: 3.176 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/0.01825, allocations: 386 kB / 235.1 MB, free: 2.773 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/0.01848, allocations: 297.2 kB / 235.4 MB, free: 2.426 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.01858, allocations: 80.36 kB / 235.5 MB, free: 2.348 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.01965, allocations: 1.398 MB / 236.9 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.01968, allocations: 11.89 kB / 236.9 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/0.01972, allocations: 28 kB / 236.9 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004671/0.02019, allocations: 15.94 kB / 236.9 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.02047, allocations: 194.3 kB / 237.1 MB, free: 428 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.02215, allocations: 1.031 MB / 238.2 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.02259, allocations: 315.9 kB / 238.5 MB, free: 15.05 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.02278, allocations: 154.6 kB / 238.6 MB, free: 14.9 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.83e-05/0.02282, allocations: 24.64 kB / 238.6 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.02287, allocations: 55.09 kB / 238.7 MB, free: 14.81 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 2.103e-06/0.02287, allocations: 0 / 238.7 MB, free: 14.81 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.001606/0.02447, allocations: 0.8169 MB / 239.5 MB, free: 13.98 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.02452, allocations: 64.06 kB / 239.6 MB, free: 13.9 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.02486, allocations: 0.4962 MB / 240.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/0.02491, allocations: 45.7 kB / 240.1 MB, free: 13.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.02506, allocations: 251.1 kB / 240.4 MB, free: 13.09 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.02521, allocations: 269.6 kB / 240.6 MB, free: 12.82 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.02535, allocations: 142.6 kB / 240.8 MB, free: 12.68 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.0255, allocations: 390.6 kB / 241.1 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.02566, allocations: 163 kB / 241.3 MB, free: 12.11 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005563/0.02622, allocations: 1.172 MB / 242.5 MB, free: 10.63 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.02655, allocations: 374 kB / 242.8 MB, free: 10.24 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.02655, allocations: 0 / 242.8 MB, free: 10.24 MB / 250.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007556/0.02731, allocations: 0.6726 MB / 243.5 MB, free: 9.516 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.999e-05/0.02738, allocations: 85.09 kB / 243.6 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.02739, allocations: 0 / 243.6 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003964/0.02779, allocations: 179.2 kB / 243.8 MB, free: 9.227 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008436/0.02863, allocations: 175.8 kB / 243.9 MB, free: 9.055 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003739/0.03237, allocations: 5.301 MB / 249.2 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.03267, allocations: 87.52 kB / 249.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.03271, allocations: 23.88 kB / 249.4 MB, free: 3.293 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 (69): * Single equations (assignments): 62 * 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.000173/0.03288, allocations: 161.8 kB / 249.5 MB, free: 3.125 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.095e-05/0.03297, allocations: 83.91 kB / 249.6 MB, free: 3.043 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.621e-05/0.03307, allocations: 87.02 kB / 249.7 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.03307, allocations: 8 kB / 249.7 MB, free: 2.945 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.03308, allocations: 0 / 249.7 MB, free: 2.945 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007123/0.03379, allocations: 0.7801 MB / 250.5 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.03556, allocations: 0.9678 MB / 251.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.03557, allocations: 4 kB / 251.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.03598, allocations: 179.7 kB / 251.6 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.03614, allocations: 95.27 kB / 251.7 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/0.03645, allocations: 146.4 kB / 251.8 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.03648, allocations: 8 kB / 251.9 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005895/0.04237, allocations: 4.045 MB / 255.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.04238, allocations: 0 / 255.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.04344, allocations: 0.6971 MB / 256.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.017e-05/0.04352, allocations: 20 kB / 256.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.04387, allocations: 43.95 kB / 256.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.04401, allocations: 68.53 kB / 256.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.04403, allocations: 12 kB / 256.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002244/0.04426, allocations: 248.6 kB / 257 MB, free: 11.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.04426, allocations: 4 kB / 257 MB, free: 11.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006561/0.04491, allocations: 283.7 kB / 257.3 MB, free: 10.93 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001483/0.04506, allocations: 100.3 kB / 257.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.0464, allocations: 1.081 MB / 258.4 MB, free: 9.629 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-05/0.04643, allocations: 15.98 kB / 258.5 MB, free: 9.613 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006392/0.04706, allocations: 0.6198 MB / 259.1 MB, free: 8.949 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004629/0.05169, allocations: 2.282 MB / 261.4 MB, free: 6.219 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02376/0.07546, allocations: 1.356 MB / 262.7 MB, free: 4.828 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.07563, allocations: 165.2 kB / 262.9 MB, free: 4.641 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003573/0.07598, allocations: 98.44 kB / 263 MB, free: 4.539 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007366/0.07672, allocations: 389 kB / 263.4 MB, free: 4.16 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.07672, allocations: 0 / 263.4 MB, free: 4.16 MB / 266.7 MB Notification: Performance of Templates: time 0.179/0.2557, allocations: 23.03 MB / 286.4 MB, free: 51.93 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3191224839538336]