Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 112.9 kB / 17.09 MB, free: 5.984 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.001525/0.001525, allocations: 196.3 kB / 18.02 MB, free: 5.066 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.687/1.687, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2122/0.2122, allocations: 43.53 MB / 314.8 MB, free: 444 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.001588/0.001588, allocations: 77.61 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1255, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003245/0.1288, allocations: 1.602 MB / 0.4901 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006915/0.1295, allocations: 356.9 kB / 0.4905 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.989e-05/0.1296, allocations: 0 / 0.4905 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006366/0.1303, allocations: 455.1 kB / 0.4909 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.1307, allocations: 251.5 kB / 0.4911 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.1311, allocations: 151.7 kB / 0.4913 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.1314, allocations: 159.7 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1315, allocations: 32.14 kB / 0.4915 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.1317, allocations: 99.8 kB / 0.4916 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.1319, allocations: 211.6 kB / 0.4918 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.1319, allocations: 8 kB / 0.4918 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.132, allocations: 39.97 kB / 0.4918 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.1322, allocations: 83.69 kB / 0.4919 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.092e-05/0.1323, allocations: 95 kB / 0.492 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.1326, allocations: 259 kB / 0.4922 GB, free: 8.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1326, allocations: 0 / 0.4922 GB, free: 8.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1326, allocations: 0 / 0.4922 GB, free: 8.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1326, allocations: 0 / 0.4922 GB, free: 8.008 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.000772/0.1334, allocations: 0.6336 MB / 0.4928 GB, free: 7.324 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.1335, allocations: 15.89 kB / 0.4929 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.407e-05/0.1335, allocations: 44.38 kB / 0.4929 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.1338, allocations: 296.2 kB / 0.4932 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1339, allocations: 384 / 0.4932 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1339, allocations: 4.375 kB / 0.4932 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.1341, allocations: 57.61 kB / 0.4932 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1341, allocations: 7.938 kB / 0.4932 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1341, allocations: 0 / 0.4932 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.1341, allocations: 0 / 0.4932 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.1342, allocations: 31.98 kB / 0.4933 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.1348, allocations: 400.5 kB / 0.4937 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.135, allocations: 46.48 kB / 0.4937 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/0.1351, allocations: 20.94 kB / 0.4937 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.1351, allocations: 0 / 0.4937 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.963e-05/0.1352, allocations: 38.56 kB / 0.4938 GB, free: 6.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1352, allocations: 0 / 0.4938 GB, free: 6.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006536/0.1359, allocations: 228 kB / 0.494 GB, free: 6.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.1359, allocations: 51.41 kB / 0.494 GB, free: 5.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008361/0.1368, allocations: 0.8574 MB / 0.4949 GB, free: 5.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1368, allocations: 29.69 kB / 0.4949 GB, free: 5.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.137, allocations: 224.1 kB / 0.4951 GB, free: 4.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.137, allocations: 19.66 kB / 0.4951 GB, free: 4.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.137, allocations: 17.72 kB / 0.4951 GB, free: 4.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1372, allocations: 362.7 kB / 0.4955 GB, free: 4.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.439e-05/0.1373, allocations: 19.98 kB / 0.4955 GB, free: 4.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.517e-05/0.1373, allocations: 23.98 kB / 0.4955 GB, free: 4.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.1375, allocations: 61.02 kB / 0.4956 GB, free: 4.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1375, allocations: 0 / 0.4956 GB, free: 4.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002147/0.1377, allocations: 117.1 kB / 0.4957 GB, free: 4.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1378, allocations: 4 kB / 0.4957 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1378, allocations: 3.984 kB / 0.4957 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1378, allocations: 4 kB / 0.4957 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.601e-05/0.1379, allocations: 15.98 kB / 0.4957 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1379, allocations: 0 / 0.4957 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.53e-05/0.1379, allocations: 11.94 kB / 0.4957 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1379, allocations: 0 / 0.4957 GB, free: 4.168 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 (5): * Single equations (assignments): 5 * 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.0002358/0.1382, allocations: 221.7 kB / 0.496 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.1382, allocations: 43.38 kB / 0.496 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.1385, allocations: 141 kB / 0.4961 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1385, allocations: 0 / 0.4961 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1385, allocations: 4 kB / 0.4961 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-05/0.1387, allocations: 116.5 kB / 0.4962 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.1387, allocations: 0 / 0.4962 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.114e-05/0.1388, allocations: 7.984 kB / 0.4962 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.1389, allocations: 0 / 0.4962 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002495/0.1391, allocations: 173 kB / 0.4964 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003684/0.1395, allocations: 298.4 kB / 0.4967 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.237e-05/0.1396, allocations: 27.98 kB / 0.4967 GB, free: 3.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005629/0.1402, allocations: 0.6472 MB / 0.4974 GB, free: 2.453 MB / 382.1 MB Notification: Performance of Backend: time 4.91e-07/0.1402, allocations: 0 / 0.4974 GB, free: 2.453 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.1416, allocations: 0.5058 MB / 0.4979 GB, free: 1.984 MB / 382.1 MB Notification: Performance of SimCode: time 0.001299/0.1429, allocations: 1.142 MB / 0.499 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of Templates: time 0.005326/0.1483, allocations: 1.631 MB / 0.5006 GB, free: 15.16 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches