Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 150.1 kB / 24.81 MB, free: 9.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.017/1.017, allocations: 173.4 MB / 201.5 MB, free: 9.195 MB / 186.7 MB " [Timeout remaining time 179] 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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 268.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.685e-05, allocations: 2.312 kB / 268.4 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004234/0.004251, allocations: 4.946 MB / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.00603, allocations: 1.289 MB / 274.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.006244, allocations: 11.94 kB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.006533, allocations: 162.5 kB / 274.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.00695, allocations: 349 kB / 275.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.007256, allocations: 239.5 kB / 275.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008232/0.008079, allocations: 1.226 MB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.00833, allocations: 214.5 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008135/0.009143, allocations: 0.6822 MB / 277.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.009475, allocations: 386.9 kB / 277.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.009585, allocations: 104 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.009697, allocations: 104 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.009804, allocations: 219.2 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000244/0.01005, allocations: 391.1 kB / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.01061, allocations: 0.7824 MB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.01061, allocations: 0 / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.01061, allocations: 0 / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.01062, allocations: 4 kB / 279.5 MB, free: 11.06 MB / 266.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.001254/0.01187, allocations: 1.388 MB / 280.8 MB, free: 9.617 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.0119, allocations: 12.03 kB / 280.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.01205, allocations: 156.3 kB / 281 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.01249, allocations: 492.8 kB / 281.5 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.01262, allocations: 289.2 kB / 281.8 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.97e-05/0.01269, allocations: 80.27 kB / 281.9 MB, free: 8.523 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007812/0.01347, allocations: 1.476 MB / 283.3 MB, free: 6.723 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.01349, allocations: 3.938 kB / 283.3 MB, free: 6.719 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.01352, allocations: 24 kB / 283.4 MB, free: 6.695 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.01353, allocations: 16 kB / 283.4 MB, free: 6.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.01382, allocations: 246.2 kB / 283.6 MB, free: 6.441 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.01563, allocations: 1.378 MB / 285 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.016, allocations: 349 kB / 285.3 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.01619, allocations: 177.4 kB / 285.5 MB, free: 4.504 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.283e-05/0.01623, allocations: 28.64 kB / 285.5 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.01626, allocations: 53.98 kB / 285.6 MB, free: 4.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 1.864e-06/0.01626, allocations: 0 / 285.6 MB, free: 4.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.00164/0.0179, allocations: 0.9408 MB / 286.5 MB, free: 3.449 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002123/0.01812, allocations: 0.8272 MB / 287.4 MB, free: 2.422 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.01848, allocations: 0.5969 MB / 288 MB, free: 1.812 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.01852, allocations: 45.7 kB / 288 MB, free: 1.762 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.01871, allocations: 407.9 kB / 288.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.01884, allocations: 265.6 kB / 288.7 MB, free: 1.094 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.01899, allocations: 156.3 kB / 288.8 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.01915, allocations: 0.5702 MB / 289.4 MB, free: 360 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.01931, allocations: 175 kB / 289.5 MB, free: 164 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09734/0.1166, allocations: 1.262 MB / 290.8 MB, free: 27.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.1171, allocations: 381.1 kB / 291.2 MB, free: 27.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.1171, allocations: 0.8438 kB / 291.2 MB, free: 27.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001106/0.1182, allocations: 0.8063 MB / 292 MB, free: 27.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.1182, allocations: 89.89 kB / 292.1 MB, free: 27.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1182, allocations: 0.6875 kB / 292.1 MB, free: 27.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000394/0.1186, allocations: 189.2 kB / 292.3 MB, free: 27.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.119, allocations: 133 kB / 292.4 MB, free: 27.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/0.122, allocations: 7.676 MB / 300.1 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.1224, allocations: 84.53 kB / 300.2 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.1224, allocations: 17.19 kB / 300.2 MB, free: 20.32 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 (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.0001829/0.1226, allocations: 214.8 kB / 300.4 MB, free: 20.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.1227, allocations: 114.5 kB / 300.5 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.81e-05/0.1228, allocations: 86.7 kB / 300.6 MB, free: 20.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1228, allocations: 8.094 kB / 300.6 MB, free: 20.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1228, allocations: 0 / 300.6 MB, free: 20.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007524/0.1236, allocations: 0.8739 MB / 301.5 MB, free: 19.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.125, allocations: 1.248 MB / 302.7 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.125, allocations: 0 / 302.7 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.1254, allocations: 133.7 kB / 302.8 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002841/0.1256, allocations: 160.8 kB / 303 MB, free: 19.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.1257, allocations: 12.8 kB / 303 MB, free: 19.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.1277, allocations: 5.845 MB / 308.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1277, allocations: 0 / 308.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009938/0.1287, allocations: 0.8676 MB / 309.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.1289, allocations: 160.7 kB / 309.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.129, allocations: 18.25 kB / 309.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.1292, allocations: 44.69 kB / 309.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.1294, allocations: 71.12 kB / 310 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.1294, allocations: 14.39 kB / 310 MB, free: 13.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002667/0.1297, allocations: 380.7 kB / 310.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1297, allocations: 0 / 310.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005883/0.1303, allocations: 283.9 kB / 310.7 MB, free: 13.31 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.0001167/0.1304, allocations: 126.4 kB / 310.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008146/0.1312, allocations: 1.323 MB / 312.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1312, allocations: 2.188 kB / 312.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004937/0.1317, allocations: 0.7667 MB / 312.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.1323, allocations: 243.8 kB / 313.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.1342, allocations: 1.428 MB / 314.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.1344, allocations: 163.4 kB / 314.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002884/0.1347, allocations: 101.7 kB / 314.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005838/0.1353, allocations: 437.7 kB / 315.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1353, allocations: 1.375 kB / 315.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of Templates: time 0.01951/0.1548, allocations: 20.6 MB / 335.8 MB, free: 8.617 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.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.1244235141202807]