Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001475/0.001475, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001676/0.001676, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2111/0.2111, allocations: 46.11 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 76.72 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1155, allocations: 62.45 MB / 480.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003795/0.1194, allocations: 2.041 MB / 482.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.122, allocations: 1.345 MB / 484.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.1222, allocations: 4 kB / 484.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.1225, allocations: 63.45 kB / 484.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005341/0.1231, allocations: 211.1 kB / 484.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.1245, allocations: 0.5905 MB / 485 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.1249, allocations: 315.2 kB / 485.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.1252, allocations: 76.69 kB / 485.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.1254, allocations: 139.5 kB / 485.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.1257, allocations: 191.2 kB / 485.7 MB, free: 336 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.1258, allocations: 12 kB / 485.7 MB, free: 324 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.126, allocations: 59.98 kB / 485.7 MB, free: 264 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.1261, allocations: 147.5 kB / 485.9 MB, free: 116 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.1263, allocations: 166.6 kB / 486 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.1268, allocations: 398.8 kB / 486.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1268, allocations: 3.984 kB / 486.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1268, allocations: 0 / 486.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.1268, allocations: 0 / 486.4 MB, free: 15.55 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.001031/0.1278, allocations: 0.7735 MB / 487.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1279, allocations: 8.031 kB / 487.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000313/0.1282, allocations: 76.16 kB / 487.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005741/0.1288, allocations: 463.7 kB / 487.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.1288, allocations: 12.38 kB / 487.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.1289, allocations: 16.12 kB / 487.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.1292, allocations: 140.6 kB / 487.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1292, allocations: 4 kB / 487.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.1292, allocations: 4 kB / 487.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1292, allocations: 4 kB / 487.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.1295, allocations: 95.86 kB / 488 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009454/0.1304, allocations: 0.6954 MB / 488.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.1306, allocations: 117.2 kB / 488.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.1308, allocations: 45.83 kB / 488.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.1308, allocations: 0 / 488.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1308, allocations: 38.5 kB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.1308, allocations: 0 / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001502/0.1323, allocations: 0.5486 MB / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.1324, allocations: 77.11 kB / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009921/0.1334, allocations: 0.9102 MB / 490.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.1334, allocations: 25.7 kB / 490.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.1337, allocations: 260.3 kB / 490.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.1337, allocations: 55.19 kB / 490.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.1338, allocations: 33.7 kB / 490.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.134, allocations: 378.7 kB / 491.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.1341, allocations: 63.95 kB / 491.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.1343, allocations: 81.67 kB / 491.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/0.1347, allocations: 157.5 kB / 491.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1347, allocations: 0 / 491.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005015/0.1352, allocations: 249 kB / 491.7 MB, free: 10 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1352, allocations: 4 kB / 491.7 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1353, allocations: 4 kB / 491.7 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1353, allocations: 4 kB / 491.7 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.1355, allocations: 35.97 kB / 491.8 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1355, allocations: 0 / 491.8 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.1357, allocations: 23.88 kB / 491.8 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.1357, allocations: 4 kB / 491.8 MB, free: 9.926 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 (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.0002082/0.1359, allocations: 221.6 kB / 492 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.136, allocations: 51.34 kB / 492 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006051/0.1366, allocations: 291.2 kB / 492.3 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1366, allocations: 4 kB / 492.3 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1366, allocations: 7.922 kB / 492.3 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1367, allocations: 0 / 492.3 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.1378, allocations: 0.8102 MB / 493.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1378, allocations: 0 / 493.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.138, allocations: 39.91 kB / 493.2 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.138, allocations: 4 kB / 493.2 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.138, allocations: 8 kB / 493.2 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.138, allocations: 3.938 kB / 493.2 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.138, allocations: 0 / 493.2 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.1386, allocations: 412.4 kB / 493.6 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.1387, allocations: 144.4 kB / 493.8 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.1388, allocations: 3.984 kB / 493.8 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.139, allocations: 15.94 kB / 493.8 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.139, allocations: 15.97 kB / 493.8 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.1391, allocations: 4 kB / 493.8 MB, free: 7.805 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007016/0.1398, allocations: 0.6669 MB / 494.5 MB, free: 7.145 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1398, allocations: 0 / 494.5 MB, free: 7.145 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003579/0.1401, allocations: 48 kB / 494.5 MB, free: 7.098 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 (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.0009516/0.1411, allocations: 412.7 kB / 494.9 MB, free: 6.824 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004623/0.1416, allocations: 167.8 kB / 495.1 MB, free: 6.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1416, allocations: 0 / 495.1 MB, free: 6.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.1418, allocations: 87.89 kB / 495.2 MB, free: 6.574 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006499/0.1425, allocations: 80.95 kB / 495.2 MB, free: 6.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1439, allocations: 0.9682 MB / 496.2 MB, free: 5.496 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.1444, allocations: 0.8614 MB / 497.1 MB, free: 4.605 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.1445, allocations: 43.42 kB / 497.1 MB, free: 4.562 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1445, allocations: 0 / 497.1 MB, free: 4.562 MB / 366.1 MB Notification: Performance of Templates: time 0.009381/0.1539, allocations: 5.808 MB / 0.4911 GB, free: 14.76 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches