Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009991/0.0009993, allocations: 107.6 kB / 17.21 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009487/0.0009488, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241.8 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2373/0.2373, allocations: 44.18 MB / 336.1 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.28 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1398, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003825/0.1436, allocations: 1.641 MB / 470.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000888/0.1445, allocations: 391.4 kB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.474e-05/0.1446, allocations: 0 / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.145, allocations: 115.7 kB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.1452, allocations: 79.72 kB / 470.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.1455, allocations: 71.86 kB / 470.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.1456, allocations: 71.88 kB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1458, allocations: 16.17 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.345e-05/0.1458, allocations: 43.83 kB / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.146, allocations: 63.81 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.146, allocations: 4 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1461, allocations: 39.98 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.175e-05/0.1462, allocations: 27.86 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.1463, allocations: 23.75 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.1465, allocations: 107.9 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.1465, allocations: 0 / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1465, allocations: 3.938 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1465, allocations: 4 kB / 471.3 MB, free: 12.04 MB / 350.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.0005583/0.1471, allocations: 415 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.1471, allocations: 12.03 kB / 471.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.1472, allocations: 38.69 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.1472, allocations: 12.75 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.1474, allocations: 208.6 kB / 472 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1474, allocations: 4.375 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.1474, allocations: 4.125 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1476, allocations: 49.69 kB / 472 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1476, allocations: 7.984 kB / 472 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1476, allocations: 4 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1476, allocations: 0 / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.548e-05/0.1477, allocations: 27.92 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.1481, allocations: 300.7 kB / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.1483, allocations: 42.56 kB / 472.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.1483, allocations: 16.94 kB / 472.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.1484, allocations: 7.984 kB / 472.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1484, allocations: 38.5 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1484, allocations: 0 / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008581/0.1493, allocations: 229 kB / 472.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.1493, allocations: 59.28 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.1495, allocations: 238.7 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.1496, allocations: 25.7 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.1497, allocations: 108.1 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.1497, allocations: 27.55 kB / 473.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.1497, allocations: 21.72 kB / 473.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1499, allocations: 330.8 kB / 473.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-05/0.15, allocations: 19.98 kB / 473.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/0.15, allocations: 31.91 kB / 473.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.1502, allocations: 56.92 kB / 473.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1502, allocations: 0 / 473.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002034/0.1504, allocations: 109.5 kB / 473.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1504, allocations: 8 kB / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1504, allocations: 0 / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1505, allocations: 0 / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.655e-05/0.1506, allocations: 15.98 kB / 473.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.1506, allocations: 7.938 kB / 473.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.537e-05/0.1506, allocations: 0 / 473.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1506, allocations: 8 kB / 473.7 MB, free: 9.371 MB / 350.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 (8): * Single equations (assignments): 8 * 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.000105/0.1507, allocations: 129.8 kB / 473.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.1508, allocations: 15.81 kB / 473.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.1511, allocations: 119.3 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1511, allocations: 0 / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.1511, allocations: 7.938 kB / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1511, allocations: 0 / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.1516, allocations: 411.3 kB / 474.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1516, allocations: 3.938 kB / 474.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.1517, allocations: 23.98 kB / 474.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1517, allocations: 0 / 474.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.1517, allocations: 0 / 474.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1517, allocations: 0 / 474.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1517, allocations: 7.938 kB / 474.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.1519, allocations: 204.3 kB / 474.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.152, allocations: 88.86 kB / 474.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.152, allocations: 11.98 kB / 474.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.1521, allocations: 11.94 kB / 474.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.1522, allocations: 7.984 kB / 474.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.1522, allocations: 0 / 474.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000155/0.1523, allocations: 192.3 kB / 475 MB, free: 8.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1523, allocations: 0 / 475 MB, free: 8.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.1526, allocations: 20 kB / 475 MB, free: 8.035 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001488/0.1541, allocations: 1.087 MB / 476.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.1543, allocations: 59.91 kB / 476.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1543, allocations: 0 / 476.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.464e-05/0.1544, allocations: 43.97 kB / 476.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.1548, allocations: 12 kB / 476.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.1566, allocations: 1.749 MB / 477.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.1569, allocations: 0.7121 MB / 478.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.982e-05/0.157, allocations: 16.97 kB / 478.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.157, allocations: 35.42 kB / 478.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of SimCode: time 4.8e-07/0.157, allocations: 0 / 478.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01376/0.1708, allocations: 2.962 MB / 481.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.1711, allocations: 233.7 kB / 481.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.085, allocations: 0 / 481.9 MB, free: 1.246 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(clock.y),der(d2_t_new.u),der(d_t_new.u),der(der(clock.y)),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time