Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.003/1.003, allocations: 177 MB / 204.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.61e-05, allocations: 2.312 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004585/0.004612, allocations: 5.058 MB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.007073, allocations: 1.324 MB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000339/0.007412, allocations: 15.88 kB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.007788, allocations: 158.6 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005533/0.008341, allocations: 352.9 kB / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.008754, allocations: 223.5 kB / 280 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.009778, allocations: 1.234 MB / 281.2 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000301/0.01008, allocations: 214.5 kB / 281.5 MB, free: 8.871 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006832/0.01076, allocations: 0.6783 MB / 282.1 MB, free: 8.191 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004502/0.01121, allocations: 382.9 kB / 282.5 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.01134, allocations: 100 kB / 282.6 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.01146, allocations: 108 kB / 282.7 MB, free: 7.613 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.01161, allocations: 231.2 kB / 282.9 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.01191, allocations: 387.2 kB / 283.3 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007272/0.01264, allocations: 0.7941 MB / 284.1 MB, free: 6.211 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.01264, allocations: 0 / 284.1 MB, free: 6.211 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01264, allocations: 0 / 284.1 MB, free: 6.211 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.01266, allocations: 8 kB / 284.1 MB, free: 6.203 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.001567/0.01422, allocations: 1.372 MB / 285.5 MB, free: 4.773 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.01427, allocations: 11.98 kB / 285.5 MB, free: 4.762 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002248/0.0145, allocations: 164.3 kB / 285.7 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006247/0.01512, allocations: 0.5098 MB / 286.2 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004493/0.01557, allocations: 293.2 kB / 286.5 MB, free: 3.719 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.733e-05/0.01566, allocations: 68.38 kB / 286.5 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.01693, allocations: 1.527 MB / 288 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.01695, allocations: 3.938 kB / 288.1 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.737e-05/0.01701, allocations: 28 kB / 288.1 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.01703, allocations: 16 kB / 288.1 MB, free: 1.754 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006234/0.01765, allocations: 295.6 kB / 288.4 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002433/0.02009, allocations: 1.483 MB / 289.9 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/0.02075, allocations: 392.5 kB / 290.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.02113, allocations: 212.9 kB / 290.5 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.315e-05/0.02119, allocations: 16.64 kB / 290.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.02123, allocations: 50.05 kB / 290.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=73): time 2.164e-06/0.02123, allocations: 0 / 290.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=73): time 0.002627/0.02386, allocations: 1.031 MB / 291.6 MB, free: 14.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002964/0.02415, allocations: 0.8272 MB / 292.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006242/0.02478, allocations: 0.6128 MB / 293 MB, free: 12.56 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.02483, allocations: 41.7 kB / 293 MB, free: 12.51 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.02517, allocations: 396 kB / 293.4 MB, free: 12.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.02535, allocations: 265.7 kB / 293.7 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.02555, allocations: 152.3 kB / 293.8 MB, free: 11.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.02575, allocations: 0.5625 MB / 294.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.02605, allocations: 207 kB / 294.6 MB, free: 10.9 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007286/0.02678, allocations: 1.298 MB / 295.9 MB, free: 9.262 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005955/0.02737, allocations: 430.7 kB / 296.3 MB, free: 8.812 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.02738, allocations: 0 / 296.3 MB, free: 8.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001354/0.02873, allocations: 0.8688 MB / 297.2 MB, free: 7.887 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.4e-05/0.02879, allocations: 93.05 kB / 297.3 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.02879, allocations: 0 / 297.3 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005402/0.02933, allocations: 194.5 kB / 297.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.02974, allocations: 135.8 kB / 297.6 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1308/0.1605, allocations: 7.798 MB / 305.4 MB, free: 37.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006745/0.1612, allocations: 83.89 kB / 305.5 MB, free: 37.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/0.1613, allocations: 22.77 kB / 305.5 MB, free: 37.41 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.0002271/0.1615, allocations: 207.2 kB / 305.7 MB, free: 37.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.1616, allocations: 111.4 kB / 305.8 MB, free: 37.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.318e-05/0.1617, allocations: 89.42 kB / 305.9 MB, free: 37.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1617, allocations: 12.09 kB / 305.9 MB, free: 37.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1618, allocations: 0.75 kB / 305.9 MB, free: 37.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00103/0.1628, allocations: 0.932 MB / 306.8 MB, free: 36.67 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.1647, allocations: 1.382 MB / 308.2 MB, free: 36.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1647, allocations: 2.469 kB / 308.2 MB, free: 36.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.165, allocations: 135 kB / 308.4 MB, free: 36.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003755/0.1654, allocations: 165.2 kB / 308.5 MB, free: 36.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.1655, allocations: 17.56 kB / 308.5 MB, free: 36.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002794/0.1683, allocations: 5.939 MB / 314.5 MB, free: 30.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1683, allocations: 5.594 kB / 314.5 MB, free: 30.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.1696, allocations: 0.9466 MB / 315.4 MB, free: 30.65 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.1699, allocations: 165.9 kB / 315.6 MB, free: 30.61 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.1699, allocations: 18.34 kB / 315.6 MB, free: 30.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.1702, allocations: 41.22 kB / 315.6 MB, free: 30.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.1704, allocations: 69.78 kB / 315.7 MB, free: 30.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.1704, allocations: 21.41 kB / 315.7 MB, free: 30.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003698/0.1708, allocations: 411.1 kB / 316.1 MB, free: 30.47 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1708, allocations: 0 / 316.1 MB, free: 30.47 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000695/0.1715, allocations: 279.7 kB / 316.4 MB, free: 30.46 MB / 282.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.0001334/0.1716, allocations: 124.1 kB / 316.5 MB, free: 30.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.1727, allocations: 1.379 MB / 317.9 MB, free: 29.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.1727, allocations: 6.188 kB / 317.9 MB, free: 29.37 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006071/0.1734, allocations: 0.7793 MB / 318.7 MB, free: 28.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.174, allocations: 240.4 kB / 318.9 MB, free: 28.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.1761, allocations: 1.457 MB / 320.4 MB, free: 28.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.1762, allocations: 162.7 kB / 320.5 MB, free: 28.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002794/0.1765, allocations: 98.77 kB / 320.6 MB, free: 28.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.1767, allocations: 71.22 kB / 320.7 MB, free: 28.01 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1767, allocations: 1.281 kB / 320.7 MB, free: 28.01 MB / 282.7 MB Notification: Performance of Templates: time 0.01847/0.1951, allocations: 19.33 MB / 340 MB, free: 13.57 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 3.545712970662862]