Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 116.2 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 246.4 MB, free: 9.102 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2574/0.2574, allocations: 46.1 MB / 343.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 75.97 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1234, allocations: 62.45 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003144/0.1266, allocations: 1.676 MB / 481.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009832/0.1276, allocations: 0.5339 MB / 481.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.1277, allocations: 0 / 481.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.128, allocations: 115.7 kB / 481.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.1283, allocations: 99.75 kB / 482 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.1286, allocations: 111.4 kB / 482.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.1288, allocations: 83.81 kB / 482.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1289, allocations: 19.98 kB / 482.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.199e-05/0.129, allocations: 39.84 kB / 482.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.1291, allocations: 71.8 kB / 482.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1292, allocations: 4 kB / 482.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.1293, allocations: 47.91 kB / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.989e-05/0.1293, allocations: 23.92 kB / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.1294, allocations: 31.69 kB / 482.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.1296, allocations: 123.9 kB / 482.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1296, allocations: 0 / 482.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1296, allocations: 0 / 482.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1296, allocations: 4 kB / 482.6 MB, free: 2.52 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.0004842/0.1301, allocations: 426.8 kB / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1302, allocations: 8.031 kB / 483 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.32e-05/0.1302, allocations: 34.75 kB / 483 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.1302, allocations: 8.844 kB / 483 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.1304, allocations: 213.6 kB / 483.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1305, allocations: 8.375 kB / 483.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.1305, allocations: 384 / 483.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1307, allocations: 61.61 kB / 483.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1307, allocations: 4 kB / 483.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1307, allocations: 0 / 483.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1307, allocations: 0 / 483.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.943e-05/0.1308, allocations: 31.91 kB / 483.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.1312, allocations: 316.6 kB / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.1314, allocations: 42.56 kB / 483.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.151e-05/0.1314, allocations: 24.92 kB / 483.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.1314, allocations: 0 / 483.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.1315, allocations: 30.56 kB / 483.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1315, allocations: 4 kB / 483.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000877/0.1324, allocations: 248.9 kB / 484 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.1324, allocations: 51.41 kB / 484.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.1326, allocations: 266 kB / 484.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.1327, allocations: 25.7 kB / 484.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.1327, allocations: 112.1 kB / 484.4 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.1328, allocations: 27.56 kB / 484.5 MB, free: 412 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.1328, allocations: 33.7 kB / 484.5 MB, free: 372 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.953e-05/0.1329, allocations: 322.8 kB / 484.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.099e-05/0.133, allocations: 27.98 kB / 484.8 MB, free: 12 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.959e-05/0.1331, allocations: 32.12 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.1333, allocations: 76.72 kB / 485 MB, free: 15.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1333, allocations: 0 / 485 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002122/0.1335, allocations: 117.4 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1335, allocations: 8 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1335, allocations: 0 / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1336, allocations: 0 / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.874e-05/0.1337, allocations: 15.98 kB / 485.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.1337, allocations: 7.938 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.1337, allocations: 0 / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1337, allocations: 8 kB / 485.1 MB, free: 15.74 MB / 366.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.000102/0.1339, allocations: 129.8 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.1339, allocations: 15.81 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.1342, allocations: 139 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1342, allocations: 0 / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1342, allocations: 11.88 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1342, allocations: 0 / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005375/0.1348, allocations: 427.7 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1348, allocations: 4 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.1348, allocations: 19.92 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1349, allocations: 0 / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1349, allocations: 4 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1349, allocations: 80 / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1349, allocations: 3.984 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.1352, allocations: 220.1 kB / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.1352, allocations: 92.94 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.1352, allocations: 4 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.1353, allocations: 8 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.1354, allocations: 3.984 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1354, allocations: 8 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.1355, allocations: 188.4 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1355, allocations: 0 / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1358, allocations: 20 kB / 486.4 MB, free: 14.36 MB / 366.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.001399/0.1372, allocations: 1.094 MB / 487.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.1374, allocations: 83.89 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1374, allocations: 0 / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.443e-05/0.1375, allocations: 39.97 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1379, allocations: 25.41 kB / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.1399, allocations: 1.808 MB / 489.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.1402, allocations: 0.7292 MB / 490.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.654e-05/0.1403, allocations: 20.95 kB / 490.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.1404, allocations: 39.42 kB / 490.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1404, allocations: 0 / 490.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1172/0.2576, allocations: 3.122 MB / 493.3 MB, free: 7.516 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003228/0.258, allocations: 240.7 kB / 493.6 MB, free: 7.254 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.154, allocations: 3.938 kB / 493.6 MB, free: 7.25 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.nHeaderLines,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[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time