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.0009193/0.0009193, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.000956/0.000956, allocations: 162.9 kB / 25.61 MB, free: 8.582 MB / 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 0.8998/0.8998, allocations: 177 MB / 205.9 MB, free: 4.457 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.463e-06/1.463e-06, allocations: 0 / 274.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.482e-05, allocations: 2.312 kB / 274.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.003781/0.003796, allocations: 4.976 MB / 279.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.005185, allocations: 1.321 MB / 280.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.00539, allocations: 15.88 kB / 280.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.005673, allocations: 150.6 kB / 280.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.006057, allocations: 356.9 kB / 280.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.006314, allocations: 235.5 kB / 281.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007413/0.007055, allocations: 1.222 MB / 282.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.007296, allocations: 214.5 kB / 282.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004839/0.007779, allocations: 0.6744 MB / 283.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003415/0.008121, allocations: 387 kB / 283.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.767e-05/0.008219, allocations: 104 kB / 283.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.566e-05/0.008314, allocations: 108 kB / 283.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.00843, allocations: 227.2 kB / 284 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000246/0.008675, allocations: 379.2 kB / 284.4 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005472/0.009223, allocations: 0.7941 MB / 285.2 MB, free: 9.148 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.009225, allocations: 0 / 285.2 MB, free: 9.148 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.009225, allocations: 0 / 285.2 MB, free: 9.148 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.009233, allocations: 0 / 285.2 MB, free: 9.148 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.001377/0.01061, allocations: 1.392 MB / 286.6 MB, free: 7.699 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.01064, allocations: 8.031 kB / 286.6 MB, free: 7.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.01079, allocations: 164.3 kB / 286.8 MB, free: 7.531 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.01125, allocations: 476.8 kB / 287.2 MB, free: 7.035 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.01139, allocations: 297.2 kB / 287.5 MB, free: 6.691 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.381e-05/0.01146, allocations: 64.38 kB / 287.6 MB, free: 6.629 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008144/0.01228, allocations: 1.488 MB / 289.1 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.01229, allocations: 3.938 kB / 289.1 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.01234, allocations: 28 kB / 289.1 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.01235, allocations: 12 kB / 289.1 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003006/0.01265, allocations: 242.1 kB / 289.4 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.01424, allocations: 1.389 MB / 290.7 MB, free: 3.113 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.01462, allocations: 342.8 kB / 291.1 MB, free: 2.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.01482, allocations: 174 kB / 291.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.01486, allocations: 16.66 kB / 291.3 MB, free: 2.578 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.01488, allocations: 61.98 kB / 291.3 MB, free: 2.508 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 1.813e-06/0.01489, allocations: 0 / 291.3 MB, free: 2.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001716/0.0166, allocations: 0.9485 MB / 292.3 MB, free: 1.539 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002474/0.01685, allocations: 0.8312 MB / 293.1 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.01725, allocations: 0.5891 MB / 293.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/0.01729, allocations: 45.7 kB / 293.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.0175, allocations: 407.9 kB / 294.1 MB, free: 15.45 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.01763, allocations: 269.6 kB / 294.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.01778, allocations: 156.2 kB / 294.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.01793, allocations: 0.5663 MB / 295.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.01808, allocations: 171 kB / 295.3 MB, free: 14.26 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.01859, allocations: 1.275 MB / 296.6 MB, free: 12.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.01892, allocations: 378.7 kB / 296.9 MB, free: 12.24 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01893, allocations: 4 kB / 296.9 MB, free: 12.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008832/0.01981, allocations: 0.8101 MB / 297.7 MB, free: 11.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.11e-05/0.01985, allocations: 85.09 kB / 297.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01986, allocations: 4 kB / 297.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003639/0.02022, allocations: 174.7 kB / 298 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.02052, allocations: 139.8 kB / 298.1 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003815/0.02434, allocations: 7.681 MB / 305.8 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.02466, allocations: 83.77 kB / 305.9 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.02469, allocations: 20 kB / 305.9 MB, free: 2.699 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.0002254/0.02492, allocations: 208.4 kB / 306.1 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.02502, allocations: 115.5 kB / 306.2 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.169e-05/0.02511, allocations: 87.02 kB / 306.3 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.02511, allocations: 8 kB / 306.3 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.02511, allocations: 3.984 kB / 306.3 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007755/0.02589, allocations: 0.8743 MB / 307.2 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.02744, allocations: 1.249 MB / 308.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.02744, allocations: 0 / 308.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/0.02776, allocations: 139.8 kB / 308.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00028/0.02804, allocations: 151 kB / 308.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.02807, allocations: 15.98 kB / 308.8 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002997/0.03106, allocations: 5.843 MB / 314.6 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.03106, allocations: 0 / 314.6 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009452/0.03201, allocations: 0.8615 MB / 315.5 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.0322, allocations: 163.2 kB / 315.6 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.078e-05/0.03226, allocations: 20 kB / 315.6 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.03254, allocations: 43.97 kB / 315.7 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-05/0.03264, allocations: 68.47 kB / 315.8 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.03266, allocations: 19.98 kB / 315.8 MB, free: 8.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002049/0.03286, allocations: 378.9 kB / 316.1 MB, free: 7.918 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-08/0.03286, allocations: 0 / 316.1 MB, free: 7.918 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000482/0.03335, allocations: 279.8 kB / 316.4 MB, free: 7.645 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.0001108/0.03346, allocations: 127.2 kB / 316.5 MB, free: 7.508 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008068/0.03426, allocations: 1.314 MB / 317.9 MB, free: 6.066 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.03427, allocations: 4 kB / 317.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007389/0.03501, allocations: 0.7714 MB / 318.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005455/0.03555, allocations: 253.1 kB / 318.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.03721, allocations: 1.425 MB / 320.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.35e-05/0.0373, allocations: 165.1 kB / 320.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002196/0.03752, allocations: 102.2 kB / 320.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005588/0.03808, allocations: 433.9 kB / 321 MB, free: 2.824 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.03808, allocations: 0 / 321 MB, free: 2.824 MB / 298.7 MB Notification: Performance of Templates: time 0.02051/0.05858, allocations: 21.02 MB / 342 MB, free: 14.2 MB / 330.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.270714716054499]