Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000874/0.0008738, allocations: 100.8 kB / 17.01 MB, free: 6.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001095/0.001095, allocations: 193.5 kB / 17.91 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.7 MB / 246.4 MB, free: 9.836 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.19 MB / 344.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004705, allocations: 8.219 kB / 418.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1405, allocations: 63.56 MB / 482.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.00253/0.1431, allocations: 1.752 MB / 484.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.1452, allocations: 1.31 MB / 485.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.1454, allocations: 0 / 485.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.1456, allocations: 39.66 kB / 485.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004073/0.146, allocations: 195.3 kB / 485.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1473, allocations: 0.5701 MB / 486.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.1476, allocations: 295 kB / 486.5 MB, free: 404 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.1478, allocations: 64.88 kB / 486.6 MB, free: 340 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.1481, allocations: 127.4 kB / 486.7 MB, free: 212 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.1483, allocations: 175.3 kB / 486.9 MB, free: 36 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.1484, allocations: 8 kB / 486.9 MB, free: 28 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.1485, allocations: 52.05 kB / 487 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.1487, allocations: 143.4 kB / 487.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.663e-05/0.1488, allocations: 81.45 kB / 487.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.1491, allocations: 307.7 kB / 487.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1491, allocations: 0 / 487.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1491, allocations: 0 / 487.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1491, allocations: 0 / 487.5 MB, free: 15.45 MB / 366.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.0009017/0.15, allocations: 0.7503 MB / 488.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1501, allocations: 8.031 kB / 488.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003949/0.1505, allocations: 107.2 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005534/0.151, allocations: 463.7 kB / 488.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.1511, allocations: 8 kB / 488.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.1511, allocations: 12 kB / 488.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.1514, allocations: 171.1 kB / 489 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1515, allocations: 4 kB / 489 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.1515, allocations: 3.938 kB / 489 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1515, allocations: 4 kB / 489 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.1518, allocations: 131.9 kB / 489.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009871/0.1528, allocations: 0.7268 MB / 489.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.1531, allocations: 145.2 kB / 490 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.1533, allocations: 77.8 kB / 490.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.1533, allocations: 0 / 490.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.1533, allocations: 42.52 kB / 490.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.1534, allocations: 0 / 490.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.00194/0.1553, allocations: 0.8139 MB / 490.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.1554, allocations: 81.09 kB / 491 MB, free: 11.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009974/0.1564, allocations: 0.9024 MB / 491.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.1564, allocations: 33.7 kB / 491.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.1566, allocations: 268.2 kB / 492.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.41e-05/0.1567, allocations: 67.02 kB / 492.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/0.1567, allocations: 0 / 492.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.1569, allocations: 378.8 kB / 492.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/0.1572, allocations: 127.9 kB / 492.8 MB, free: 9.918 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.1575, allocations: 152 kB / 492.9 MB, free: 9.766 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.1579, allocations: 131.9 kB / 493 MB, free: 9.637 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1579, allocations: 3.938 kB / 493 MB, free: 9.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007086/0.1586, allocations: 372.9 kB / 493.4 MB, free: 9.262 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.1586, allocations: 10.81 kB / 493.4 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.1586, allocations: 7.984 kB / 493.4 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.1587, allocations: 0 / 493.4 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.159, allocations: 63.94 kB / 493.5 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.159, allocations: 4 kB / 493.5 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.1592, allocations: 31.89 kB / 493.5 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.1592, allocations: 11.98 kB / 493.5 MB, free: 9.137 MB / 366.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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002502/0.1594, allocations: 221.7 kB / 493.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.1596, allocations: 59.25 kB / 493.8 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.1606, allocations: 431 kB / 494.2 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.1606, allocations: 4 kB / 494.2 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.1606, allocations: 0 / 494.2 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1606, allocations: 3.984 kB / 494.2 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.1622, allocations: 0.9859 MB / 495.2 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1622, allocations: 0 / 495.2 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.1624, allocations: 71.89 kB / 495.3 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1625, allocations: 96 / 495.3 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.1625, allocations: 11.92 kB / 495.3 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1625, allocations: 0 / 495.3 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1625, allocations: 3.953 kB / 495.3 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007448/0.1633, allocations: 0.537 MB / 495.9 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.1634, allocations: 152.3 kB / 496 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.1635, allocations: 4 kB / 496 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.1637, allocations: 31.97 kB / 496 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.1638, allocations: 23.91 kB / 496.1 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.1638, allocations: 4 kB / 496.1 MB, free: 6.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007693/0.1646, allocations: 0.663 MB / 496.7 MB, free: 5.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1646, allocations: 0 / 496.7 MB, free: 5.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004015/0.165, allocations: 67.94 kB / 496.8 MB, free: 5.773 MB / 366.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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001037/0.166, allocations: 408.7 kB / 497.2 MB, free: 5.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006595/0.1667, allocations: 287.7 kB / 497.5 MB, free: 5.219 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1667, allocations: 4 kB / 497.5 MB, free: 5.215 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.167, allocations: 159.8 kB / 497.6 MB, free: 5.059 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.1676, allocations: 62.97 kB / 497.7 MB, free: 5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.1692, allocations: 1.106 MB / 498.8 MB, free: 3.863 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/0.1699, allocations: 0.8892 MB / 499.7 MB, free: 2.949 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002419/0.1702, allocations: 95.19 kB / 499.8 MB, free: 2.859 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.1703, allocations: 51.36 kB / 499.8 MB, free: 2.809 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1703, allocations: 3.938 kB / 499.8 MB, free: 2.805 MB / 366.1 MB Notification: Performance of Templates: time 0.008284/0.1786, allocations: 4.035 MB / 0.4921 GB, free: 14.79 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches