Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007963/0.0007962, allocations: 87.02 kB / 17.35 MB, free: 6.324 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.0008098/0.0008098, allocations: 173 kB / 18.26 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.232/0.232, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.000355, allocations: 12 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1326, allocations: 61.92 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.00205/0.1347, allocations: 1.332 MB / 473.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008453/0.1355, allocations: 447.2 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.1356, allocations: 0 / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000562/0.1362, allocations: 451.2 kB / 474.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.1365, allocations: 239.5 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.1369, allocations: 173.7 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.1371, allocations: 163.6 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1372, allocations: 23.97 kB / 475.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1373, allocations: 99.8 kB / 475.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.1376, allocations: 203.6 kB / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.1376, allocations: 0 / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.98e-05/0.1377, allocations: 27.98 kB / 475.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1378, allocations: 91.67 kB / 475.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.125e-05/0.1379, allocations: 116.7 kB / 475.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.1381, allocations: 255.2 kB / 475.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1382, allocations: 0 / 475.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1382, allocations: 0 / 475.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1382, allocations: 0 / 475.8 MB, free: 9.766 MB / 350.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.0006901/0.1389, allocations: 0.5989 MB / 476.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1389, allocations: 8.031 kB / 476.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.139, allocations: 48.38 kB / 476.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.1393, allocations: 296.1 kB / 476.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1393, allocations: 4.375 kB / 476.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1393, allocations: 384 / 476.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.1395, allocations: 69.78 kB / 476.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1395, allocations: 0 / 476.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.1395, allocations: 0 / 476.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1395, allocations: 4 kB / 476.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.1397, allocations: 55.89 kB / 476.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005113/0.1402, allocations: 400.7 kB / 477.3 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.1403, allocations: 50.56 kB / 477.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.635e-05/0.1404, allocations: 32.92 kB / 477.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.1405, allocations: 3.938 kB / 477.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.1405, allocations: 34.56 kB / 477.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1405, allocations: 0 / 477.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008556/0.1414, allocations: 339.8 kB / 477.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.1414, allocations: 55.41 kB / 477.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.1422, allocations: 0.8496 MB / 478.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.1422, allocations: 33.7 kB / 478.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.1424, allocations: 212 kB / 478.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.1424, allocations: 27.72 kB / 478.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.1424, allocations: 13.72 kB / 478.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1426, allocations: 366.7 kB / 479.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.1427, allocations: 43.97 kB / 479.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1429, allocations: 43.97 kB / 479.4 MB, free: 6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.1431, allocations: 108.8 kB / 479.5 MB, free: 5.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1431, allocations: 0 / 479.5 MB, free: 5.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000327/0.1435, allocations: 177 kB / 479.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1435, allocations: 6.344 kB / 479.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1435, allocations: 0 / 479.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1435, allocations: 0 / 479.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1436, allocations: 27.98 kB / 479.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1437, allocations: 320 / 479.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.763e-05/0.1437, allocations: 19.92 kB / 479.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.1438, allocations: 4 kB / 479.7 MB, free: 5.656 MB / 350.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.0001796/0.1439, allocations: 214.3 kB / 479.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/0.144, allocations: 39.53 kB / 480 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003954/0.1444, allocations: 205.3 kB / 480.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1444, allocations: 0 / 480.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1444, allocations: 4 kB / 480.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.1444, allocations: 7.875 kB / 480.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.1451, allocations: 0.5221 MB / 480.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1451, allocations: 0 / 480.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.724e-05/0.1452, allocations: 27.92 kB / 480.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1452, allocations: 0 / 480.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1452, allocations: 7.938 kB / 480.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1452, allocations: 0 / 480.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1452, allocations: 7.984 kB / 480.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.1456, allocations: 271 kB / 481 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.297e-05/0.1457, allocations: 108.5 kB / 481.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.1457, allocations: 11.94 kB / 481.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1458, allocations: 15.98 kB / 481.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.1459, allocations: 7.984 kB / 481.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1459, allocations: 0 / 481.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000576/0.1465, allocations: 0.6472 MB / 481.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.733e-06/0.1465, allocations: 0 / 481.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.1468, allocations: 23.94 kB / 481.8 MB, free: 3.445 MB / 350.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.0008841/0.1476, allocations: 403.1 kB / 482.2 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.148, allocations: 107.9 kB / 482.3 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.148, allocations: 0 / 482.3 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.1481, allocations: 59.89 kB / 482.4 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.1485, allocations: 24.45 kB / 482.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.1496, allocations: 0.9 MB / 483.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.15, allocations: 0.8302 MB / 484.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.542e-05/0.1501, allocations: 24.22 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.1501, allocations: 19.44 kB / 484.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1501, allocations: 0 / 484.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of Templates: time 0.004852/0.155, allocations: 1.43 MB / 485.6 MB, free: 15.75 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches