Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.0008438/0.0008438, allocations: 91.61 kB / 22.18 MB, free: 2.383 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.0008473/0.0008473, allocations: 155.7 kB / 25.45 MB, free: 8.859 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.9163/0.9163, allocations: 158.6 MB / 187.2 MB, free: 3.051 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.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|tank1.level|tank2.level|tank2.ports.1..m_flow",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks") translateModel(Modelica.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|tank1.level|tank2.level|tank2.ports.1..m_flow",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 299.7 MB, free: 6.961 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.094e-05, allocations: 2.281 kB / 299.7 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01277/0.0128, allocations: 14.47 MB / 314.2 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008072/0.02087, allocations: 6.223 MB / 320.4 MB, free: 2.176 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008245/0.02169, allocations: 31.69 kB / 320.4 MB, free: 2.145 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008288/0.02252, allocations: 333.8 kB / 320.7 MB, free: 1.816 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002461/0.02498, allocations: 1.134 MB / 321.9 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003428/0.02841, allocations: 1.913 MB / 323.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002345/0.03076, allocations: 2.163 MB / 325.9 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008532/0.03161, allocations: 0.5256 MB / 326.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.03314, allocations: 1.052 MB / 327.5 MB, free: 11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.03419, allocations: 0.7675 MB / 328.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.03435, allocations: 80 kB / 328.4 MB, free: 10.15 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.03617, allocations: 1.022 MB / 329.4 MB, free: 9.125 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003253/0.0365, allocations: 346.9 kB / 329.7 MB, free: 8.785 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004106/0.03691, allocations: 327.2 kB / 330 MB, free: 8.465 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00277/0.03968, allocations: 1.983 MB / 332 MB, free: 6.477 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.03968, allocations: 0 / 332 MB, free: 6.477 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.03968, allocations: 0 / 332 MB, free: 6.477 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.025e-05/0.03971, allocations: 0 / 332 MB, free: 6.477 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002262/0.04197, allocations: 1.22 MB / 333.2 MB, free: 5.219 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.04202, allocations: 11.98 kB / 333.3 MB, free: 5.207 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/0.04227, allocations: 104.4 kB / 333.4 MB, free: 5.105 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007518/0.04302, allocations: 0.5633 MB / 333.9 MB, free: 4.516 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.04314, allocations: 168 kB / 334.1 MB, free: 4.328 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.706e-05/0.04321, allocations: 55.94 kB / 334.1 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.04436, allocations: 1.172 MB / 335.3 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.04437, allocations: 0 / 335.3 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.345e-05/0.04443, allocations: 27.98 kB / 335.3 MB, free: 2.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.429e-05/0.04448, allocations: 49.22 kB / 335.4 MB, free: 2.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009382/0.04542, allocations: 0.8405 MB / 336.2 MB, free: 2.09 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.003398/0.04882, allocations: 2.626 MB / 338.9 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007099/0.04953, allocations: 0.6293 MB / 339.5 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/0.04986, allocations: 346.2 kB / 339.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/0.05135, allocations: 1.204 MB / 341 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.05137, allocations: 39.06 kB / 341.1 MB, free: 13.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 1.733e-06/0.05138, allocations: 0 / 341.1 MB, free: 13.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=66): time 0.003987/0.05536, allocations: 2.69 MB / 343.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.05541, allocations: 85.77 kB / 343.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/0.05587, allocations: 0.5457 MB / 344.4 MB, free: 9.789 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.05592, allocations: 37.7 kB / 344.4 MB, free: 9.746 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.05609, allocations: 364.7 kB / 344.8 MB, free: 9.383 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.05622, allocations: 230 kB / 345 MB, free: 9.156 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.05639, allocations: 154.6 kB / 345.2 MB, free: 8.996 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.0565, allocations: 378.7 kB / 345.5 MB, free: 8.617 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/0.0569, allocations: 372.6 kB / 345.9 MB, free: 8.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/0.05737, allocations: 0.5481 MB / 346.4 MB, free: 7.637 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008355/0.0582, allocations: 0.8564 MB / 347.3 MB, free: 6.719 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.05821, allocations: 0 / 347.3 MB, free: 6.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001272/0.05948, allocations: 1.149 MB / 348.4 MB, free: 5.559 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.0595, allocations: 8 kB / 348.5 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.05951, allocations: 4 kB / 348.5 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008114/0.06032, allocations: 460.9 kB / 348.9 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.06066, allocations: 151.8 kB / 349.1 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008249/0.06149, allocations: 1.028 MB / 350.1 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.06182, allocations: 27.98 kB / 350.1 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.06187, allocations: 35.92 kB / 350.1 MB, free: 3.828 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005877/0.06246, allocations: 0.5292 MB / 350.7 MB, free: 3.297 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004577/0.06291, allocations: 0.545 MB / 351.2 MB, free: 2.684 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008039/0.06372, allocations: 0.8454 MB / 352.1 MB, free: 1.777 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.39e-06/0.06372, allocations: 3.984 kB / 352.1 MB, free: 1.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001243/0.06497, allocations: 1.095 MB / 353.2 MB, free: 0.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.06498, allocations: 8 kB / 353.2 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.06499, allocations: 4 kB / 353.2 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004346/0.06542, allocations: 305 kB / 353.5 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.06576, allocations: 171.7 kB / 353.6 MB, free: 192 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1486/0.2144, allocations: 0.8986 MB / 354.5 MB, free: 61.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006434/0.215, allocations: 38.16 kB / 354.6 MB, free: 61.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.2151, allocations: 32.05 kB / 354.6 MB, free: 61.65 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (tank2.inFlow[1],tank2.regularFlow[1],tank1.inFlow[1],tank1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002309/0.2153, allocations: 227.6 kB / 354.8 MB, free: 61.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.2155, allocations: 72.89 kB / 354.9 MB, free: 61.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/0.217, allocations: 1.076 MB / 356 MB, free: 61.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.217, allocations: 8.5 kB / 356 MB, free: 61.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.217, allocations: 2.062 kB / 356 MB, free: 61.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.2171, allocations: 3.188 kB / 356 MB, free: 61.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.2193, allocations: 1.771 MB / 357.8 MB, free: 60.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.2193, allocations: 6.312 kB / 357.8 MB, free: 60.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/0.2196, allocations: 122.3 kB / 357.9 MB, free: 60.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008077/0.2204, allocations: 438.5 kB / 358.3 MB, free: 60.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.123e-05/0.2205, allocations: 20.47 kB / 358.3 MB, free: 60.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008089/0.2213, allocations: 1.028 MB / 359.4 MB, free: 59.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2213, allocations: 0 / 359.4 MB, free: 59.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.2231, allocations: 1.584 MB / 360.9 MB, free: 59.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/0.2234, allocations: 164 kB / 361.1 MB, free: 59.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.587e-05/0.2234, allocations: 13.02 kB / 361.1 MB, free: 59.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.2237, allocations: 31.11 kB / 361.2 MB, free: 59.08 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.2238, allocations: 58.36 kB / 361.2 MB, free: 59.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.2239, allocations: 33.59 kB / 361.2 MB, free: 59.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003658/0.2243, allocations: 376.3 kB / 361.6 MB, free: 58.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2243, allocations: 1.312 kB / 361.6 MB, free: 58.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001258/0.2255, allocations: 0.5844 MB / 362.2 MB, free: 58.85 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 4 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008366/0.2264, allocations: 0.5139 MB / 362.7 MB, free: 58.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002027/0.2284, allocations: 1.325 MB / 364 MB, free: 58.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2284, allocations: 0 / 364 MB, free: 58.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006154/0.229, allocations: 439.5 kB / 364.5 MB, free: 58.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000968/0.23, allocations: 367.3 kB / 364.8 MB, free: 58.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.2324, allocations: 1.635 MB / 366.5 MB, free: 57.33 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.2327, allocations: 396.8 kB / 366.8 MB, free: 57.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.2329, allocations: 84.48 kB / 366.9 MB, free: 57.19 MB / 330.7 MB Notification: Performance of SimCode: time 1.933e-06/0.2329, allocations: 7.062 kB / 366.9 MB, free: 57.18 MB / 330.7 MB Notification: Performance of Templates: time 0.01617/0.2491, allocations: 18.94 MB / 385.9 MB, free: 40.18 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/Tanks/EmptyTanks/EmptyTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.385297582484782]