Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.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.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12",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.00162/0.00162, allocations: 107.9 kB / 16.41 MB, free: 6.453 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.001819/0.001819, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.627/1.627, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2189/0.2189, allocations: 43.53 MB / 314.1 MB, free: 440 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.002191/0.002192, allocations: 65.47 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1323, allocations: 57.8 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.003397/0.1357, allocations: 1.623 MB / 0.489 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1372, allocations: 0.9301 MB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.853e-05/0.1373, allocations: 0 / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.1376, allocations: 31.78 kB / 0.4899 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.1379, allocations: 47.77 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.1382, allocations: 111.7 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.1384, allocations: 55.84 kB / 0.4901 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1385, allocations: 12.19 kB / 0.4901 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.1386, allocations: 31.84 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.1387, allocations: 31.84 kB / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.1388, allocations: 8 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.1389, allocations: 51.97 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.326e-05/0.139, allocations: 15.92 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.139, allocations: 31.8 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.1393, allocations: 95.77 kB / 0.4904 GB, free: 9.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1393, allocations: 3.984 kB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1393, allocations: 0 / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1393, allocations: 0 / 0.4904 GB, free: 9.164 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000519/0.1398, allocations: 391.1 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1399, allocations: 15.89 kB / 0.4908 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.1399, allocations: 38.75 kB / 0.4908 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.14, allocations: 8.828 kB / 0.4908 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.1402, allocations: 188.2 kB / 0.491 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.1402, allocations: 12.28 kB / 0.491 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1402, allocations: 4.125 kB / 0.491 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.1404, allocations: 79.31 kB / 0.4911 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1404, allocations: 0 / 0.4911 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1405, allocations: 8 kB / 0.4911 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1405, allocations: 0 / 0.4911 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.1406, allocations: 31.97 kB / 0.4911 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.141, allocations: 288.7 kB / 0.4914 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.1411, allocations: 46.5 kB / 0.4915 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.464e-05/0.1412, allocations: 28.94 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.1412, allocations: 0 / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1413, allocations: 34.56 kB / 0.4915 GB, free: 7.836 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1413, allocations: 0 / 0.4915 GB, free: 7.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007792/0.142, allocations: 217.2 kB / 0.4917 GB, free: 7.617 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.1421, allocations: 77.11 kB / 0.4918 GB, free: 7.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.1423, allocations: 142 kB / 0.4919 GB, free: 7.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1423, allocations: 25.7 kB / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.1424, allocations: 96.12 kB / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.1424, allocations: 19.66 kB / 0.4921 GB, free: 7.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.1425, allocations: 25.7 kB / 0.4921 GB, free: 7.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1426, allocations: 318.8 kB / 0.4924 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.1427, allocations: 31.97 kB / 0.4924 GB, free: 6.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.1428, allocations: 49.62 kB / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.1431, allocations: 80.77 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1431, allocations: 0 / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002766/0.1433, allocations: 109.5 kB / 0.4927 GB, free: 6.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1434, allocations: 4 kB / 0.4927 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1434, allocations: 0 / 0.4927 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1434, allocations: 4 kB / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1435, allocations: 15.98 kB / 0.4927 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1435, allocations: 7.938 kB / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.946e-05/0.1436, allocations: 11.98 kB / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1436, allocations: 0 / 0.4927 GB, free: 6.547 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 (7): * Single equations (assignments): 7 * 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 8.066e-05/0.1437, allocations: 125.7 kB / 0.4928 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.1438, allocations: 7.906 kB / 0.4928 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.1441, allocations: 126.3 kB / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1441, allocations: 3.938 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.1441, allocations: 3.938 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1441, allocations: 0 / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.1447, allocations: 394.7 kB / 0.4933 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1447, allocations: 0 / 0.4933 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.493e-05/0.1448, allocations: 19.98 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1448, allocations: 7.938 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1448, allocations: 4 kB / 0.4934 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1448, allocations: 4 kB / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1448, allocations: 0 / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.1452, allocations: 203.5 kB / 0.4936 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.1452, allocations: 93.03 kB / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.1452, allocations: 3.938 kB / 0.4937 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.1454, allocations: 15.98 kB / 0.4937 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.1454, allocations: 0 / 0.4937 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.1454, allocations: 11.98 kB / 0.4937 GB, free: 5.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.228e-05/0.1455, allocations: 103.3 kB / 0.4938 GB, free: 5.332 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1455, allocations: 0 / 0.4938 GB, free: 5.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1458, allocations: 24 kB / 0.4938 GB, free: 5.309 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 (7): * Single equations (assignments): 7 * 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.001506/0.1473, allocations: 1.089 MB / 0.4949 GB, free: 4.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003066/0.1476, allocations: 79.88 kB / 0.4949 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1477, allocations: 0 / 0.4949 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.1478, allocations: 39.97 kB / 0.495 GB, free: 4.125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.1481, allocations: 20 kB / 0.495 GB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.15, allocations: 1.542 MB / 0.4965 GB, free: 2.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.1503, allocations: 0.6885 MB / 0.4972 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.82e-05/0.1504, allocations: 21.11 kB / 0.4972 GB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.652e-05/0.1505, allocations: 27.42 kB / 0.4972 GB, free: 1.723 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1505, allocations: 0 / 0.4972 GB, free: 1.723 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.1713, allocations: 3.051 MB / 0.5002 GB, free: 14.61 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/7.852, allocations: 16.03 kB / 0.5002 GB, free: 14.59 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y,d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,d_t_new.u,d_t_new.y,der(clock1.y),der(clock2.y),der(d_t_new.u),t_new.extrapolation,t_new.smoothness,t_new.tableOnFile,t_new.u1,t_new.u2,t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y,time