Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.00212/0.00212, 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.00149/0.00149, 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.548/1.548, allocations: 230.6 MB / 258.3 MB, free: 8 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.2322/0.2322, allocations: 44.92 MB / 359.6 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 180] 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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,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.Test10") [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.002315/0.002315, allocations: 71.89 kB / 0.4943 GB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3558, allocations: 65.46 MB / 0.5583 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003834/0.3597, allocations: 1.681 MB / 0.5599 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.362, allocations: 1.298 MB / 0.5612 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.515e-05/0.3621, allocations: 4 kB / 0.5612 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.3623, allocations: 23.84 kB / 0.5612 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003875/0.3627, allocations: 91.55 kB / 0.5613 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.3632, allocations: 167.4 kB / 0.5614 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.3634, allocations: 87.7 kB / 0.5615 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3635, allocations: 19.97 kB / 0.5616 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.846e-05/0.3636, allocations: 35.8 kB / 0.5616 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.3638, allocations: 35.84 kB / 0.5616 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.3638, allocations: 4 kB / 0.5616 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.364, allocations: 103.9 kB / 0.5617 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.678e-05/0.3641, allocations: 23.92 kB / 0.5617 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.3641, allocations: 23.81 kB / 0.5618 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.3645, allocations: 161.8 kB / 0.5619 GB, free: 3.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3645, allocations: 3.938 kB / 0.5619 GB, free: 3.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3645, allocations: 0 / 0.5619 GB, free: 3.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3645, allocations: 4 kB / 0.5619 GB, free: 3.957 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.0005752/0.3651, allocations: 333.7 kB / 0.5622 GB, free: 3.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3651, allocations: 8.031 kB / 0.5623 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.3651, allocations: 8.891 kB / 0.5623 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.3654, allocations: 138.4 kB / 0.5624 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3654, allocations: 4.359 kB / 0.5624 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.3654, allocations: 4.375 kB / 0.5624 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.3656, allocations: 87.45 kB / 0.5625 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3656, allocations: 0 / 0.5625 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.3656, allocations: 0 / 0.5625 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3656, allocations: 0 / 0.5625 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.3658, allocations: 47.95 kB / 0.5625 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.3663, allocations: 271.8 kB / 0.5628 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.3665, allocations: 54.48 kB / 0.5628 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.593e-05/0.3665, allocations: 28.88 kB / 0.5629 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.3666, allocations: 4 kB / 0.5629 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.3666, allocations: 34.55 kB / 0.5629 GB, free: 2.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3666, allocations: 0 / 0.5629 GB, free: 2.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008654/0.3675, allocations: 237.3 kB / 0.5631 GB, free: 2.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.3675, allocations: 81.11 kB / 0.5632 GB, free: 2.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.3677, allocations: 149.5 kB / 0.5634 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.3677, allocations: 25.7 kB / 0.5634 GB, free: 2.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.3678, allocations: 104.1 kB / 0.5635 GB, free: 2.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.3678, allocations: 19.8 kB / 0.5635 GB, free: 2.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.3679, allocations: 25.7 kB / 0.5635 GB, free: 2.145 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.368, allocations: 318.8 kB / 0.5638 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.3682, allocations: 35.97 kB / 0.5639 GB, free: 1.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.3683, allocations: 57.67 kB / 0.5639 GB, free: 1.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.3685, allocations: 88.73 kB / 0.564 GB, free: 1.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3685, allocations: 0 / 0.564 GB, free: 1.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003176/0.3689, allocations: 125.6 kB / 0.5641 GB, free: 1.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3689, allocations: 10.53 kB / 0.5641 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3689, allocations: 4 kB / 0.5641 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3689, allocations: 3.938 kB / 0.5641 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.369, allocations: 19.98 kB / 0.5642 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.369, allocations: 0 / 0.5642 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.194e-05/0.3691, allocations: 11.92 kB / 0.5642 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.3691, allocations: 4 kB / 0.5642 GB, free: 1.457 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.0001048/0.3692, allocations: 121.8 kB / 0.5643 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.3693, allocations: 15.95 kB / 0.5643 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.3696, allocations: 134.6 kB / 0.5644 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3696, allocations: 4 kB / 0.5644 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3696, allocations: 0 / 0.5644 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.3696, allocations: 3.938 kB / 0.5644 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006577/0.3703, allocations: 393.5 kB / 0.5648 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3703, allocations: 0 / 0.5648 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.171e-05/0.3704, allocations: 19.98 kB / 0.5648 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3704, allocations: 0 / 0.5648 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3704, allocations: 11.86 kB / 0.5648 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3704, allocations: 0 / 0.5648 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3704, allocations: 0 / 0.5648 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.3708, allocations: 227.4 kB / 0.5651 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.659e-05/0.3708, allocations: 3.953 kB / 0.5651 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.3708, allocations: 7.938 kB / 0.5651 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-05/0.3709, allocations: 11.98 kB / 0.5651 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.371, allocations: 7.984 kB / 0.5651 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.371, allocations: 4 kB / 0.5651 GB, free: 432 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.3711, allocations: 115.3 kB / 0.5652 GB, free: 316 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3711, allocations: 0 / 0.5652 GB, free: 316 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000311/0.3714, allocations: 43.86 kB / 0.5652 GB, free: 272 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.001832/0.3732, allocations: 0.4946 MB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003473/0.3736, allocations: 91.86 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3736, allocations: 0 / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.3737, allocations: 47.91 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.3741, allocations: 19.98 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005971/0.3747, allocations: 239.6 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.3751, allocations: 0.6924 MB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.896e-05/0.3751, allocations: 23.42 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3751, allocations: 0 / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of Templates: time 0.004982/0.3801, allocations: 2.188 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.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.789261259138584]