Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",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.001315/0.001315, allocations: 104 kB / 17.63 MB, free: 5.523 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.001408/0.001408, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.429/1.429, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2235/0.2235, allocations: 44.17 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001413, allocations: 65.09 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1206, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003802/0.1244, allocations: 1.572 MB / 470.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008956/0.1254, allocations: 415.2 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.732e-05/0.1255, allocations: 7.938 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.1258, allocations: 107.7 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.1261, allocations: 79.78 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.1265, allocations: 110.7 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.1269, allocations: 87.86 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.127, allocations: 24.09 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.897e-05/0.1271, allocations: 39.83 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.1272, allocations: 67.81 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.1273, allocations: 0 / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.1274, allocations: 47.92 kB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.974e-05/0.1275, allocations: 27.92 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.1276, allocations: 27.75 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.1278, allocations: 111.9 kB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1278, allocations: 3.938 kB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1278, allocations: 0 / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.1278, allocations: 0 / 472.1 MB, free: 11.57 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.0005385/0.1284, allocations: 415 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1284, allocations: 8.031 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.1285, allocations: 34.73 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.1285, allocations: 20.69 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.1287, allocations: 204.1 kB / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1288, allocations: 8.359 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.1288, allocations: 8.125 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1289, allocations: 45.69 kB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.129, allocations: 4 kB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.129, allocations: 0 / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.129, allocations: 4 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.772e-05/0.1291, allocations: 27.97 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.1295, allocations: 316.6 kB / 473.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.1296, allocations: 38.56 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.1297, allocations: 20.94 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.1297, allocations: 0 / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1297, allocations: 38.56 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1297, allocations: 3.938 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008714/0.1306, allocations: 240.9 kB / 473.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.1307, allocations: 59.34 kB / 473.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.1309, allocations: 242.7 kB / 473.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.1309, allocations: 25.7 kB / 473.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.367e-05/0.131, allocations: 104.1 kB / 473.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.131, allocations: 27.56 kB / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.1311, allocations: 25.7 kB / 473.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.1313, allocations: 326.8 kB / 474.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-05/0.1314, allocations: 23.98 kB / 474.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-05/0.1315, allocations: 35.97 kB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.1316, allocations: 72.89 kB / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1317, allocations: 0 / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002307/0.1319, allocations: 109.5 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1319, allocations: 15.92 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1319, allocations: 4 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1319, allocations: 0 / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-05/0.132, allocations: 20 kB / 474.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1321, allocations: 7.922 kB / 474.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.562e-05/0.1321, allocations: 4 kB / 474.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1321, allocations: 4 kB / 474.6 MB, free: 8.84 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 9.786e-05/0.1322, allocations: 130.9 kB / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.1323, allocations: 15.81 kB / 474.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.1326, allocations: 135 kB / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1326, allocations: 432 / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1326, allocations: 3.938 kB / 474.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1326, allocations: 0 / 474.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000521/0.1331, allocations: 427.2 kB / 475.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1331, allocations: 3.938 kB / 475.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.876e-05/0.1332, allocations: 24 kB / 475.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1332, allocations: 0 / 475.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1332, allocations: 4 kB / 475.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1333, allocations: 480 / 475.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1333, allocations: 0 / 475.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.1335, allocations: 216.2 kB / 475.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.1336, allocations: 96.86 kB / 475.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.1337, allocations: 7.938 kB / 475.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.1337, allocations: 7.984 kB / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.1338, allocations: 7.984 kB / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.1338, allocations: 4 kB / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.1339, allocations: 183.2 kB / 475.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.134, allocations: 0 / 475.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1342, allocations: 23.98 kB / 475.8 MB, free: 7.469 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.001418/0.1356, allocations: 1.096 MB / 476.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.1359, allocations: 75.89 kB / 477 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1359, allocations: 0 / 477 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.196e-05/0.136, allocations: 39.97 kB / 477 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.1363, allocations: 15.98 kB / 477 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.1382, allocations: 1.782 MB / 478.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.1385, allocations: 0.7158 MB / 479.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.792e-05/0.1385, allocations: 16.95 kB / 479.6 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.663e-05/0.1386, allocations: 35.42 kB / 479.6 MB, free: 3.738 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1386, allocations: 0 / 479.6 MB, free: 3.738 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.1589, allocations: 3.155 MB / 482.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.535/7.694, allocations: 10.89 kB / 482.8 MB, free: 0.6445 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.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