Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",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.001748/0.001748, allocations: 106.9 kB / 17.21 MB, free: 6.273 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.002047/0.002047, 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.474/1.474, allocations: 222.9 MB / 241.8 MB, free: 15.36 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.2421/0.2421, allocations: 44.18 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 68.33 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1403, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004012/0.1444, allocations: 2.026 MB / 470.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.1465, allocations: 1.115 MB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.1467, allocations: 0 / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.147, allocations: 39.77 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004349/0.1475, allocations: 143.5 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.1489, allocations: 0.5435 MB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004476/0.1493, allocations: 275 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.1496, allocations: 72.69 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.1498, allocations: 111.5 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.1501, allocations: 167.4 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.797e-05/0.1502, allocations: 12 kB / 473.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.1503, allocations: 67.89 kB / 473.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.1505, allocations: 131.6 kB / 473.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.1507, allocations: 166.6 kB / 473.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.1511, allocations: 366.6 kB / 473.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1512, allocations: 3.938 kB / 473.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1512, allocations: 0 / 473.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.1512, allocations: 3.938 kB / 473.8 MB, free: 9.527 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001228/0.1524, allocations: 0.7736 MB / 474.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.1525, allocations: 12.03 kB / 474.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.152e-05/0.1525, allocations: 42.75 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.1527, allocations: 52.28 kB / 474.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006009/0.1533, allocations: 467.7 kB / 475.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1533, allocations: 8.375 kB / 475.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.1533, allocations: 11.94 kB / 475.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.1537, allocations: 141.2 kB / 475.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.1537, allocations: 7.938 kB / 475.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.1537, allocations: 8 kB / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1537, allocations: 7.984 kB / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.154, allocations: 95.86 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.155, allocations: 0.6877 MB / 476.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.1552, allocations: 121.2 kB / 476.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.1553, allocations: 45.81 kB / 476.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.1554, allocations: 7.938 kB / 476.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.1554, allocations: 38.56 kB / 476.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.1554, allocations: 0 / 476.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001523/0.1569, allocations: 0.5371 MB / 476.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.157, allocations: 77.11 kB / 477 MB, free: 6.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009764/0.158, allocations: 0.8896 MB / 477.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.158, allocations: 25.7 kB / 477.9 MB, free: 5.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.1582, allocations: 256.2 kB / 478.1 MB, free: 5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.952e-05/0.1583, allocations: 59.19 kB / 478.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.1584, allocations: 29.7 kB / 478.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1585, allocations: 374.7 kB / 478.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.1587, allocations: 67.95 kB / 478.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.1589, allocations: 85.59 kB / 478.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.1592, allocations: 158 kB / 478.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1592, allocations: 0 / 478.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005152/0.1598, allocations: 244.8 kB / 479.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.1598, allocations: 4 kB / 479.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1598, allocations: 0 / 479.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1598, allocations: 4 kB / 479.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.1601, allocations: 43.95 kB / 479.2 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1601, allocations: 0 / 479.2 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.1602, allocations: 8 kB / 479.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.1603, allocations: 7.984 kB / 479.2 MB, free: 3.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002327/0.1605, allocations: 221.7 kB / 479.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.1606, allocations: 63.19 kB / 479.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006115/0.1612, allocations: 287 kB / 479.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1613, allocations: 0 / 479.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.1613, allocations: 4 kB / 479.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1613, allocations: 0 / 479.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.1625, allocations: 0.8175 MB / 480.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.1625, allocations: 0 / 480.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.1627, allocations: 39.91 kB / 480.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.1627, allocations: 0 / 480.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.1627, allocations: 8 kB / 480.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.1627, allocations: 3.938 kB / 480.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1627, allocations: 0 / 480.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006567/0.1634, allocations: 410.1 kB / 481 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.1635, allocations: 148.4 kB / 481.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/0.1636, allocations: 3.984 kB / 481.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.1638, allocations: 15.94 kB / 481.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/0.1639, allocations: 23.89 kB / 481.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.164, allocations: 8 kB / 481.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007835/0.1648, allocations: 0.6472 MB / 481.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1648, allocations: 0 / 481.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000385/0.1652, allocations: 56 kB / 481.9 MB, free: 1.066 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 (16): * Single equations (assignments): 16 * 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.002055/0.1672, allocations: 1.254 MB / 483.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00059/0.1678, allocations: 159.8 kB / 483.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1679, allocations: 3.938 kB / 483.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.1681, allocations: 83.89 kB / 483.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007497/0.1688, allocations: 83.22 kB / 483.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007936/0.1768, allocations: 5.322 MB / 488.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007399/0.1776, allocations: 0.8726 MB / 489.7 MB, free: 9.312 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002569/0.1778, allocations: 83.22 kB / 489.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.1781, allocations: 159.4 kB / 489.9 MB, free: 9.074 MB / 366.1 MB Notification: Performance of SimCode: time 1.262e-06/0.1781, allocations: 8 kB / 489.9 MB, free: 9.066 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.2043, allocations: 9.277 MB / 499.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/0.2046, allocations: 248.2 kB / 499.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.135, allocations: 0 / 499.5 MB, free: 15.62 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches