Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009325/0.0009326, allocations: 95.16 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001108/0.001108, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.7 MB / 247.5 MB, free: 9.484 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2269/0.2269, allocations: 46.18 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.0002781, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1249, allocations: 63.56 MB / 483.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.002489/0.1275, allocations: 1.797 MB / 485.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.1295, allocations: 1.267 MB / 486.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.1297, allocations: 4 kB / 486.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.1299, allocations: 39.7 kB / 486.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004657/0.1304, allocations: 187.4 kB / 487 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009851/0.1314, allocations: 429 kB / 487.4 MB, free: 424 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004114/0.1318, allocations: 303 kB / 487.7 MB, free: 120 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.132, allocations: 64.64 kB / 487.8 MB, free: 56 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002806/0.1323, allocations: 131.3 kB / 487.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.1325, allocations: 187.2 kB / 488.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.784e-05/0.1326, allocations: 12 kB / 488.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.1327, allocations: 55.97 kB / 488.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.1329, allocations: 135.5 kB / 488.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.133, allocations: 184.3 kB / 488.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.1334, allocations: 303.7 kB / 488.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1334, allocations: 0 / 488.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1334, allocations: 0 / 488.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1334, allocations: 0 / 488.8 MB, free: 15.06 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.001027/0.1345, allocations: 0.731 MB / 489.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1345, allocations: 13.95 kB / 489.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004652/0.135, allocations: 100.1 kB / 489.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005786/0.1356, allocations: 476.5 kB / 490.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1356, allocations: 8.375 kB / 490.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.1356, allocations: 12.12 kB / 490.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.136, allocations: 155.1 kB / 490.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.136, allocations: 0 / 490.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.136, allocations: 12 kB / 490.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.136, allocations: 0 / 490.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.1363, allocations: 119.9 kB / 490.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000881/0.1372, allocations: 0.68 MB / 491.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.1375, allocations: 133.4 kB / 491.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.1377, allocations: 69.81 kB / 491.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.1378, allocations: 7.938 kB / 491.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.1378, allocations: 34.56 kB / 491.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.1378, allocations: 3.938 kB / 491.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.00206/0.1399, allocations: 0.756 MB / 492.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.1399, allocations: 81.11 kB / 492.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009665/0.1409, allocations: 0.8985 MB / 493.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.1409, allocations: 25.7 kB / 493.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.1411, allocations: 272.2 kB / 493.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.851e-05/0.1412, allocations: 59.02 kB / 493.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.1413, allocations: 25.7 kB / 493.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1414, allocations: 378.7 kB / 493.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.1417, allocations: 107.9 kB / 493.9 MB, free: 9.691 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.142, allocations: 127.9 kB / 494 MB, free: 9.562 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005741/0.1426, allocations: 241.5 kB / 494.3 MB, free: 9.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1426, allocations: 0 / 494.3 MB, free: 9.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007198/0.1433, allocations: 341 kB / 494.6 MB, free: 8.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1434, allocations: 4 kB / 494.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1434, allocations: 0 / 494.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1434, allocations: 192 / 494.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.1437, allocations: 71.89 kB / 494.7 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1437, allocations: 0 / 494.7 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.1439, allocations: 35.88 kB / 494.7 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.144, allocations: 4 kB / 494.7 MB, free: 8.867 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002201/0.1442, allocations: 217.7 kB / 494.9 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.7e-05/0.1443, allocations: 59.28 kB / 495 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008479/0.1451, allocations: 382.2 kB / 495.4 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.1452, allocations: 4 kB / 495.4 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1452, allocations: 0 / 495.4 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1452, allocations: 4 kB / 495.4 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.1466, allocations: 0.9229 MB / 496.3 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1466, allocations: 3.938 kB / 496.3 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.1469, allocations: 60.42 kB / 496.3 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1469, allocations: 0 / 496.3 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.1469, allocations: 8 kB / 496.4 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1469, allocations: 3.938 kB / 496.4 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.1469, allocations: 3.984 kB / 496.4 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.1477, allocations: 0.5056 MB / 496.9 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.1479, allocations: 156.3 kB / 497 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/0.1479, allocations: 4 kB / 497 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.1482, allocations: 31.92 kB / 497.1 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.1483, allocations: 19.97 kB / 497.1 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.1483, allocations: 15.98 kB / 497.1 MB, free: 6.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007205/0.149, allocations: 0.6513 MB / 497.7 MB, free: 5.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.149, allocations: 4 kB / 497.7 MB, free: 5.719 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.1494, allocations: 67.98 kB / 497.8 MB, free: 5.652 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 (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.0009709/0.1504, allocations: 395.1 kB / 498.2 MB, free: 5.395 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006622/0.1511, allocations: 251.8 kB / 498.4 MB, free: 5.148 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1511, allocations: 0 / 498.4 MB, free: 5.148 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.1514, allocations: 147.7 kB / 498.6 MB, free: 5.004 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006459/0.1521, allocations: 70.95 kB / 498.7 MB, free: 4.938 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.1536, allocations: 1.104 MB / 499.8 MB, free: 3.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.1541, allocations: 0.8654 MB / 0.4889 GB, free: 2.902 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.1542, allocations: 47.41 kB / 0.4889 GB, free: 2.855 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1542, allocations: 0 / 0.4889 GB, free: 2.855 MB / 366.1 MB Notification: Performance of Templates: time 0.009495/0.1637, allocations: 5.948 MB / 0.4947 GB, free: 12.92 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches