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.001275/0.001275, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001414/0.001414, allocations: 203.5 kB / 23.73 MB, free: 4.379 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.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.248/0.248, allocations: 46.97 MB / 360.9 MB, free: 4.102 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.002095/0.002095, allocations: 63.91 kB / 0.4961 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3362, allocations: 66.04 MB / 0.5606 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003353/0.3396, allocations: 1.815 MB / 0.5624 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.3414, allocations: 0.9674 MB / 0.5633 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.3415, allocations: 0 / 0.5633 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.3417, allocations: 63.72 kB / 0.5634 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.3421, allocations: 123.4 kB / 0.5635 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.3426, allocations: 163.3 kB / 0.5637 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.3429, allocations: 199.4 kB / 0.5639 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.343, allocations: 15.56 kB / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.3432, allocations: 95.67 kB / 0.564 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.3433, allocations: 103.6 kB / 0.5641 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.3434, allocations: 12 kB / 0.5641 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.3435, allocations: 43.94 kB / 0.5641 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.3436, allocations: 43.89 kB / 0.5642 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.455e-05/0.3437, allocations: 63.64 kB / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.344, allocations: 191.2 kB / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.344, allocations: 0 / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.344, allocations: 0 / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.344, allocations: 4 kB / 0.5644 GB, free: 292 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.001199/0.3452, allocations: 0.5121 MB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3453, allocations: 8.031 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.3453, allocations: 42.73 kB / 0.5649 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.3454, allocations: 16.84 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.3456, allocations: 175.3 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.3456, allocations: 4.375 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.3457, allocations: 7.938 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005232/0.3462, allocations: 157.4 kB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3462, allocations: 0 / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.3462, allocations: 0 / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3462, allocations: 0 / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007104/0.3469, allocations: 167.8 kB / 0.5655 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.3475, allocations: 315.7 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00082/0.3483, allocations: 198.4 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/0.3487, allocations: 88.7 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.3487, allocations: 0 / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006236/0.3493, allocations: 171.2 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/0.3493, allocations: 0 / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003814/0.3531, allocations: 0.8244 MB / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.3532, allocations: 55.34 kB / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.3535, allocations: 256.1 kB / 0.5673 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.3535, allocations: 29.7 kB / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.3536, allocations: 128.1 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.639e-05/0.3537, allocations: 39.69 kB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.884e-05/0.3538, allocations: 33.7 kB / 0.5675 GB, free: 12.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3539, allocations: 330.8 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007204/0.3547, allocations: 227.2 kB / 0.568 GB, free: 12.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006781/0.3553, allocations: 226.2 kB / 0.5683 GB, free: 12.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.3566, allocations: 366.7 kB / 0.5686 GB, free: 11.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3566, allocations: 0 / 0.5686 GB, free: 11.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001538/0.3581, allocations: 0.5115 MB / 0.5691 GB, free: 11.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.469e-05/0.3582, allocations: 63.39 kB / 0.5692 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3582, allocations: 4 kB / 0.5692 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3582, allocations: 0 / 0.5692 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/0.3587, allocations: 71.84 kB / 0.5692 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3587, allocations: 0 / 0.5692 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004112/0.3591, allocations: 63.91 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.3591, allocations: 8 kB / 0.5693 GB, free: 10.97 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.000174/0.3593, allocations: 137.8 kB / 0.5694 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.3593, allocations: 19.86 kB / 0.5695 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.3608, allocations: 402.7 kB / 0.5698 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3608, allocations: 3.938 kB / 0.5698 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3608, allocations: 3.984 kB / 0.5699 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3609, allocations: 0 / 0.5699 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.3626, allocations: 0.6497 MB / 0.5705 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3626, allocations: 0 / 0.5705 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.363, allocations: 76.41 kB / 0.5706 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.363, allocations: 3.938 kB / 0.5706 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.363, allocations: 4 kB / 0.5706 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.363, allocations: 0 / 0.5706 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.363, allocations: 0 / 0.5706 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.3645, allocations: 494.7 kB / 0.571 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.3645, allocations: 23.77 kB / 0.5711 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.3646, allocations: 8 kB / 0.5711 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/0.365, allocations: 59.91 kB / 0.5711 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.3651, allocations: 47.92 kB / 0.5712 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.3652, allocations: 8 kB / 0.5712 GB, free: 8.969 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002102/0.3654, allocations: 189.6 kB / 0.5714 GB, free: 8.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3654, allocations: 4 kB / 0.5714 GB, free: 8.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003289/0.3657, allocations: 43.94 kB / 0.5714 GB, free: 8.738 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.003421/0.3691, allocations: 1.34 MB / 0.5727 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.3708, allocations: 0.5018 MB / 0.5732 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3708, allocations: 3.938 kB / 0.5732 GB, free: 7.016 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007579/0.3715, allocations: 183.7 kB / 0.5734 GB, free: 6.836 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.372, allocations: 39.62 kB / 0.5734 GB, free: 6.797 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006498/0.3785, allocations: 3.061 MB / 0.5764 GB, free: 3.594 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.3786, allocations: 115.3 kB / 0.5765 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.3788, allocations: 13.42 kB / 0.5765 GB, free: 3.449 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.3789, allocations: 59.42 kB / 0.5766 GB, free: 3.391 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3789, allocations: 0 / 0.5766 GB, free: 3.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03803/0.4169, allocations: 6.697 MB / 0.5831 GB, free: 12.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.28, allocations: 7.984 kB / 0.5831 GB, free: 12.76 MB / 430.1 MB " [Timeout remaining time 649] (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.300808491010685]