Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009875/0.0009875, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.00116/0.00116, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9085/0.9085, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 273.5 MB, free: 4.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.353e-05, allocations: 2.312 kB / 273.5 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005688/0.005712, allocations: 5.011 MB / 278.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002816/0.008528, allocations: 1.375 MB / 279.9 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004481/0.008976, allocations: 15.88 kB / 279.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004411/0.009418, allocations: 162.6 kB / 280 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007453/0.01016, allocations: 356.8 kB / 280.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.01064, allocations: 231.6 kB / 280.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00144/0.01208, allocations: 1.222 MB / 281.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.01244, allocations: 220.5 kB / 282.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008509/0.0133, allocations: 0.6821 MB / 282.7 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004337/0.01373, allocations: 379 kB / 283.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.01385, allocations: 111.9 kB / 283.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.01395, allocations: 107.9 kB / 283.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.01406, allocations: 223.2 kB / 283.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002734/0.01434, allocations: 387.1 kB / 283.9 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006235/0.01496, allocations: 0.7863 MB / 284.7 MB, free: 9.125 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.01496, allocations: 0 / 284.7 MB, free: 9.125 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01496, allocations: 0 / 284.7 MB, free: 9.125 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.01498, allocations: 4 kB / 284.7 MB, free: 9.121 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.001276/0.01625, allocations: 1.228 MB / 285.9 MB, free: 7.844 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.01628, allocations: 12.03 kB / 286 MB, free: 7.832 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.01642, allocations: 128.8 kB / 286.1 MB, free: 7.707 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.01688, allocations: 382.1 kB / 286.5 MB, free: 7.305 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.01703, allocations: 293.2 kB / 286.7 MB, free: 6.965 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/0.0171, allocations: 72.38 kB / 286.8 MB, free: 6.895 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007891/0.01789, allocations: 1.406 MB / 288.2 MB, free: 5.199 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.0179, allocations: 3.938 kB / 288.2 MB, free: 5.195 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.01794, allocations: 28 kB / 288.2 MB, free: 5.168 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.01795, allocations: 15.98 kB / 288.3 MB, free: 5.152 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.01823, allocations: 206.2 kB / 288.5 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.01987, allocations: 1.012 MB / 289.5 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.02023, allocations: 319.9 kB / 289.8 MB, free: 3.602 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.02041, allocations: 167.2 kB / 290 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.02045, allocations: 20.64 kB / 290 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.02048, allocations: 51.16 kB / 290 MB, free: 3.359 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 1.994e-06/0.02048, allocations: 0 / 290 MB, free: 3.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001501/0.02198, allocations: 0.8169 MB / 290.8 MB, free: 2.527 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002181/0.0222, allocations: 0.8273 MB / 291.7 MB, free: 1.504 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.02251, allocations: 0.5 MB / 292.2 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.02255, allocations: 45.7 kB / 292.2 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.02266, allocations: 251.2 kB / 292.5 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.02278, allocations: 269.6 kB / 292.7 MB, free: 436 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.02292, allocations: 142.6 kB / 292.9 MB, free: 288 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.02304, allocations: 390.6 kB / 293.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.02319, allocations: 163.1 kB / 293.4 MB, free: 15.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.02366, allocations: 1.172 MB / 294.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.02398, allocations: 362 kB / 294.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.02398, allocations: 0 / 294.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008763/0.02486, allocations: 0.6726 MB / 295.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/0.0249, allocations: 85.11 kB / 295.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.0249, allocations: 0 / 295.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003585/0.02526, allocations: 163.3 kB / 295.8 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.02564, allocations: 179.7 kB / 296 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003016/0.02865, allocations: 5.292 MB / 301.3 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.02899, allocations: 91.55 kB / 301.4 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.02902, allocations: 23.94 kB / 301.4 MB, free: 6.926 MB / 282.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.0001541/0.02918, allocations: 161.7 kB / 301.6 MB, free: 6.758 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.059e-05/0.02926, allocations: 79.92 kB / 301.7 MB, free: 6.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.681e-05/0.02933, allocations: 83.2 kB / 301.7 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.02934, allocations: 15.97 kB / 301.8 MB, free: 6.578 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.02934, allocations: 0 / 301.8 MB, free: 6.578 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007888/0.03013, allocations: 0.7802 MB / 302.5 MB, free: 5.684 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.03136, allocations: 0.9639 MB / 303.5 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.03137, allocations: 0 / 303.5 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.03175, allocations: 168.4 kB / 303.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000273/0.03202, allocations: 142.4 kB / 303.8 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.03205, allocations: 19.92 kB / 303.8 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/0.03437, allocations: 4.052 MB / 307.9 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.03437, allocations: 0 / 307.9 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008231/0.03519, allocations: 0.6892 MB / 308.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.03536, allocations: 103.3 kB / 308.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.03541, allocations: 12 kB / 308.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.03566, allocations: 43.97 kB / 308.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.03577, allocations: 68.59 kB / 308.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.0358, allocations: 20.17 kB / 308.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001788/0.03597, allocations: 248.6 kB / 309 MB, free: 14.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03597, allocations: 0 / 309 MB, free: 14.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005167/0.03649, allocations: 287.7 kB / 309.3 MB, free: 14.56 MB / 298.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.0001158/0.03661, allocations: 104.3 kB / 309.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000922/0.03753, allocations: 1.068 MB / 310.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.03754, allocations: 8 kB / 310.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004639/0.038, allocations: 0.5836 MB / 311.1 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.03851, allocations: 234.9 kB / 311.3 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.04027, allocations: 1.365 MB / 312.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.04037, allocations: 157.2 kB / 312.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002531/0.04063, allocations: 102.3 kB / 312.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005631/0.04119, allocations: 381.1 kB / 313.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.04119, allocations: 0 / 313.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of Templates: time 0.02195/0.06314, allocations: 20.78 MB / 334.1 MB, free: 6.008 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.956212767865509]