Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.001549/0.001549, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 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.002413/0.002413, allocations: 219.6 kB / 23 MB, free: 5.578 MB / 14.72 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 1.5/1.5, allocations: 230.2 MB / 256.2 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] 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.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|tank1.level|tank2.level|tank2.ports.1..m_flow",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 71.88 kB / 376.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2689, allocations: 53.32 MB / 429.8 MB, free: 7.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01882/0.2877, allocations: 16.2 MB / 446 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01077/0.2985, allocations: 6.96 MB / 452.9 MB, free: 408 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008378/0.2993, allocations: 23.88 kB / 453 MB, free: 384 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.3003, allocations: 341.9 kB / 453.3 MB, free: 40 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00292/0.3033, allocations: 1.104 MB / 454.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004776/0.308, allocations: 1.799 MB / 456.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003165/0.3112, allocations: 2.159 MB / 458.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008742/0.3121, allocations: 0.5177 MB / 458.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.3135, allocations: 0.8098 MB / 459.7 MB, free: 9.633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.3148, allocations: 0.8525 MB / 460.5 MB, free: 8.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.315, allocations: 80 kB / 460.6 MB, free: 8.699 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002566/0.3175, allocations: 1.271 MB / 461.9 MB, free: 7.426 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003724/0.3179, allocations: 331 kB / 462.2 MB, free: 7.102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000548/0.3185, allocations: 457.9 kB / 462.7 MB, free: 6.652 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002844/0.3213, allocations: 1.881 MB / 464.5 MB, free: 4.766 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3213, allocations: 0 / 464.5 MB, free: 4.766 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3213, allocations: 0 / 464.5 MB, free: 4.766 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.3213, allocations: 3.938 kB / 464.5 MB, free: 4.762 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.00285/0.3242, allocations: 1.299 MB / 465.8 MB, free: 3.406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3242, allocations: 8.031 kB / 465.9 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003286/0.3245, allocations: 108.3 kB / 466 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009953/0.3255, allocations: 0.633 MB / 466.6 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.3257, allocations: 100.7 kB / 466.7 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.3258, allocations: 59.94 kB / 466.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.3273, allocations: 0.8923 MB / 467.6 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.3273, allocations: 4 kB / 467.6 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.33e-05/0.3274, allocations: 31.92 kB / 467.7 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.505e-05/0.3275, allocations: 53.27 kB / 467.7 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.329, allocations: 0.8443 MB / 468.6 MB, free: 0.6016 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.006034/0.335, allocations: 3.455 MB / 472 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.3361, allocations: 0.6228 MB / 472.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005942/0.3367, allocations: 346.3 kB / 473 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003273/0.34, allocations: 2.032 MB / 475 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.34, allocations: 47.06 kB / 475.1 MB, free: 9.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.475e-06/0.34, allocations: 0 / 475.1 MB, free: 9.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.007431/0.3475, allocations: 2.837 MB / 477.9 MB, free: 6.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.3475, allocations: 85.67 kB / 478 MB, free: 6.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.3486, allocations: 0.6838 MB / 478.7 MB, free: 6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.433e-05/0.3486, allocations: 37.7 kB / 478.7 MB, free: 5.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.3489, allocations: 345 kB / 479 MB, free: 5.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.3491, allocations: 238 kB / 479.3 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/0.3494, allocations: 146.6 kB / 479.4 MB, free: 5.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.3496, allocations: 386.8 kB / 479.8 MB, free: 4.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006911/0.3503, allocations: 372.6 kB / 480.2 MB, free: 4.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008689/0.3512, allocations: 0.523 MB / 480.7 MB, free: 3.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.3526, allocations: 0.8599 MB / 481.5 MB, free: 2.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3527, allocations: 0 / 481.5 MB, free: 2.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00218/0.3548, allocations: 1.153 MB / 482.7 MB, free: 1.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3549, allocations: 8 kB / 482.7 MB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.3549, allocations: 4 kB / 482.7 MB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.3563, allocations: 464.9 kB / 483.2 MB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006996/0.357, allocations: 155.8 kB / 483.3 MB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.3584, allocations: 1.028 MB / 484.3 MB, free: 148 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006195/0.359, allocations: 31.98 kB / 484.4 MB, free: 116 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.094e-05/0.3591, allocations: 31.98 kB / 484.4 MB, free: 84 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009392/0.36, allocations: 0.5253 MB / 484.9 MB, free: 15.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000792/0.3608, allocations: 0.5238 MB / 485.5 MB, free: 14.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001327/0.3622, allocations: 0.8411 MB / 486.3 MB, free: 14.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.682e-06/0.3622, allocations: 7.938 kB / 486.3 MB, free: 14.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.0021/0.3643, allocations: 1.098 MB / 487.4 MB, free: 12.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3643, allocations: 8 kB / 487.4 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3643, allocations: 4 kB / 487.4 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007531/0.365, allocations: 317.2 kB / 487.7 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006965/0.3657, allocations: 171.7 kB / 487.9 MB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.3669, allocations: 0.9074 MB / 488.8 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.3675, allocations: 27.98 kB / 488.8 MB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-05/0.3676, allocations: 35.98 kB / 488.9 MB, free: 11.45 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.000303/0.3679, allocations: 220.1 kB / 489.1 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.368, allocations: 87.48 kB / 489.2 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.3703, allocations: 1.091 MB / 490.3 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.3703, allocations: 8 kB / 490.3 MB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3703, allocations: 0 / 490.3 MB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.3703, allocations: 3.984 kB / 490.3 MB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003538/0.3738, allocations: 2.004 MB / 492.3 MB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.3738, allocations: 4 kB / 492.3 MB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000603/0.3744, allocations: 119.8 kB / 492.4 MB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001216/0.3756, allocations: 444.5 kB / 492.8 MB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-05/0.3757, allocations: 19.98 kB / 492.8 MB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.377, allocations: 1.025 MB / 493.9 MB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.377, allocations: 3.938 kB / 493.9 MB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/0.3797, allocations: 1.601 MB / 495.5 MB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003949/0.3801, allocations: 244.5 kB / 495.7 MB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.3802, allocations: 15.98 kB / 495.7 MB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005501/0.3808, allocations: 27.98 kB / 495.8 MB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.3809, allocations: 60.5 kB / 495.8 MB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.56e-05/0.381, allocations: 31.98 kB / 495.8 MB, free: 4.324 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006741/0.3817, allocations: 479 kB / 496.3 MB, free: 3.863 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3817, allocations: 0 / 496.3 MB, free: 3.863 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001585/0.3833, allocations: 0.5965 MB / 496.9 MB, free: 3.266 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.001143/0.3844, allocations: 489.9 kB / 497.4 MB, free: 2.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00319/0.3876, allocations: 1.333 MB / 498.7 MB, free: 1.441 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3876, allocations: 0 / 498.7 MB, free: 1.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.3886, allocations: 439.5 kB / 499.2 MB, free: 1.012 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.3903, allocations: 391.1 kB / 499.5 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.3937, allocations: 1.766 MB / 0.4895 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007948/0.3945, allocations: 0.9988 MB / 0.4905 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009013/0.3954, allocations: 298.6 kB / 0.4908 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.3956, allocations: 71.42 kB / 0.4909 GB, free: 13.45 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3956, allocations: 0 / 0.4909 GB, free: 13.45 MB / 414.1 MB Notification: Performance of Templates: time 0.04108/0.4367, allocations: 23.69 MB / 0.514 GB, free: 5.895 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & ./Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/Tanks/EmptyTanks/EmptyTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.478998672217131]