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.00149/0.00149, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001521/0.001521, allocations: 219.9 kB / 23.73 MB, free: 4.164 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2361/0.2361, allocations: 46.95 MB / 360.9 MB, free: 4.043 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.002036/0.002036, allocations: 67.91 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3353, allocations: 66.04 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003802/0.3391, allocations: 1.818 MB / 0.5624 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.341, allocations: 0.9635 MB / 0.5633 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.761e-05/0.3411, allocations: 8 kB / 0.5633 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.3414, allocations: 59.72 kB / 0.5634 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004624/0.3419, allocations: 127.4 kB / 0.5635 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.3423, allocations: 159.5 kB / 0.5637 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.3426, allocations: 199.4 kB / 0.5639 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3427, allocations: 19.56 kB / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.3429, allocations: 83.67 kB / 0.564 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.3431, allocations: 99.62 kB / 0.5641 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.3431, allocations: 16 kB / 0.5641 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.3432, allocations: 39.94 kB / 0.5641 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.3433, allocations: 47.83 kB / 0.5642 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.665e-05/0.3434, allocations: 63.64 kB / 0.5642 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.3437, allocations: 187.2 kB / 0.5644 GB, free: 356 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3437, allocations: 0 / 0.5644 GB, free: 356 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3437, allocations: 4 kB / 0.5644 GB, free: 352 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.3437, allocations: 0 / 0.5644 GB, free: 352 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.001236/0.345, allocations: 0.5083 MB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.345, allocations: 12.03 kB / 0.5649 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.3451, allocations: 38.73 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/0.3451, allocations: 16.84 kB / 0.565 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.3454, allocations: 183.3 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.3455, allocations: 8.312 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.3455, allocations: 11.92 kB / 0.5652 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/0.346, allocations: 141.5 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.346, allocations: 0 / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.346, allocations: 0 / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.346, allocations: 4 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007123/0.3468, allocations: 163.8 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.3473, allocations: 311.8 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008165/0.3481, allocations: 198.3 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003742/0.3485, allocations: 88.77 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.3485, allocations: 15.91 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006181/0.3491, allocations: 159.2 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.3491, allocations: 0 / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003834/0.3529, allocations: 0.8205 MB / 0.567 GB, free: 13.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.353, allocations: 63.34 kB / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.3533, allocations: 252.1 kB / 0.5673 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.3533, allocations: 29.7 kB / 0.5673 GB, free: 13.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.3534, allocations: 128.1 kB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.3535, allocations: 35.7 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.3536, allocations: 33.81 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3537, allocations: 342.8 kB / 0.5678 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000749/0.3545, allocations: 219.2 kB / 0.568 GB, free: 12.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007341/0.3552, allocations: 227.2 kB / 0.5683 GB, free: 12.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.3566, allocations: 362.2 kB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3566, allocations: 0 / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0016/0.3582, allocations: 0.5115 MB / 0.5691 GB, free: 11.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.826e-05/0.3582, allocations: 63.39 kB / 0.5692 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3583, allocations: 0 / 0.5692 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3583, allocations: 4 kB / 0.5692 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.3587, allocations: 75.84 kB / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.3587, allocations: 0 / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.3591, allocations: 59.91 kB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.3592, allocations: 12 kB / 0.5693 GB, free: 11.03 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.0001829/0.3593, allocations: 133.8 kB / 0.5694 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.3594, allocations: 19.86 kB / 0.5695 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.361, allocations: 403.3 kB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.361, allocations: 7.938 kB / 0.5698 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.361, allocations: 4 kB / 0.5699 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.361, allocations: 4 kB / 0.5699 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.3628, allocations: 0.6497 MB / 0.5705 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3628, allocations: 0 / 0.5705 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.3633, allocations: 75.78 kB / 0.5706 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3633, allocations: 0 / 0.5706 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.3633, allocations: 4 kB / 0.5706 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3633, allocations: 0 / 0.5706 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3633, allocations: 4 kB / 0.5706 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.3648, allocations: 490.6 kB / 0.571 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.3649, allocations: 19.83 kB / 0.5711 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.3649, allocations: 8 kB / 0.5711 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/0.3654, allocations: 59.91 kB / 0.5711 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.3655, allocations: 51.92 kB / 0.5712 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.3655, allocations: 4 kB / 0.5712 GB, free: 9.031 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002083/0.3657, allocations: 189.6 kB / 0.5714 GB, free: 8.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3657, allocations: 3.938 kB / 0.5714 GB, free: 8.844 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003302/0.3661, allocations: 47.94 kB / 0.5714 GB, free: 8.797 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.003414/0.3695, allocations: 1.346 MB / 0.5727 GB, free: 7.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.3711, allocations: 0.5096 MB / 0.5732 GB, free: 7.066 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3711, allocations: 0 / 0.5732 GB, free: 7.066 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000741/0.3719, allocations: 179.7 kB / 0.5734 GB, free: 6.891 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.3723, allocations: 36.64 kB / 0.5734 GB, free: 6.852 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006382/0.3787, allocations: 3.046 MB / 0.5764 GB, free: 3.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.3788, allocations: 115.3 kB / 0.5765 GB, free: 3.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.3789, allocations: 25.41 kB / 0.5765 GB, free: 3.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.3791, allocations: 59.34 kB / 0.5766 GB, free: 3.449 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3791, allocations: 0 / 0.5766 GB, free: 3.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/0.415, allocations: 6.66 MB / 0.5831 GB, free: 12.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.57, allocations: 7.984 kB / 0.5831 GB, free: 12.86 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.588557397015393]