Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.001495/0.001495, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001748/0.001748, allocations: 208.2 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.011/2.011, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 47.92 kB / 378.9 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3713, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.005229/0.3765, allocations: 2.567 MB / 434.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.3782, allocations: 0.8062 MB / 435.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.3784, allocations: 7.938 kB / 435.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.3787, allocations: 75.42 kB / 435.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004156/0.3791, allocations: 134.9 kB / 435.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.3794, allocations: 91.81 kB / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006289/0.38, allocations: 442.3 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.3802, allocations: 67.61 kB / 436.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.3805, allocations: 163.4 kB / 436.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.3808, allocations: 179.3 kB / 436.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.623e-05/0.3809, allocations: 32 kB / 436.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-05/0.381, allocations: 36 kB / 436.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.3811, allocations: 79.7 kB / 437 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.3814, allocations: 159.4 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006376/0.382, allocations: 445.2 kB / 437.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.382, allocations: 3.938 kB / 437.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.382, allocations: 0 / 437.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.382, allocations: 4 kB / 437.6 MB, free: 1.473 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001512/0.3835, allocations: 0.6118 MB / 438.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3836, allocations: 8.031 kB / 438.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.3837, allocations: 44.7 kB / 438.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005746/0.3843, allocations: 250.4 kB / 438.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.3844, allocations: 102.1 kB / 438.6 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.915e-05/0.3845, allocations: 24.38 kB / 438.6 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009814/0.3855, allocations: 0.6693 MB / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.3855, allocations: 0 / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.33e-05/0.3855, allocations: 12 kB / 439.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.3855, allocations: 4 kB / 439.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.3861, allocations: 201.6 kB / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.388, allocations: 0.6581 MB / 440.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007879/0.3888, allocations: 255.8 kB / 440.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.3891, allocations: 112.8 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.3891, allocations: 8 kB / 440.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.3892, allocations: 38.56 kB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.683e-06/0.3892, allocations: 0 / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001538/0.3907, allocations: 406.2 kB / 440.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002216/0.3909, allocations: 324.4 kB / 441.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/0.3914, allocations: 284.1 kB / 441.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.398e-05/0.3915, allocations: 33.7 kB / 441.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.3917, allocations: 172.8 kB / 441.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.3918, allocations: 111 kB / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.392, allocations: 65.7 kB / 441.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.3922, allocations: 342.8 kB / 442.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.3925, allocations: 117.7 kB / 442.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006965/0.3932, allocations: 0.4912 MB / 442.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007452/0.394, allocations: 263.5 kB / 443.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.394, allocations: 0 / 443.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001082/0.3951, allocations: 403.4 kB / 443.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/0.3951, allocations: 33.7 kB / 443.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3951, allocations: 0 / 443.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.3953, allocations: 44.88 kB / 443.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.3969, allocations: 163.8 kB / 443.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005512/0.4024, allocations: 2.964 MB / 446.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000508/0.4029, allocations: 35.81 kB / 446.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.403, allocations: 20.08 kB / 446.8 MB, free: 7.547 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(3,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000275/0.4033, allocations: 151.6 kB / 446.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.4034, allocations: 43.62 kB / 446.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.4035, allocations: 39.08 kB / 447 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.4035, allocations: 4 kB / 447 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4035, allocations: 0 / 447 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00111/0.4046, allocations: 0.6462 MB / 447.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000562/0.4052, allocations: 265.1 kB / 447.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4052, allocations: 4 kB / 447.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002074/0.4072, allocations: 215.7 kB / 448.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/0.4073, allocations: 20.84 kB / 448.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.4074, allocations: 8 kB / 448.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004847/0.4122, allocations: 2.781 MB / 450.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.4122, allocations: 3.984 kB / 450.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.4136, allocations: 0.5055 MB / 451.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.4138, allocations: 67.75 kB / 451.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.4139, allocations: 11.94 kB / 451.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004343/0.4144, allocations: 15.98 kB / 451.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.4145, allocations: 27.89 kB / 451.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.4145, allocations: 12.06 kB / 451.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003288/0.4148, allocations: 203.1 kB / 451.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4148, allocations: 0 / 451.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006696/0.4155, allocations: 107.9 kB / 451.9 MB, free: 2.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (openTank1.m,openTank1.H,openTank2.m,openTank2.H) * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001612/0.4157, allocations: 103.2 kB / 452 MB, free: 1.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.4179, allocations: 0.5502 MB / 452.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.4179, allocations: 0 / 452.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002185/0.4201, allocations: 398.3 kB / 452.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008412/0.4209, allocations: 88.69 kB / 453 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.4237, allocations: 0.8635 MB / 453.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.4239, allocations: 173.6 kB / 454 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002593/0.4242, allocations: 34.95 kB / 454.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.4243, allocations: 31.44 kB / 454.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of SimCode: time 1.193e-06/0.4243, allocations: 0 / 454.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of Templates: time 0.01942/0.4437, allocations: 7.238 MB / 461.3 MB, free: 8.668 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.946212419003132]