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.0008335/0.0008335, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003695/0.003695, allocations: 159.4 kB / 24.7 MB, free: 9.441 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.8284/0.8284, allocations: 177 MB / 204.9 MB, free: 5.75 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.213e-06/1.213e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.187e-05, allocations: 3.125 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.003511/0.003533, allocations: 4.527 MB / 330.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.004896, allocations: 1.285 MB / 331.6 MB, free: 9.555 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.005088, allocations: 15.88 kB / 331.6 MB, free: 9.539 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.005379, allocations: 154.6 kB / 331.8 MB, free: 9.387 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003802/0.00576, allocations: 356.9 kB / 332.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.006029, allocations: 231.5 kB / 332.3 MB, free: 8.809 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007186/0.006748, allocations: 1.218 MB / 333.5 MB, free: 7.586 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/0.006996, allocations: 226.5 kB / 333.8 MB, free: 7.355 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004284/0.007424, allocations: 0.6744 MB / 334.4 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.007732, allocations: 378.9 kB / 334.8 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.705e-05/0.007819, allocations: 104 kB / 334.9 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.21e-05/0.007911, allocations: 108 kB / 335 MB, free: 6.102 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.008019, allocations: 231.2 kB / 335.2 MB, free: 5.875 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.008246, allocations: 379.2 kB / 335.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007571/0.009003, allocations: 1.258 MB / 336.9 MB, free: 4.242 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.009005, allocations: 0 / 336.9 MB, free: 4.242 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.009006, allocations: 0 / 336.9 MB, free: 4.242 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.009015, allocations: 4 kB / 336.9 MB, free: 4.238 MB / 298.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.001328/0.01034, allocations: 1.276 MB / 338.2 MB, free: 2.906 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.01038, allocations: 15.98 kB / 338.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.0105, allocations: 112.3 kB / 338.3 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006133/0.01111, allocations: 0.5305 MB / 338.8 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.01127, allocations: 293.2 kB / 339.1 MB, free: 1.887 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.69e-05/0.01133, allocations: 64.36 kB / 339.2 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.01235, allocations: 1.604 MB / 340.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.01237, allocations: 7.938 kB / 340.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.01241, allocations: 28 kB / 340.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.01242, allocations: 12 kB / 340.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007886/0.01321, allocations: 0.5984 MB / 341.4 MB, free: 15.29 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.01502, allocations: 1.515 MB / 342.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007405/0.01576, allocations: 0.5901 MB / 343.5 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/0.01621, allocations: 364.1 kB / 343.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.08e-05/0.01625, allocations: 12.64 kB / 343.9 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.01627, allocations: 47.22 kB / 343.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 1.984e-06/0.01627, allocations: 0 / 343.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.002516/0.01879, allocations: 1.476 MB / 345.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002194/0.01901, allocations: 0.8234 MB / 346.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.01946, allocations: 0.6096 MB / 346.8 MB, free: 9.566 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.0195, allocations: 45.7 kB / 346.9 MB, free: 9.516 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.01967, allocations: 341.2 kB / 347.2 MB, free: 9.176 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.0198, allocations: 269.7 kB / 347.5 MB, free: 8.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.01994, allocations: 142.7 kB / 347.6 MB, free: 8.766 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.02005, allocations: 382.8 kB / 348 MB, free: 8.383 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/0.02044, allocations: 351 kB / 348.3 MB, free: 8.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007347/0.02118, allocations: 1.391 MB / 349.7 MB, free: 6.324 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007715/0.02195, allocations: 0.6779 MB / 350.4 MB, free: 5.621 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.02195, allocations: 0 / 350.4 MB, free: 5.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00139/0.02334, allocations: 1.166 MB / 351.6 MB, free: 4.402 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.868e-05/0.02339, allocations: 97.09 kB / 351.7 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.0234, allocations: 0 / 351.7 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004068/0.0238, allocations: 231.2 kB / 351.9 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.0241, allocations: 143.8 kB / 352 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004238/0.02834, allocations: 6.387 MB / 358.4 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.02873, allocations: 95.73 kB / 358.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.02876, allocations: 27.98 kB / 358.5 MB, free: 12.99 MB / 330.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.0002282/0.02899, allocations: 213.7 kB / 358.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.916e-05/0.02907, allocations: 87.48 kB / 358.8 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.885e-05/0.02916, allocations: 94.95 kB / 358.9 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.02916, allocations: 8 kB / 358.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.02917, allocations: 0 / 358.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001305/0.03047, allocations: 1.233 MB / 360.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.03248, allocations: 1.658 MB / 361.8 MB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.03248, allocations: 0 / 361.8 MB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.03282, allocations: 143.8 kB / 362 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003025/0.03312, allocations: 202.5 kB / 362.2 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.03315, allocations: 12 kB / 362.2 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003471/0.03662, allocations: 4.933 MB / 367.1 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.03662, allocations: 0 / 367.1 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.03839, allocations: 1.392 MB / 368.5 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.03861, allocations: 171.2 kB / 368.7 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/0.03867, allocations: 20 kB / 368.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.03897, allocations: 47.95 kB / 368.7 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.03908, allocations: 64.53 kB / 368.8 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.03911, allocations: 20 kB / 368.8 MB, free: 2.195 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000339/0.03945, allocations: 439.1 kB / 369.2 MB, free: 1.773 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03945, allocations: 0 / 369.2 MB, free: 1.773 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000564/0.04002, allocations: 283.7 kB / 369.5 MB, free: 1.496 MB / 330.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.0001405/0.04016, allocations: 123.4 kB / 369.6 MB, free: 1.367 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.04153, allocations: 1.388 MB / 371 MB, free: 15.87 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.04154, allocations: 8 kB / 371 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007919/0.04233, allocations: 0.7418 MB / 371.8 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005922/0.04292, allocations: 238 kB / 372 MB, free: 14.85 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.04461, allocations: 1.51 MB / 373.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.04482, allocations: 345.7 kB / 373.9 MB, free: 12.94 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.04496, allocations: 76.48 kB / 373.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of SimCode: time 8.51e-07/0.04496, allocations: 0 / 373.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of Templates: time 0.01496/0.05992, allocations: 22.86 MB / 396.8 MB, free: 6.066 MB / 362.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 6.208566869609058]