Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.00131/0.00131, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001515/0.001515, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2672/0.2672, allocations: 44.91 MB / 359.6 MB, free: 6.316 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 63.89 kB / 0.4943 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3831, allocations: 65.46 MB / 0.5583 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003556/0.3867, allocations: 1.683 MB / 0.5599 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.3889, allocations: 1.298 MB / 0.5612 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.389, allocations: 0 / 0.5612 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.3892, allocations: 27.84 kB / 0.5612 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003972/0.3896, allocations: 83.62 kB / 0.5613 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005719/0.3902, allocations: 182.9 kB / 0.5615 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.3904, allocations: 79.77 kB / 0.5615 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.3905, allocations: 11.98 kB / 0.5615 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.804e-05/0.3906, allocations: 39.78 kB / 0.5616 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.3908, allocations: 31.86 kB / 0.5616 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.3908, allocations: 4 kB / 0.5616 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.391, allocations: 107.8 kB / 0.5617 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.11e-05/0.3911, allocations: 27.91 kB / 0.5617 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.3912, allocations: 27.81 kB / 0.5618 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.3915, allocations: 157.8 kB / 0.5619 GB, free: 3.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3915, allocations: 0 / 0.5619 GB, free: 3.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.3915, allocations: 3.984 kB / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.3915, allocations: 0 / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005875/0.3921, allocations: 341.6 kB / 0.5622 GB, free: 3.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3921, allocations: 8.031 kB / 0.5623 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.3922, allocations: 8.891 kB / 0.5623 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.3924, allocations: 132.8 kB / 0.5624 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3924, allocations: 4.375 kB / 0.5624 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.3924, allocations: 4.375 kB / 0.5624 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.3926, allocations: 79.5 kB / 0.5625 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.3927, allocations: 3.984 kB / 0.5625 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3927, allocations: 4 kB / 0.5625 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3927, allocations: 0 / 0.5625 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.3928, allocations: 51.88 kB / 0.5625 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.3934, allocations: 275.8 kB / 0.5628 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.3935, allocations: 46.5 kB / 0.5628 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.045e-05/0.3936, allocations: 28.92 kB / 0.5629 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.3936, allocations: 0 / 0.5629 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.3936, allocations: 42.5 kB / 0.5629 GB, free: 2.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.3936, allocations: 0 / 0.5629 GB, free: 2.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008736/0.3945, allocations: 225.3 kB / 0.5631 GB, free: 2.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.3946, allocations: 85.09 kB / 0.5632 GB, free: 2.504 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.3947, allocations: 149.5 kB / 0.5633 GB, free: 2.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.3948, allocations: 25.7 kB / 0.5634 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.3948, allocations: 100.1 kB / 0.5635 GB, free: 2.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.3949, allocations: 27.86 kB / 0.5635 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.3949, allocations: 21.72 kB / 0.5635 GB, free: 2.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.395, allocations: 318.8 kB / 0.5638 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.3952, allocations: 43.97 kB / 0.5639 GB, free: 1.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.3953, allocations: 53.67 kB / 0.5639 GB, free: 1.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.3955, allocations: 84.8 kB / 0.564 GB, free: 1.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3955, allocations: 0 / 0.564 GB, free: 1.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003156/0.3959, allocations: 133.8 kB / 0.5641 GB, free: 1.516 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3959, allocations: 6.344 kB / 0.5641 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3959, allocations: 0 / 0.5641 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3959, allocations: 4 kB / 0.5641 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.396, allocations: 15.98 kB / 0.5641 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.396, allocations: 4 kB / 0.5641 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.27e-05/0.3961, allocations: 15.86 kB / 0.5642 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.3961, allocations: 12 kB / 0.5642 GB, free: 1.461 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.3962, allocations: 121.8 kB / 0.5643 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.3963, allocations: 7.953 kB / 0.5643 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.3966, allocations: 142.2 kB / 0.5644 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3966, allocations: 0 / 0.5644 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3966, allocations: 0 / 0.5644 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3967, allocations: 11.94 kB / 0.5644 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006125/0.3973, allocations: 377.5 kB / 0.5648 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3973, allocations: 0 / 0.5648 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.35e-05/0.3974, allocations: 19.92 kB / 0.5648 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.3974, allocations: 7.938 kB / 0.5648 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.3974, allocations: 3.938 kB / 0.5648 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.3974, allocations: 3.984 kB / 0.5648 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3974, allocations: 4 kB / 0.5648 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.3977, allocations: 219.4 kB / 0.5651 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.3978, allocations: 11.95 kB / 0.5651 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.3978, allocations: 3.938 kB / 0.5651 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3979, allocations: 15.98 kB / 0.5651 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.3979, allocations: 3.984 kB / 0.5651 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3979, allocations: 8 kB / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of sorting global known variables: time 9.903e-05/0.398, allocations: 107.3 kB / 0.5652 GB, free: 332 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.398, allocations: 0 / 0.5652 GB, free: 332 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.3983, allocations: 43.86 kB / 0.5652 GB, free: 288 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001844/0.4002, allocations: 0.4975 MB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.4005, allocations: 91.92 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4005, allocations: 0 / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.4007, allocations: 51.8 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.401, allocations: 15.98 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005531/0.4016, allocations: 235.6 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.4019, allocations: 0.7002 MB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.205e-05/0.402, allocations: 23.42 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.402, allocations: 0 / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of Templates: time 0.004723/0.4067, allocations: 2.191 MB / 0.5689 GB, free: 12.61 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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: 7.93373929313384]