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.001481/0.001481, allocations: 108.9 kB / 17.33 MB, free: 5.996 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.001865/0.001865, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.509/1.509, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2411/0.2411, allocations: 44.18 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 56.25 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.12, allocations: 60.83 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003552/0.1236, allocations: 1.637 MB / 470.5 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007522/0.1244, allocations: 399.2 kB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.611e-05/0.1245, allocations: 4 kB / 470.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003627/0.1249, allocations: 107.7 kB / 471 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.1252, allocations: 71.84 kB / 471 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.1256, allocations: 79.59 kB / 471.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.1258, allocations: 83.81 kB / 471.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.126, allocations: 20.17 kB / 471.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1261, allocations: 39.83 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.1262, allocations: 63.88 kB / 471.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1262, allocations: 0 / 471.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.1264, allocations: 47.92 kB / 471.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.901e-05/0.1264, allocations: 23.92 kB / 471.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.1265, allocations: 39.67 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.1267, allocations: 103.9 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1267, allocations: 3.938 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1267, allocations: 4 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1267, allocations: 0 / 471.5 MB, free: 11.93 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.0005092/0.1272, allocations: 414.9 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1273, allocations: 8.031 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/0.1273, allocations: 30.75 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.1274, allocations: 16.75 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.1276, allocations: 208.6 kB / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1276, allocations: 4.375 kB / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1276, allocations: 8.125 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.1278, allocations: 57.61 kB / 472.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1278, allocations: 0 / 472.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1278, allocations: 4 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1278, allocations: 0 / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.53e-05/0.1279, allocations: 23.98 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.1283, allocations: 296.7 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.1284, allocations: 50.5 kB / 472.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.1285, allocations: 24.88 kB / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.1285, allocations: 0 / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1285, allocations: 34.56 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1285, allocations: 0 / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008592/0.1294, allocations: 232.9 kB / 472.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.1294, allocations: 59.34 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.1297, allocations: 230.7 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1297, allocations: 33.7 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.1298, allocations: 104.1 kB / 473.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.1298, allocations: 31.55 kB / 473.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.1298, allocations: 25.72 kB / 473.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.13, allocations: 326.8 kB / 473.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.414e-05/0.1301, allocations: 23.97 kB / 473.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.676e-05/0.1301, allocations: 27.98 kB / 473.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.1303, allocations: 60.89 kB / 473.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1303, allocations: 0 / 473.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002147/0.1305, allocations: 105.6 kB / 473.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1306, allocations: 6.5 kB / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.1306, allocations: 0 / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1306, allocations: 4 kB / 473.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1307, allocations: 19.92 kB / 473.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1307, allocations: 3.938 kB / 473.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.3e-05/0.1308, allocations: 4 kB / 474 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1308, allocations: 7.984 kB / 474 MB, free: 9.258 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.0001118/0.1309, allocations: 129.8 kB / 474.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.1309, allocations: 15.8 kB / 474.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.1312, allocations: 111.4 kB / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1312, allocations: 0 / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.1312, allocations: 3.938 kB / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1313, allocations: 7.922 kB / 474.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/0.1318, allocations: 419.3 kB / 474.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1318, allocations: 3.938 kB / 474.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.555e-05/0.1319, allocations: 12 kB / 474.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1319, allocations: 0 / 474.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.1319, allocations: 4 kB / 474.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.1319, allocations: 3.984 kB / 474.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1319, allocations: 0 / 474.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.1322, allocations: 208.2 kB / 474.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.1323, allocations: 96.84 kB / 475 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1323, allocations: 3.938 kB / 475 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.1324, allocations: 4 kB / 475 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.1324, allocations: 11.98 kB / 475 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.1325, allocations: 11.94 kB / 475 MB, free: 8.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.1326, allocations: 184.3 kB / 475.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1326, allocations: 0 / 475.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.1329, allocations: 24 kB / 475.2 MB, free: 7.922 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.001622/0.1345, allocations: 1.081 MB / 476.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.1348, allocations: 63.97 kB / 476.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1348, allocations: 0 / 476.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.86e-05/0.1349, allocations: 43.91 kB / 476.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.1353, allocations: 11.98 kB / 476.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.1372, allocations: 1.755 MB / 478.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.1374, allocations: 0.7157 MB / 478.9 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.338e-05/0.1375, allocations: 16.97 kB / 478.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.997e-05/0.1376, allocations: 31.42 kB / 478.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1376, allocations: 0 / 478.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.1513, allocations: 3.015 MB / 481.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.1515, allocations: 237.9 kB / 482.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.103, allocations: 0 / 482.1 MB, free: 1.074 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