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.001291/0.001291, allocations: 108.8 kB / 17.21 MB, free: 6.27 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.001432/0.001432, allocations: 194 kB / 18.12 MB, free: 5.363 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.494/1.494, allocations: 222.9 MB / 241.8 MB, free: 13.85 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.2229/0.2229, allocations: 44.16 MB / 336.1 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 64.41 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1296, allocations: 60.82 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.00323/0.1329, allocations: 1.636 MB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000835/0.1338, allocations: 423.2 kB / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/0.1338, allocations: 0 / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.1342, allocations: 103.8 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.1344, allocations: 67.86 kB / 470.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.1347, allocations: 107.4 kB / 470.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.1349, allocations: 79.81 kB / 471 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.135, allocations: 16.17 kB / 471 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.261e-05/0.1351, allocations: 35.84 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.1352, allocations: 63.81 kB / 471.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.1353, allocations: 4 kB / 471.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1354, allocations: 39.98 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.521e-05/0.1354, allocations: 35.84 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.1355, allocations: 31.67 kB / 471.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.1357, allocations: 107.9 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1357, allocations: 0 / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1357, allocations: 0 / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1357, allocations: 4 kB / 471.4 MB, free: 11.97 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.0005143/0.1362, allocations: 411 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1363, allocations: 12.03 kB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.1363, allocations: 34.75 kB / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.1364, allocations: 12.75 kB / 471.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.1366, allocations: 208.6 kB / 472 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1366, allocations: 4.375 kB / 472 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.1366, allocations: 4.125 kB / 472 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.1368, allocations: 65.59 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1368, allocations: 0 / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1368, allocations: 3.984 kB / 472.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1368, allocations: 0 / 472.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.613e-05/0.1369, allocations: 27.97 kB / 472.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.1374, allocations: 304.7 kB / 472.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.1375, allocations: 50.5 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.887e-05/0.1375, allocations: 20.88 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.1376, allocations: 0 / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.1376, allocations: 38.56 kB / 472.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1376, allocations: 0 / 472.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009007/0.1385, allocations: 233 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.1386, allocations: 55.42 kB / 472.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.1388, allocations: 242.7 kB / 473 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.1388, allocations: 25.7 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.1389, allocations: 116.1 kB / 473.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.1389, allocations: 27.55 kB / 473.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.139, allocations: 21.72 kB / 473.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1391, allocations: 326.8 kB / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.882e-05/0.1392, allocations: 31.97 kB / 473.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.497e-05/0.1393, allocations: 31.98 kB / 473.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.1394, allocations: 72.81 kB / 473.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1395, allocations: 0 / 473.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002253/0.1397, allocations: 109.6 kB / 473.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1397, allocations: 4 kB / 473.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1397, allocations: 0 / 473.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1397, allocations: 0 / 473.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1399, allocations: 27.92 kB / 473.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1399, allocations: 4.25 kB / 473.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.1399, allocations: 11.92 kB / 473.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1399, allocations: 4 kB / 473.8 MB, free: 9.246 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.0001093/0.1401, allocations: 133.8 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.1401, allocations: 11.81 kB / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.1404, allocations: 135 kB / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1404, allocations: 4 kB / 474.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1404, allocations: 7.938 kB / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1404, allocations: 3.938 kB / 474.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005419/0.141, allocations: 419.2 kB / 474.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.141, allocations: 7.875 kB / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.497e-05/0.1411, allocations: 19.98 kB / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1411, allocations: 4.031 kB / 474.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1411, allocations: 4 kB / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1411, allocations: 4 kB / 474.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1411, allocations: 0 / 474.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.1414, allocations: 212.2 kB / 474.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.1415, allocations: 97.28 kB / 474.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.1415, allocations: 0 / 474.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.1416, allocations: 7.984 kB / 474.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.1416, allocations: 4 kB / 474.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.1416, allocations: 4 kB / 474.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001594/0.1418, allocations: 188.3 kB / 475.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1418, allocations: 0 / 475.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.1421, allocations: 20 kB / 475.1 MB, free: 7.879 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.001529/0.1436, allocations: 1.094 MB / 476.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.1439, allocations: 71.95 kB / 476.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1439, allocations: 3.938 kB / 476.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.871e-05/0.144, allocations: 44.06 kB / 476.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.1444, allocations: 21.81 kB / 476.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.1465, allocations: 1.8 MB / 478.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1469, allocations: 0.7121 MB / 478.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.805e-05/0.1469, allocations: 16.66 kB / 478.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/0.147, allocations: 35.42 kB / 478.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.147, allocations: 0 / 478.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.163, allocations: 3.009 MB / 481.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003688/0.1635, allocations: 235.9 kB / 482.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/1.97, allocations: 0 / 482.1 MB, free: 0.9531 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