Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test27",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.001487/0.001487, allocations: 106.9 kB / 16.41 MB, free: 6.48 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.001579/0.00158, allocations: 189.5 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2366/0.2366, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 67.84 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1198, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003575/0.1234, allocations: 1.551 MB / 0.4889 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007228/0.1242, allocations: 323.5 kB / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.1243, allocations: 7.938 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003962/0.1247, allocations: 115.7 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.125, allocations: 83.77 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.1253, allocations: 71.83 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.1256, allocations: 79.81 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1257, allocations: 19.91 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.891e-05/0.1258, allocations: 43.83 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.126, allocations: 75.84 kB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.126, allocations: 4 kB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-05/0.1261, allocations: 28 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.382e-05/0.1262, allocations: 39.83 kB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.1263, allocations: 31.69 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.1265, allocations: 103.6 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1265, allocations: 0 / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1265, allocations: 0 / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1265, allocations: 0 / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005521/0.1271, allocations: 422.3 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1271, allocations: 15.89 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.1272, allocations: 30.75 kB / 0.4903 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.1272, allocations: 16.69 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.1274, allocations: 211.8 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1275, allocations: 8.312 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.1275, allocations: 8.359 kB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.1276, allocations: 49.62 kB / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1277, allocations: 0 / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1277, allocations: 0 / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1277, allocations: 0 / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.958e-05/0.1278, allocations: 19.98 kB / 0.4906 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.1281, allocations: 296.9 kB / 0.4909 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.1283, allocations: 42.5 kB / 0.491 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.1284, allocations: 16.94 kB / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1284, allocations: 4 kB / 0.491 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.1285, allocations: 30.56 kB / 0.491 GB, free: 8.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1285, allocations: 4 kB / 0.491 GB, free: 8.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005885/0.1291, allocations: 145.1 kB / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.1291, allocations: 55.41 kB / 0.4912 GB, free: 8.195 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.1294, allocations: 266.3 kB / 0.4915 GB, free: 7.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.1294, allocations: 25.7 kB / 0.4915 GB, free: 7.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.1295, allocations: 112.1 kB / 0.4916 GB, free: 7.777 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.1295, allocations: 23.66 kB / 0.4916 GB, free: 7.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.526e-05/0.1296, allocations: 21.7 kB / 0.4916 GB, free: 7.727 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1297, allocations: 326.8 kB / 0.492 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.991e-05/0.1298, allocations: 19.98 kB / 0.492 GB, free: 7.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.937e-05/0.1298, allocations: 15.98 kB / 0.492 GB, free: 7.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.13, allocations: 48.95 kB / 0.492 GB, free: 7.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.13, allocations: 8 kB / 0.492 GB, free: 7.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001878/0.1302, allocations: 81.58 kB / 0.4921 GB, free: 7.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1302, allocations: 11.94 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1302, allocations: 0 / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1302, allocations: 0 / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.354e-05/0.1303, allocations: 11.98 kB / 0.4921 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1303, allocations: 0 / 0.4921 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.309e-05/0.1304, allocations: 4 kB / 0.4921 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.1304, allocations: 11.88 kB / 0.4922 GB, free: 7.18 MB / 382.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 (5): * Single equations (assignments): 5 * 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.634e-05/0.1305, allocations: 141.7 kB / 0.4923 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.1305, allocations: 15.81 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.1308, allocations: 90.64 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1308, allocations: 4 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1308, allocations: 0 / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1308, allocations: 0 / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.1312, allocations: 366.4 kB / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1312, allocations: 0 / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.233e-05/0.1313, allocations: 8 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1313, allocations: 7.984 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1313, allocations: 0 / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1313, allocations: 7.922 kB / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1313, allocations: 0 / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.1316, allocations: 187.5 kB / 0.493 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.1316, allocations: 81.02 kB / 0.493 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.1316, allocations: 7.938 kB / 0.493 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.1317, allocations: 11.92 kB / 0.493 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1318, allocations: 4 kB / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.1318, allocations: 288 / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.1319, allocations: 203.2 kB / 0.4932 GB, free: 5.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1319, allocations: 0 / 0.4932 GB, free: 5.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.1322, allocations: 19.91 kB / 0.4933 GB, free: 5.938 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001298/0.1335, allocations: 1.018 MB / 0.4943 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.1337, allocations: 55.89 kB / 0.4943 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1337, allocations: 0 / 0.4943 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.142e-05/0.1338, allocations: 23.98 kB / 0.4943 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1342, allocations: 19.47 kB / 0.4944 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.136, allocations: 1.696 MB / 0.496 GB, free: 3.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1363, allocations: 0.7158 MB / 0.4967 GB, free: 2.328 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.453e-05/0.1364, allocations: 4 kB / 0.4967 GB, free: 2.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.1365, allocations: 35.42 kB / 0.4967 GB, free: 2.289 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1365, allocations: 0 / 0.4967 GB, free: 2.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.1575, allocations: 3.017 MB / 0.4997 GB, free: 15.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/7.837, allocations: 16.33 kB / 0.4997 GB, free: 15.23 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.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 Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),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[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,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