Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.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.001356/0.001356, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001663/0.001663, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2249/0.2249, allocations: 46.94 MB / 361.6 MB, free: 4.246 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.1.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.1.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.91 kB / 0.4974 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3355, allocations: 66.03 MB / 0.5619 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003727/0.3392, allocations: 1.881 MB / 0.5637 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.3411, allocations: 1.069 MB / 0.5648 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.856e-05/0.3412, allocations: 0 / 0.5648 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.3415, allocations: 63.72 kB / 0.5648 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.3418, allocations: 127.4 kB / 0.5649 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005669/0.3424, allocations: 210.8 kB / 0.5651 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.3427, allocations: 207.3 kB / 0.5653 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.3428, allocations: 21.75 kB / 0.5654 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.3429, allocations: 79.75 kB / 0.5654 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.3431, allocations: 111.6 kB / 0.5655 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.3432, allocations: 12 kB / 0.5656 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3433, allocations: 43.98 kB / 0.5656 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.39e-05/0.3434, allocations: 43.83 kB / 0.5656 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.883e-05/0.3435, allocations: 67.59 kB / 0.5657 GB, free: 476 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.3437, allocations: 197.6 kB / 0.5659 GB, free: 284 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3438, allocations: 0 / 0.5659 GB, free: 284 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3438, allocations: 0 / 0.5659 GB, free: 284 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3438, allocations: 4 kB / 0.5659 GB, free: 280 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001162/0.3449, allocations: 0.5083 MB / 0.5664 GB, free: 15.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.345, allocations: 12.03 kB / 0.5664 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.345, allocations: 20.83 kB / 0.5664 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.3453, allocations: 174.2 kB / 0.5666 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.3453, allocations: 16.31 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.3453, allocations: 8.125 kB / 0.5666 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.3459, allocations: 149.5 kB / 0.5668 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3459, allocations: 0 / 0.5668 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.3459, allocations: 0 / 0.5668 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3459, allocations: 4 kB / 0.5668 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006657/0.3466, allocations: 167.8 kB / 0.5669 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000862/0.3474, allocations: 399.6 kB / 0.5673 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/0.3482, allocations: 190.3 kB / 0.5675 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003532/0.3485, allocations: 96.75 kB / 0.5676 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.3486, allocations: 0 / 0.5676 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005668/0.3491, allocations: 163.2 kB / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.3491, allocations: 0 / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003556/0.3527, allocations: 0.84 MB / 0.5686 GB, free: 13.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.3527, allocations: 59.34 kB / 0.5686 GB, free: 13.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.353, allocations: 256 kB / 0.5689 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.3531, allocations: 29.7 kB / 0.5689 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.3532, allocations: 124.3 kB / 0.569 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.3533, allocations: 43.67 kB / 0.569 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.033e-05/0.3533, allocations: 33.81 kB / 0.5691 GB, free: 12.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.3536, allocations: 334.8 kB / 0.5694 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006737/0.3542, allocations: 171.8 kB / 0.5696 GB, free: 12.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006506/0.3549, allocations: 175.8 kB / 0.5697 GB, free: 12.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.3562, allocations: 382.2 kB / 0.5701 GB, free: 11.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3562, allocations: 3.938 kB / 0.5701 GB, free: 11.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001612/0.3578, allocations: 468.5 kB / 0.5705 GB, free: 11.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.221e-05/0.3578, allocations: 65.73 kB / 0.5706 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3579, allocations: 0 / 0.5706 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3579, allocations: 8 kB / 0.5706 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.3583, allocations: 63.91 kB / 0.5707 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.3583, allocations: 3.938 kB / 0.5707 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.3587, allocations: 71.84 kB / 0.5707 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.3587, allocations: 4 kB / 0.5708 GB, free: 11.07 MB / 414.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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.00017/0.3589, allocations: 145.7 kB / 0.5709 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.3589, allocations: 15.91 kB / 0.5709 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.3604, allocations: 418.7 kB / 0.5713 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3604, allocations: 0 / 0.5713 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.3604, allocations: 3.938 kB / 0.5713 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3604, allocations: 7.984 kB / 0.5713 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.3622, allocations: 0.6919 MB / 0.572 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3623, allocations: 0 / 0.572 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/0.3626, allocations: 75.89 kB / 0.5721 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3626, allocations: 3.938 kB / 0.5721 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.3626, allocations: 4 kB / 0.5721 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3626, allocations: 0.5625 kB / 0.5721 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3626, allocations: 0 / 0.5721 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.364, allocations: 499 kB / 0.5725 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.3641, allocations: 15.84 kB / 0.5726 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.3641, allocations: 4 kB / 0.5726 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.3645, allocations: 67.91 kB / 0.5726 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.3647, allocations: 51.86 kB / 0.5727 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.3647, allocations: 8 kB / 0.5727 GB, free: 8.996 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.3649, allocations: 185.8 kB / 0.5729 GB, free: 8.816 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3649, allocations: 3.938 kB / 0.5729 GB, free: 8.812 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.3652, allocations: 43.95 kB / 0.5729 GB, free: 8.77 MB / 414.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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001518/0.3667, allocations: 394.4 kB / 0.5733 GB, free: 8.535 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.3682, allocations: 482.3 kB / 0.5737 GB, free: 8.039 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.3682, allocations: 0 / 0.5737 GB, free: 8.039 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006888/0.3689, allocations: 183.7 kB / 0.5739 GB, free: 7.859 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.3693, allocations: 50.38 kB / 0.574 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.3703, allocations: 396.5 kB / 0.5743 GB, free: 7.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.3707, allocations: 0.724 MB / 0.5751 GB, free: 6.645 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.3708, allocations: 19.44 kB / 0.5751 GB, free: 6.625 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3708, allocations: 0 / 0.5751 GB, free: 6.625 MB / 414.1 MB Notification: Performance of Templates: time 0.006077/0.3769, allocations: 3.296 MB / 0.5783 GB, free: 3.332 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.y,t_new.y[1],time,trapezoid1.y,trapezoid2.y [Calling sys.exit(0), Time elapsed: 7.896400287980214]