Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2385/0.2385, allocations: 46.93 MB / 357.8 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 67.91 kB / 0.4916 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1401, allocations: 65.99 MB / 0.5561 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003696/0.1438, allocations: 1.709 MB / 0.5577 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.145, allocations: 0.6 MB / 0.5583 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1451, allocations: 0 / 0.5583 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.1454, allocations: 31.77 kB / 0.5584 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.1457, allocations: 83.56 kB / 0.5584 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.1462, allocations: 179.5 kB / 0.5586 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.1465, allocations: 99.69 kB / 0.5587 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1466, allocations: 15.98 kB / 0.5587 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.1467, allocations: 47.77 kB / 0.5588 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.1468, allocations: 39.84 kB / 0.5588 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.1469, allocations: 4 kB / 0.5588 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.1471, allocations: 107.9 kB / 0.5589 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.968e-05/0.1472, allocations: 27.91 kB / 0.5589 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.856e-05/0.1473, allocations: 39.73 kB / 0.559 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.1477, allocations: 171.4 kB / 0.5591 GB, free: 2.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1477, allocations: 0 / 0.5591 GB, free: 2.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1477, allocations: 0 / 0.5591 GB, free: 2.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.1477, allocations: 0 / 0.5591 GB, free: 2.668 MB / 414.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.000908/0.1486, allocations: 462.4 kB / 0.5596 GB, free: 2.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.1487, allocations: 12.03 kB / 0.5596 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.679e-05/0.1487, allocations: 192 / 0.5596 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.946e-05/0.1487, allocations: 38.73 kB / 0.5596 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.1488, allocations: 12.89 kB / 0.5596 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.1491, allocations: 203.7 kB / 0.5598 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1491, allocations: 384 / 0.5598 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/0.1492, allocations: 16.06 kB / 0.5599 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.1495, allocations: 91.34 kB / 0.5599 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1495, allocations: 3.938 kB / 0.5599 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.1495, allocations: 8 kB / 0.56 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1495, allocations: 0 / 0.56 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003488/0.1499, allocations: 71.91 kB / 0.56 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007269/0.1506, allocations: 352.7 kB / 0.5604 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.1509, allocations: 78.45 kB / 0.5604 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.1511, allocations: 40.95 kB / 0.5605 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.1511, allocations: 7.922 kB / 0.5605 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.1511, allocations: 42.56 kB / 0.5605 GB, free: 1.082 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.1511, allocations: 0 / 0.5605 GB, free: 1.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001872/0.153, allocations: 409.2 kB / 0.5609 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.1531, allocations: 77.11 kB / 0.561 GB, free: 0.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.1533, allocations: 170.8 kB / 0.5611 GB, free: 412 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.1533, allocations: 25.7 kB / 0.5612 GB, free: 380 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.974e-05/0.1533, allocations: 104.1 kB / 0.5613 GB, free: 272 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.1534, allocations: 35.8 kB / 0.5613 GB, free: 236 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-05/0.1535, allocations: 29.66 kB / 0.5613 GB, free: 200 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1536, allocations: 322.8 kB / 0.5616 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.1539, allocations: 80.09 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/0.1543, allocations: 97.64 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000651/0.1549, allocations: 169 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1549, allocations: 0 / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007213/0.1556, allocations: 213.4 kB / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1557, allocations: 4 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1557, allocations: 0 / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1557, allocations: 0 / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.1559, allocations: 47.89 kB / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1559, allocations: 3.938 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.1561, allocations: 35.91 kB / 0.5623 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.1561, allocations: 0 / 0.5623 GB, free: 15.22 MB / 430.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 (10): * Single equations (assignments): 10 * 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.0001737/0.1563, allocations: 121.8 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.1563, allocations: 7.953 kB / 0.5624 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008042/0.1571, allocations: 222.2 kB / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1572, allocations: 4 kB / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.1572, allocations: 3.938 kB / 0.5626 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.1572, allocations: 3.984 kB / 0.5626 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.1583, allocations: 0.51 MB / 0.5631 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.1583, allocations: 7.922 kB / 0.5631 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.1585, allocations: 39.91 kB / 0.5632 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1585, allocations: 3.938 kB / 0.5632 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1585, allocations: 0 / 0.5632 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1585, allocations: 8 kB / 0.5632 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1585, allocations: 0 / 0.5632 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007632/0.1593, allocations: 303.5 kB / 0.5635 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/0.1594, allocations: 96.95 kB / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.1594, allocations: 0 / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.1596, allocations: 31.95 kB / 0.5636 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.1597, allocations: 7.984 kB / 0.5636 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.1597, allocations: 4 kB / 0.5636 GB, free: 13.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.1598, allocations: 127.4 kB / 0.5637 GB, free: 13.63 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1598, allocations: 0 / 0.5637 GB, free: 13.63 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004012/0.1602, allocations: 55.86 kB / 0.5638 GB, free: 13.57 MB / 430.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 (9): * Single equations (assignments): 9 * 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.003038/0.1633, allocations: 1.239 MB / 0.565 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007854/0.164, allocations: 171.8 kB / 0.5651 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.164, allocations: 0 / 0.5651 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.1644, allocations: 91.84 kB / 0.5652 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.1648, allocations: 17.3 kB / 0.5652 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/0.1684, allocations: 1.939 MB / 0.5671 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.1688, allocations: 0.708 MB / 0.5678 GB, free: 9.477 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000131/0.169, allocations: 36.5 kB / 0.5679 GB, free: 9.438 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.1691, allocations: 35.8 kB / 0.5679 GB, free: 9.402 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1691, allocations: 0 / 0.5679 GB, free: 9.402 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.1907, allocations: 4.473 MB / 0.5723 GB, free: 4.953 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.644/8.835, allocations: 4.062 kB / 0.5723 GB, free: 4.949 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.149754930986091]