Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",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.001157/0.001157, allocations: 109.4 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.001095/0.001095, 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.376/1.376, allocations: 222.9 MB / 241.8 MB, free: 15.54 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.2286/0.2286, allocations: 44.17 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 65.31 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1326, allocations: 60.82 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003146/0.1358, allocations: 1.625 MB / 470.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008494/0.1366, allocations: 423.2 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.284e-05/0.1367, allocations: 3.938 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.137, allocations: 103.8 kB / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.1372, allocations: 67.86 kB / 470.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.1375, allocations: 95.81 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1377, allocations: 83.8 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1378, allocations: 24.11 kB / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.987e-05/0.1379, allocations: 35.89 kB / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.138, allocations: 59.83 kB / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.138, allocations: 0 / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.772e-05/0.1382, allocations: 47.97 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.178e-05/0.1382, allocations: 23.92 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.1383, allocations: 31.73 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.1385, allocations: 107.8 kB / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1385, allocations: 0 / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1385, allocations: 0 / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1385, allocations: 8 kB / 471.3 MB, free: 12 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.0005483/0.1391, allocations: 411 kB / 471.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1391, allocations: 12.03 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.1392, allocations: 34.75 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.1392, allocations: 16.75 kB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1394, allocations: 208.6 kB / 472 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1394, allocations: 4.375 kB / 472 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.1395, allocations: 8.062 kB / 472 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1396, allocations: 65.61 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1397, allocations: 0 / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1397, allocations: 0 / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1397, allocations: 0 / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.1398, allocations: 27.97 kB / 472.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.1403, allocations: 304.7 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.1404, allocations: 58.48 kB / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.1405, allocations: 16.86 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.1405, allocations: 0 / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.1405, allocations: 30.66 kB / 472.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1405, allocations: 0 / 472.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009624/0.1415, allocations: 249 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.1415, allocations: 55.34 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.1418, allocations: 238.7 kB / 473 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.1418, allocations: 29.7 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.209e-05/0.1419, allocations: 104.1 kB / 473.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.142, allocations: 31.55 kB / 473.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.142, allocations: 21.72 kB / 473.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1421, allocations: 322.8 kB / 473.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.1422, allocations: 35.91 kB / 473.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.578e-05/0.1423, allocations: 31.98 kB / 473.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.1425, allocations: 72.81 kB / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1425, allocations: 0 / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002318/0.1427, allocations: 113.5 kB / 473.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1428, allocations: 6.5 kB / 473.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1428, allocations: 0 / 473.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1428, allocations: 0 / 473.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1429, allocations: 23.92 kB / 473.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1429, allocations: 3.938 kB / 473.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.143, allocations: 7.984 kB / 473.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.143, allocations: 4 kB / 473.8 MB, free: 9.273 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.0001029/0.1431, allocations: 133.8 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.1432, allocations: 11.81 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.1435, allocations: 127.8 kB / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1435, allocations: 0 / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.1435, allocations: 7.938 kB / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1435, allocations: 7.922 kB / 474.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005439/0.144, allocations: 423.3 kB / 474.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/0.1441, allocations: 15.86 kB / 474.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-05/0.1442, allocations: 23.98 kB / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1442, allocations: 0 / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1442, allocations: 3.938 kB / 474.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.1442, allocations: 4 kB / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1442, allocations: 0 / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.1445, allocations: 212.3 kB / 474.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.047e-05/0.1445, allocations: 92.86 kB / 474.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.1446, allocations: 0 / 474.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.1447, allocations: 11.92 kB / 474.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.1447, allocations: 8 kB / 474.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.1447, allocations: 4 kB / 474.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.1449, allocations: 188.3 kB / 475.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1449, allocations: 0 / 475.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1452, allocations: 20 kB / 475.1 MB, free: 7.898 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.001638/0.1468, allocations: 1.096 MB / 476.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.1471, allocations: 75.89 kB / 476.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1471, allocations: 0 / 476.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.1472, allocations: 43.91 kB / 476.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.1476, allocations: 19.66 kB / 476.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.1499, allocations: 1.796 MB / 478.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.1503, allocations: 0.7121 MB / 478.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.37e-05/0.1504, allocations: 24.64 kB / 478.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.013e-05/0.1505, allocations: 39.42 kB / 478.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1505, allocations: 3.938 kB / 478.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.1641, allocations: 2.998 MB / 481.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/0.1644, allocations: 229.7 kB / 482.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/2.136, allocations: 0 / 482.1 MB, free: 0.9805 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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