Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001746/0.001746, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002002/0.002002, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2365/0.2365, allocations: 46.93 MB / 360.9 MB, free: 4.266 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 67.89 kB / 0.4962 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3141, allocations: 66.02 MB / 0.5607 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003292/0.3174, allocations: 1.881 MB / 0.5625 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.3191, allocations: 1.03 MB / 0.5635 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.364e-05/0.3192, allocations: 4 kB / 0.5635 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.3194, allocations: 71.66 kB / 0.5636 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004142/0.3198, allocations: 119.4 kB / 0.5637 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.3203, allocations: 163.3 kB / 0.5638 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.3206, allocations: 203.3 kB / 0.564 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3207, allocations: 19.56 kB / 0.5641 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.3209, allocations: 91.67 kB / 0.5641 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.3211, allocations: 103.6 kB / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.3211, allocations: 12 kB / 0.5643 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.3212, allocations: 47.97 kB / 0.5643 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.874e-05/0.3213, allocations: 35.91 kB / 0.5643 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.3214, allocations: 79.47 kB / 0.5644 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.3217, allocations: 195.1 kB / 0.5646 GB, free: 424 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3217, allocations: 0 / 0.5646 GB, free: 424 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3218, allocations: 0 / 0.5646 GB, free: 424 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.3218, allocations: 0 / 0.5646 GB, free: 424 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.001245/0.323, allocations: 0.5122 MB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3231, allocations: 12.03 kB / 0.5651 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.734e-05/0.3231, allocations: 34.75 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.3232, allocations: 16.84 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.3234, allocations: 183.2 kB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.3234, allocations: 8.359 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.3235, allocations: 11.94 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004904/0.324, allocations: 141.5 kB / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.324, allocations: 0 / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.324, allocations: 0 / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.324, allocations: 4 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006702/0.3247, allocations: 163.8 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005144/0.3252, allocations: 351.6 kB / 0.566 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007269/0.3259, allocations: 182.4 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.3263, allocations: 96.73 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.3263, allocations: 0 / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005757/0.3269, allocations: 167.3 kB / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.923e-06/0.3269, allocations: 4 kB / 0.5664 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003606/0.3305, allocations: 0.8167 MB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.3305, allocations: 55.34 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.3308, allocations: 260.1 kB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.3309, allocations: 34.25 kB / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.356e-05/0.331, allocations: 124.1 kB / 0.5677 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.331, allocations: 39.69 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.106e-05/0.3311, allocations: 33.7 kB / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3312, allocations: 330.8 kB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006855/0.3319, allocations: 171.7 kB / 0.5682 GB, free: 12.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006508/0.3326, allocations: 175.8 kB / 0.5684 GB, free: 12.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.3338, allocations: 362.7 kB / 0.5687 GB, free: 11.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3338, allocations: 4 kB / 0.5687 GB, free: 11.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001481/0.3353, allocations: 460.5 kB / 0.5692 GB, free: 11.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.726e-05/0.3354, allocations: 59.41 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3354, allocations: 0 / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3354, allocations: 0 / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.3358, allocations: 83.77 kB / 0.5693 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.3358, allocations: 4 kB / 0.5693 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.3362, allocations: 63.91 kB / 0.5694 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.3362, allocations: 4 kB / 0.5694 GB, free: 11.27 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.0001461/0.3364, allocations: 141.8 kB / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.3364, allocations: 19.86 kB / 0.5695 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.3379, allocations: 402.7 kB / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.3379, allocations: 3.938 kB / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3379, allocations: 0 / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3379, allocations: 0 / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.3397, allocations: 0.6847 MB / 0.5706 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3397, allocations: 0 / 0.5706 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.34, allocations: 75.78 kB / 0.5707 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.34, allocations: 0 / 0.5707 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.34, allocations: 4 kB / 0.5707 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3401, allocations: 3.984 kB / 0.5707 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3401, allocations: 0 / 0.5707 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.3415, allocations: 483 kB / 0.5711 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.3416, allocations: 23.83 kB / 0.5711 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.3416, allocations: 0 / 0.5711 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.342, allocations: 63.91 kB / 0.5712 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.3422, allocations: 47.92 kB / 0.5713 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.3422, allocations: 4 kB / 0.5713 GB, free: 9.254 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002326/0.3424, allocations: 197.6 kB / 0.5714 GB, free: 9.062 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3424, allocations: 0 / 0.5714 GB, free: 9.062 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.3427, allocations: 43.94 kB / 0.5715 GB, free: 9.02 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.003246/0.346, allocations: 1.313 MB / 0.5728 GB, free: 7.844 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.3475, allocations: 466.3 kB / 0.5732 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3475, allocations: 0 / 0.5732 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006965/0.3482, allocations: 175.8 kB / 0.5734 GB, free: 7.191 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.3485, allocations: 49.53 kB / 0.5734 GB, free: 7.145 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006037/0.3546, allocations: 2.833 MB / 0.5762 GB, free: 4.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.355, allocations: 0.7318 MB / 0.5769 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.3551, allocations: 17.44 kB / 0.5769 GB, free: 3.445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.3552, allocations: 55.41 kB / 0.577 GB, free: 3.391 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3552, allocations: 0 / 0.577 GB, free: 3.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03401/0.3892, allocations: 5.976 MB / 0.5828 GB, free: 13.49 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.87, allocations: 4 kB / 0.5828 GB, free: 13.48 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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,d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),der(trapezoid1.y),der(trapezoid2.y),t_new.extrapolation,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.u1,t_new.u2,t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y,time,trapezoid1.amplitude,trapezoid1.falling,trapezoid1.nperiod,trapezoid1.offset,trapezoid1.period,trapezoid1.rising,trapezoid1.startTime,trapezoid1.width,trapezoid1.y,trapezoid2.amplitude,trapezoid2.falling,trapezoid2.nperiod,trapezoid2.offset,trapezoid2.period,trapezoid2.rising,trapezoid2.startTime,trapezoid2.width,trapezoid2.y [Calling sys.exit(0), Time elapsed: 14.962169328005984]