Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001337/0.001337, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001283/0.001283, 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.607/1.607, allocations: 222.9 MB / 241.8 MB, free: 15.44 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.2217/0.2217, allocations: 44.17 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 73.12 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1176, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002932/0.1206, allocations: 1.633 MB / 470.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007214/0.1213, allocations: 395.4 kB / 470.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.788e-05/0.1214, allocations: 3.938 kB / 470.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.1217, allocations: 107.8 kB / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.1219, allocations: 79.77 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.1221, allocations: 71.86 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.1223, allocations: 71.88 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.68e-05/0.1224, allocations: 20.17 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.489e-05/0.1224, allocations: 43.77 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.1225, allocations: 55.89 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.1226, allocations: 7.938 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.1227, allocations: 43.97 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.3e-05/0.1227, allocations: 23.86 kB / 471.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.1228, allocations: 31.73 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.123, allocations: 107.9 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.123, allocations: 0 / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.123, allocations: 3.938 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.123, allocations: 0 / 471.3 MB, free: 12.05 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.000463/0.1235, allocations: 419 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1235, allocations: 8.031 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.669e-05/0.1235, allocations: 38.75 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.1236, allocations: 12.75 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.1238, allocations: 208.6 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.1238, allocations: 384 / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.1238, allocations: 8.125 kB / 472 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1239, allocations: 57.61 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.124, allocations: 4 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.124, allocations: 0 / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.124, allocations: 4 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.827e-05/0.1241, allocations: 19.98 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.1245, allocations: 296.7 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.801e-05/0.1246, allocations: 46.5 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.1246, allocations: 20.94 kB / 472.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1247, allocations: 4 kB / 472.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.1247, allocations: 30.56 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1247, allocations: 0 / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008294/0.1255, allocations: 237.4 kB / 472.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.1256, allocations: 59.28 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.1258, allocations: 238.7 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.1258, allocations: 25.7 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.1259, allocations: 108.1 kB / 473.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.1259, allocations: 27.55 kB / 473.1 MB, free: 10 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.126, allocations: 21.72 kB / 473.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1261, allocations: 326.8 kB / 473.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.493e-05/0.1262, allocations: 23.98 kB / 473.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-05/0.1262, allocations: 31.91 kB / 473.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.1264, allocations: 60.83 kB / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1264, allocations: 0 / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002041/0.1266, allocations: 101.6 kB / 473.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1266, allocations: 8 kB / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1266, allocations: 0 / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.1266, allocations: 0 / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.799e-05/0.1268, allocations: 19.92 kB / 473.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1268, allocations: 7.875 kB / 473.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.841e-05/0.1268, allocations: 4 kB / 473.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.1268, allocations: 7.984 kB / 473.8 MB, free: 9.379 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.729e-05/0.1269, allocations: 129.8 kB / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.127, allocations: 15.81 kB / 473.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.1272, allocations: 119.4 kB / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1272, allocations: 0 / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1272, allocations: 3.938 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1273, allocations: 7.984 kB / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004541/0.1277, allocations: 407.3 kB / 474.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.1277, allocations: 7.922 kB / 474.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.491e-05/0.1278, allocations: 15.94 kB / 474.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1278, allocations: 4 kB / 474.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1278, allocations: 4 kB / 474.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1278, allocations: 3.984 kB / 474.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1278, allocations: 4 kB / 474.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.1281, allocations: 196.3 kB / 474.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.1281, allocations: 92.84 kB / 474.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.1282, allocations: 4 kB / 474.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.1282, allocations: 11.94 kB / 474.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.1283, allocations: 7.922 kB / 474.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.1283, allocations: 4 kB / 474.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.1284, allocations: 188.3 kB / 475 MB, free: 8.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1284, allocations: 0 / 475 MB, free: 8.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.1287, allocations: 24 kB / 475 MB, free: 8.047 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.001344/0.13, allocations: 1.085 MB / 476.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1303, allocations: 59.91 kB / 476.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1303, allocations: 4 kB / 476.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.1304, allocations: 43.91 kB / 476.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.1307, allocations: 12 kB / 476.2 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.1327, allocations: 1.745 MB / 477.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.133, allocations: 0.7121 MB / 478.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.333e-05/0.1331, allocations: 16.97 kB / 478.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.893e-05/0.1332, allocations: 31.42 kB / 478.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1332, allocations: 0 / 478.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.1468, allocations: 2.954 MB / 481.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.1471, allocations: 234.4 kB / 481.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.036, allocations: 3.938 kB / 481.9 MB, free: 1.266 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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(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