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.001756/0.001756, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.001927/0.001927, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 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 1.595/1.595, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.322e-06/1.322e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/2.981e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.007265/0.007295, allocations: 5.008 MB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002893/0.01019, allocations: 1.312 MB / 278.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003953/0.01058, allocations: 11.94 kB / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.01104, allocations: 162.6 kB / 278.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007498/0.01179, allocations: 352.9 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.01226, allocations: 227.6 kB / 279.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.01373, allocations: 1.234 MB / 280.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003805/0.01411, allocations: 206.6 kB / 280.8 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008795/0.01499, allocations: 0.6743 MB / 281.5 MB, free: 8.617 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005985/0.01559, allocations: 390.9 kB / 281.9 MB, free: 8.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.01576, allocations: 104 kB / 282 MB, free: 8.133 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.01597, allocations: 108 kB / 282.1 MB, free: 8.027 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.01621, allocations: 223.2 kB / 282.3 MB, free: 7.809 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004913/0.0167, allocations: 391.1 kB / 282.7 MB, free: 7.426 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.01825, allocations: 1.258 MB / 283.9 MB, free: 6.164 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.01825, allocations: 0 / 283.9 MB, free: 6.164 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01825, allocations: 0 / 283.9 MB, free: 6.164 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.01827, allocations: 4 kB / 283.9 MB, free: 6.16 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.002842/0.02111, allocations: 1.427 MB / 285.4 MB, free: 4.676 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.02115, allocations: 8.031 kB / 285.4 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003081/0.02146, allocations: 156.3 kB / 285.5 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.02249, allocations: 0.5411 MB / 286.1 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003154/0.0228, allocations: 289.2 kB / 286.3 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.02294, allocations: 76.31 kB / 286.4 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.02512, allocations: 1.69 MB / 288.1 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.02514, allocations: 3.938 kB / 288.1 MB, free: 1.516 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.626e-05/0.02522, allocations: 32 kB / 288.1 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.02523, allocations: 12 kB / 288.1 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.02662, allocations: 0.5517 MB / 288.7 MB, free: 0.918 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1273/0.154, allocations: 1.748 MB / 290.4 MB, free: 28.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.1551, allocations: 0.5678 MB / 291 MB, free: 28.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006926/0.1558, allocations: 345.7 kB / 291.4 MB, free: 27.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-05/0.1558, allocations: 16.34 kB / 291.4 MB, free: 27.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.1559, allocations: 57.66 kB / 291.4 MB, free: 27.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.424e-06/0.1559, allocations: 0 / 291.4 MB, free: 27.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.004554/0.1604, allocations: 1.4 MB / 292.8 MB, free: 27.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/0.1606, allocations: 0.8229 MB / 293.6 MB, free: 26.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008465/0.1614, allocations: 0.7773 MB / 294.4 MB, free: 26.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.147e-05/0.1615, allocations: 42.05 kB / 294.5 MB, free: 26.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.1618, allocations: 427.2 kB / 294.9 MB, free: 25.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.1619, allocations: 273.4 kB / 295.2 MB, free: 25.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.1622, allocations: 169.3 kB / 295.3 MB, free: 25.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1623, allocations: 0.6008 MB / 295.9 MB, free: 24.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005664/0.1629, allocations: 335.4 kB / 296.2 MB, free: 24.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008843/0.1638, allocations: 1.472 MB / 297.7 MB, free: 23.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.165, allocations: 0.6928 MB / 298.4 MB, free: 22.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.165, allocations: 0.6562 kB / 298.4 MB, free: 22.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002474/0.1674, allocations: 1.16 MB / 299.6 MB, free: 22.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/0.1675, allocations: 88.59 kB / 299.7 MB, free: 22.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.1675, allocations: 2.031 kB / 299.7 MB, free: 22.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008951/0.1684, allocations: 254.1 kB / 299.9 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/0.169, allocations: 133.5 kB / 300 MB, free: 22.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006399/0.1754, allocations: 8.525 MB / 308.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009304/0.1763, allocations: 87.25 kB / 308.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/0.1764, allocations: 26.42 kB / 308.7 MB, free: 14.22 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.0003282/0.1767, allocations: 265 kB / 308.9 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.1769, allocations: 105.3 kB / 309 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.177, allocations: 86.11 kB / 309.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.177, allocations: 14.81 kB / 309.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.177, allocations: 0 / 309.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002106/0.1792, allocations: 1.182 MB / 310.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00337/0.1825, allocations: 1.788 MB / 312.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1825, allocations: 11.77 kB / 312.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/0.1832, allocations: 135.2 kB / 312.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007113/0.1839, allocations: 217 kB / 312.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.954e-05/0.1839, allocations: 12.97 kB / 312.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005169/0.1891, allocations: 6.53 MB / 319 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1891, allocations: 0 / 319 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00263/0.1917, allocations: 1.384 MB / 320.4 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.1921, allocations: 167.2 kB / 320.5 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.1922, allocations: 27.86 kB / 320.6 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/0.1928, allocations: 39.97 kB / 320.6 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.1929, allocations: 68.53 kB / 320.7 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-05/0.193, allocations: 16 kB / 320.7 MB, free: 4.004 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00048/0.1935, allocations: 0.5146 MB / 321.2 MB, free: 3.492 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1935, allocations: 0 / 321.2 MB, free: 3.492 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008381/0.1943, allocations: 275.8 kB / 321.5 MB, free: 3.223 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.0001419/0.1945, allocations: 123.2 kB / 321.6 MB, free: 3.094 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001768/0.1962, allocations: 1.635 MB / 323.2 MB, free: 1.336 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1962, allocations: 0 / 323.2 MB, free: 1.336 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.1973, allocations: 0.911 MB / 324.1 MB, free: 380 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009501/0.1982, allocations: 254.5 kB / 324.4 MB, free: 140 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.2012, allocations: 1.516 MB / 325.9 MB, free: 14.6 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.2016, allocations: 341.7 kB / 326.2 MB, free: 14.24 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004348/0.2021, allocations: 102.1 kB / 326.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.2023, allocations: 68.48 kB / 326.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2023, allocations: 0 / 326.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of Templates: time 0.0355/0.2378, allocations: 19.35 MB / 345.8 MB, free: 11.12 MB / 298.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.380217624944635]