Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 108.1 kB / 16.41 MB, free: 6.488 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.001692/0.001692, allocations: 188.1 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.1 MB / 223.2 MB, free: 12.1 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2037/0.2037, allocations: 43.53 MB / 314.1 MB, free: 436 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 66.25 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1259, allocations: 57.8 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.003314/0.1293, allocations: 1.604 MB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007221/0.1301, allocations: 331.5 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.282e-05/0.1302, allocations: 0 / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006014/0.1308, allocations: 451.1 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003674/0.1312, allocations: 255.5 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.1315, allocations: 111.7 kB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.1318, allocations: 159.7 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1319, allocations: 24.16 kB / 0.4907 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.132, allocations: 107.7 kB / 0.4908 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.1323, allocations: 211.6 kB / 0.491 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.1323, allocations: 3.984 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.621e-05/0.1324, allocations: 31.98 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1326, allocations: 83.7 kB / 0.4912 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.149e-05/0.1326, allocations: 103 kB / 0.4913 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.133, allocations: 259 kB / 0.4915 GB, free: 8.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.133, allocations: 0 / 0.4915 GB, free: 8.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.133, allocations: 0 / 0.4915 GB, free: 8.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.133, allocations: 0 / 0.4915 GB, free: 8.051 MB / 382.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.0007461/0.1337, allocations: 0.6336 MB / 0.4921 GB, free: 7.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1338, allocations: 11.89 kB / 0.4921 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.073e-05/0.1339, allocations: 44.36 kB / 0.4922 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.1342, allocations: 296.2 kB / 0.4925 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1342, allocations: 4.375 kB / 0.4925 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.1342, allocations: 4.375 kB / 0.4925 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.1344, allocations: 69.47 kB / 0.4925 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1344, allocations: 4 kB / 0.4925 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1344, allocations: 0 / 0.4925 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1344, allocations: 0 / 0.4925 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.1346, allocations: 31.97 kB / 0.4926 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.1351, allocations: 388.7 kB / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.1352, allocations: 46.48 kB / 0.493 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.512e-05/0.1353, allocations: 24.94 kB / 0.493 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.1353, allocations: 0 / 0.493 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.1353, allocations: 34.56 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1353, allocations: 4 kB / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008022/0.1362, allocations: 287.9 kB / 0.4933 GB, free: 6.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.1362, allocations: 51.41 kB / 0.4934 GB, free: 5.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007649/0.137, allocations: 0.8534 MB / 0.4942 GB, free: 5.086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.137, allocations: 29.7 kB / 0.4942 GB, free: 5.051 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.1372, allocations: 208.1 kB / 0.4944 GB, free: 4.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.1372, allocations: 31.55 kB / 0.4945 GB, free: 4.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.1373, allocations: 17.72 kB / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.1375, allocations: 366.7 kB / 0.4948 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.1376, allocations: 35.98 kB / 0.4949 GB, free: 4.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.548e-05/0.1377, allocations: 35.97 kB / 0.4949 GB, free: 4.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.1379, allocations: 76.73 kB / 0.495 GB, free: 4.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1379, allocations: 0 / 0.495 GB, free: 4.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003029/0.1382, allocations: 137.2 kB / 0.4951 GB, free: 4.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.1383, allocations: 11.11 kB / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1383, allocations: 4 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.1383, allocations: 4 kB / 0.4951 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1384, allocations: 15.98 kB / 0.4951 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1384, allocations: 0 / 0.4951 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.035e-05/0.1385, allocations: 15.92 kB / 0.4951 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1385, allocations: 4 kB / 0.4951 GB, free: 4.082 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0002084/0.1387, allocations: 209.7 kB / 0.4953 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.1388, allocations: 47.38 kB / 0.4954 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003898/0.1392, allocations: 169.4 kB / 0.4956 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1392, allocations: 0 / 0.4956 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1392, allocations: 0 / 0.4956 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.1392, allocations: 7.875 kB / 0.4956 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006921/0.1399, allocations: 498.4 kB / 0.496 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.14, allocations: 0 / 0.496 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.116e-05/0.1401, allocations: 15.98 kB / 0.496 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.1401, allocations: 4 kB / 0.4961 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1401, allocations: 3.938 kB / 0.4961 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1401, allocations: 0 / 0.4961 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1401, allocations: 480 / 0.4961 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.1405, allocations: 250.9 kB / 0.4963 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-05/0.1406, allocations: 104.9 kB / 0.4964 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.1406, allocations: 11.88 kB / 0.4964 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.188e-05/0.1407, allocations: 7.984 kB / 0.4964 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.1408, allocations: 7.984 kB / 0.4964 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.1408, allocations: 4 kB / 0.4964 GB, free: 2.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006944/0.1415, allocations: 0.6472 MB / 0.4971 GB, free: 2.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1415, allocations: 4 kB / 0.4971 GB, free: 2.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000279/0.1418, allocations: 28 kB / 0.4971 GB, free: 1.98 MB / 382.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 (7): * Single equations (assignments): 7 * 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.001017/0.1428, allocations: 404.4 kB / 0.4975 GB, free: 1.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002706/0.1431, allocations: 71.94 kB / 0.4975 GB, free: 1.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.1431, allocations: 4 kB / 0.4975 GB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.1432, allocations: 47.91 kB / 0.4976 GB, free: 1.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.1436, allocations: 28.94 kB / 0.4976 GB, free: 1.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.1447, allocations: 0.7915 MB / 0.4984 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.1452, allocations: 0.8221 MB / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.485e-05/0.1452, allocations: 12 kB / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.1453, allocations: 11.44 kB / 0.4992 GB, free: 15.78 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1453, allocations: 0 / 0.4992 GB, free: 15.78 MB / 398.1 MB Notification: Performance of Templates: time 0.005507/0.1508, allocations: 1.565 MB / 0.5007 GB, free: 14.22 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches