Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001583/0.001583, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001705/0.001705, allocations: 206.8 kB / 24.48 MB, free: 3.695 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 1.445/1.445, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|tank1.level|tank2.level|tank2.ports.1..m_flow",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 47.92 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2558, allocations: 53.37 MB / 432.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01784/0.2737, allocations: 14.67 MB / 447 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.2844, allocations: 6.277 MB / 453.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007587/0.2852, allocations: 39.69 kB / 453.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.2862, allocations: 318 kB / 453.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002973/0.2892, allocations: 1.116 MB / 454.7 MB, free: 268 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004619/0.2938, allocations: 1.826 MB / 456.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003224/0.297, allocations: 2.233 MB / 458.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009368/0.2979, allocations: 0.5024 MB / 459.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.2996, allocations: 0.8449 MB / 460.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.301, allocations: 0.8526 MB / 461 MB, free: 9.988 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.3012, allocations: 80 kB / 461.1 MB, free: 9.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00243/0.3036, allocations: 1.069 MB / 462.1 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005164/0.3041, allocations: 323 kB / 462.5 MB, free: 8.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006013/0.3047, allocations: 390.4 kB / 462.8 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003431/0.3082, allocations: 1.838 MB / 464.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3082, allocations: 0 / 464.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3082, allocations: 4 kB / 464.7 MB, free: 6.293 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.3082, allocations: 0 / 464.7 MB, free: 6.293 MB / 366.1 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.003096/0.3113, allocations: 1.216 MB / 465.9 MB, free: 5.039 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3113, allocations: 8.031 kB / 465.9 MB, free: 5.031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.3117, allocations: 104.4 kB / 466 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.3129, allocations: 0.5673 MB / 466.6 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.3131, allocations: 160.1 kB / 466.7 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.3132, allocations: 55.94 kB / 466.8 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.315, allocations: 1.172 MB / 468 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.3151, allocations: 4 kB / 468 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/0.3152, allocations: 27.97 kB / 468 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.002e-05/0.3152, allocations: 53.27 kB / 468 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.3168, allocations: 0.8365 MB / 468.9 MB, free: 1.914 MB / 366.1 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.006164/0.3229, allocations: 2.594 MB / 471.5 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.3241, allocations: 0.6268 MB / 472.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005782/0.3247, allocations: 346.2 kB / 472.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002871/0.3276, allocations: 1.193 MB / 473.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/0.3276, allocations: 47.06 kB / 473.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 1.994e-06/0.3276, allocations: 0 / 473.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.007382/0.335, allocations: 2.694 MB / 476.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/0.3351, allocations: 85.77 kB / 476.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000774/0.3358, allocations: 0.5496 MB / 477 MB, free: 9.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.335e-05/0.3359, allocations: 41.7 kB / 477 MB, free: 9.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000305/0.3362, allocations: 352.7 kB / 477.4 MB, free: 9.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/0.3364, allocations: 245.9 kB / 477.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.3367, allocations: 154.6 kB / 477.8 MB, free: 8.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.3369, allocations: 382.6 kB / 478.1 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006219/0.3375, allocations: 368.6 kB / 478.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008045/0.3383, allocations: 0.5506 MB / 479.1 MB, free: 7.484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.3397, allocations: 0.868 MB / 479.9 MB, free: 6.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3397, allocations: 0 / 479.9 MB, free: 6.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002125/0.3418, allocations: 1.142 MB / 481.1 MB, free: 5.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3419, allocations: 4 kB / 481.1 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.3419, allocations: 8 kB / 481.1 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.3433, allocations: 456.4 kB / 481.5 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007307/0.344, allocations: 159.8 kB / 481.7 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.3454, allocations: 1.028 MB / 482.7 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006616/0.346, allocations: 31.98 kB / 482.7 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-05/0.3461, allocations: 35.98 kB / 482.8 MB, free: 3.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009154/0.347, allocations: 0.5253 MB / 483.3 MB, free: 3.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008005/0.3478, allocations: 0.5411 MB / 483.8 MB, free: 2.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001362/0.3492, allocations: 0.8377 MB / 484.7 MB, free: 1.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.795e-06/0.3492, allocations: 8 kB / 484.7 MB, free: 1.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.002113/0.3513, allocations: 1.091 MB / 485.8 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3513, allocations: 8 kB / 485.8 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3514, allocations: 4 kB / 485.8 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008028/0.3522, allocations: 312.7 kB / 486.1 MB, free: 208 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007255/0.3529, allocations: 171.7 kB / 486.3 MB, free: 36 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.3541, allocations: 0.8996 MB / 487.2 MB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006572/0.3547, allocations: 32.02 kB / 487.2 MB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.164e-05/0.3548, allocations: 35.98 kB / 487.2 MB, free: 15.04 MB / 398.1 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.0003353/0.3551, allocations: 232 kB / 487.5 MB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.3553, allocations: 71.67 kB / 487.5 MB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/0.3575, allocations: 1.075 MB / 488.6 MB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.3575, allocations: 11.94 kB / 488.6 MB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3575, allocations: 0 / 488.6 MB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.3575, allocations: 3.984 kB / 488.6 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/0.3609, allocations: 1.785 MB / 490.4 MB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3609, allocations: 0 / 490.4 MB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/0.3616, allocations: 115.9 kB / 490.5 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.3628, allocations: 451.1 kB / 491 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.874e-05/0.3629, allocations: 15.98 kB / 491 MB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.3642, allocations: 1.028 MB / 492 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3642, allocations: 0 / 492 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002649/0.3669, allocations: 1.585 MB / 493.6 MB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005015/0.3674, allocations: 163.4 kB / 493.7 MB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.3675, allocations: 12 kB / 493.8 MB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005587/0.3681, allocations: 23.98 kB / 493.8 MB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.3682, allocations: 60.48 kB / 493.8 MB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.882e-05/0.3683, allocations: 35.97 kB / 493.9 MB, free: 8.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005069/0.3688, allocations: 378.8 kB / 494.2 MB, free: 7.922 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3688, allocations: 0 / 494.2 MB, free: 7.922 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001652/0.3704, allocations: 0.5887 MB / 494.8 MB, free: 7.332 MB / 398.1 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.001109/0.3715, allocations: 489.8 kB / 495.3 MB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003154/0.3747, allocations: 1.321 MB / 496.6 MB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3747, allocations: 4 kB / 496.6 MB, free: 5.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.3757, allocations: 441.1 kB / 497.1 MB, free: 5.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.3774, allocations: 359.7 kB / 497.4 MB, free: 4.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.381, allocations: 1.782 MB / 499.2 MB, free: 2.926 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.3815, allocations: 392.4 kB / 499.6 MB, free: 2.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.3818, allocations: 79.34 kB / 499.7 MB, free: 2.441 MB / 398.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3818, allocations: 4 kB / 499.7 MB, free: 2.438 MB / 398.1 MB Notification: Performance of Templates: time 0.02802/0.4098, allocations: 18.96 MB / 0.5065 GB, free: 15.55 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/Tanks/EmptyTanks/EmptyTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 10.14862773497589]