Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001331/0.001331, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009469/0.0009469, allocations: 160.6 kB / 25.45 MB, free: 9.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8442/0.8442, allocations: 158.6 MB / 187.2 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.888e-05, allocations: 2.281 kB / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004629/0.004647, allocations: 4.499 MB / 304.2 MB, free: 2.387 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.006253, allocations: 1.294 MB / 305.5 MB, free: 1.086 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.00647, allocations: 15.88 kB / 305.5 MB, free: 1.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003665/0.006837, allocations: 158.6 kB / 305.7 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004377/0.007274, allocations: 356.9 kB / 306 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.007572, allocations: 235.5 kB / 306.2 MB, free: 340 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00084/0.008412, allocations: 1.222 MB / 307.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.008668, allocations: 206.5 kB / 307.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004402/0.009108, allocations: 0.6744 MB / 308.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006097/0.009718, allocations: 386.9 kB / 308.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.534e-05/0.009814, allocations: 100 kB / 308.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.714e-05/0.009911, allocations: 108 kB / 308.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.01003, allocations: 227.2 kB / 309.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005167/0.01055, allocations: 383.2 kB / 309.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000986/0.01154, allocations: 1.258 MB / 310.8 MB, free: 11.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.01154, allocations: 4 kB / 310.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.01154, allocations: 0 / 310.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.148e-06/0.01155, allocations: 3.938 kB / 310.8 MB, free: 11.77 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.001491/0.01304, allocations: 1.292 MB / 312.1 MB, free: 10.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.01309, allocations: 11.98 kB / 312.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.01322, allocations: 112.3 kB / 312.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006719/0.01389, allocations: 0.5227 MB / 312.7 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.01405, allocations: 297.1 kB / 313 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-05/0.01412, allocations: 64.36 kB / 313.1 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.01518, allocations: 1.605 MB / 314.7 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.0152, allocations: 3.938 kB / 314.7 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.01524, allocations: 28 kB / 314.7 MB, free: 7.426 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.01525, allocations: 12 kB / 314.7 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008541/0.01611, allocations: 0.5985 MB / 315.3 MB, free: 6.816 MB / 298.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.001936/0.01804, allocations: 1.523 MB / 316.8 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000825/0.01887, allocations: 0.5857 MB / 317.4 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/0.01933, allocations: 358.4 kB / 317.8 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/0.01938, allocations: 20.58 kB / 317.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.01941, allocations: 47.22 kB / 317.8 MB, free: 4.238 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 1.963e-06/0.01941, allocations: 0 / 317.8 MB, free: 4.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.002651/0.02206, allocations: 1.484 MB / 319.3 MB, free: 2.734 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000262/0.02233, allocations: 0.8273 MB / 320.1 MB, free: 1.711 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000476/0.0228, allocations: 0.598 MB / 320.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.02285, allocations: 41.7 kB / 320.8 MB, free: 1.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.02302, allocations: 341.2 kB / 321.1 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.02317, allocations: 273.6 kB / 321.4 MB, free: 460 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.02331, allocations: 138.7 kB / 321.5 MB, free: 316 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.02344, allocations: 382.8 kB / 321.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.02389, allocations: 359 kB / 322.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007715/0.02466, allocations: 1.387 MB / 323.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007777/0.02544, allocations: 0.6817 MB / 324.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.02544, allocations: 0 / 324.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001406/0.02685, allocations: 1.17 MB / 325.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/0.02689, allocations: 89.09 kB / 325.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.0269, allocations: 0 / 325.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000411/0.02731, allocations: 235.2 kB / 325.8 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.02762, allocations: 143.8 kB / 325.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004459/0.03208, allocations: 6.389 MB / 332.3 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.03246, allocations: 95.61 kB / 332.4 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.0325, allocations: 27.98 kB / 332.5 MB, free: 4.52 MB / 314.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.0002164/0.03272, allocations: 217.8 kB / 332.7 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-05/0.0328, allocations: 91.42 kB / 332.8 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.752e-05/0.03288, allocations: 87.14 kB / 332.8 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.03289, allocations: 8 kB / 332.8 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.03289, allocations: 4 kB / 332.8 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001297/0.03419, allocations: 1.229 MB / 334.1 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.03617, allocations: 1.658 MB / 335.7 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.03618, allocations: 3.938 kB / 335.7 MB, free: 1.055 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.03651, allocations: 139.8 kB / 335.9 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002969/0.0368, allocations: 202.4 kB / 336.1 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.03683, allocations: 16 kB / 336.1 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003709/0.04054, allocations: 4.929 MB / 341 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.04055, allocations: 4.344 kB / 341 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.04231, allocations: 1.384 MB / 342.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.04253, allocations: 167.3 kB / 342.6 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/0.04259, allocations: 24 kB / 342.6 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.04289, allocations: 43.95 kB / 342.6 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.04301, allocations: 68.53 kB / 342.7 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.04303, allocations: 16 kB / 342.7 MB, free: 9.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003291/0.04336, allocations: 435.1 kB / 343.1 MB, free: 9.312 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04336, allocations: 0 / 343.1 MB, free: 9.312 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000896/0.04425, allocations: 287.7 kB / 343.4 MB, free: 9.031 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.0001487/0.0444, allocations: 127.1 kB / 343.5 MB, free: 8.898 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.04582, allocations: 1.396 MB / 344.9 MB, free: 7.395 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.04583, allocations: 4 kB / 344.9 MB, free: 7.391 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007318/0.04656, allocations: 0.7457 MB / 345.7 MB, free: 6.605 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005919/0.04715, allocations: 218.8 kB / 345.9 MB, free: 6.391 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.04888, allocations: 1.525 MB / 347.4 MB, free: 4.832 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.0491, allocations: 349.7 kB / 347.8 MB, free: 4.465 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.04925, allocations: 72.48 kB / 347.8 MB, free: 4.395 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.04925, allocations: 0 / 347.8 MB, free: 4.395 MB / 330.7 MB Notification: Performance of Templates: time 0.1453/0.1945, allocations: 22.85 MB / 370.7 MB, free: 51.99 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.642024239525199]