Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008035/0.0008037, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.0007916/0.0007918, allocations: 176.1 kB / 18.25 MB, free: 5.523 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.386/1.386, allocations: 223.3 MB / 242.3 MB, free: 188 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.1884/0.1884, allocations: 44.25 MB / 337.7 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003651, allocations: 12 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1416, allocations: 61.91 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002135/0.1438, allocations: 1.356 MB / 473.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008383/0.1446, allocations: 435.2 kB / 474 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-05/0.1447, allocations: 0 / 474 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.145, allocations: 75.77 kB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.1451, allocations: 47.89 kB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.1455, allocations: 173.7 kB / 474.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.1457, allocations: 79.75 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1458, allocations: 20 kB / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.407e-05/0.1459, allocations: 31.89 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.146, allocations: 51.77 kB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.146, allocations: 0 / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1461, allocations: 51.91 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.073e-05/0.1462, allocations: 23.92 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.548e-05/0.1463, allocations: 53.45 kB / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.1465, allocations: 108 kB / 474.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1465, allocations: 0 / 474.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1465, allocations: 0 / 474.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1465, allocations: 4 kB / 474.7 MB, free: 10.82 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005254/0.1471, allocations: 403.1 kB / 475.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1471, allocations: 12.03 kB / 475.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.1471, allocations: 12.75 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.1474, allocations: 208 kB / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.1474, allocations: 384 / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.1474, allocations: 8.359 kB / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.1476, allocations: 77.78 kB / 475.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1476, allocations: 4 kB / 475.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1476, allocations: 3.938 kB / 475.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1476, allocations: 0 / 475.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.1478, allocations: 55.91 kB / 475.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.1483, allocations: 320.7 kB / 475.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.1485, allocations: 70.58 kB / 475.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.313e-05/0.1486, allocations: 28.97 kB / 475.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1487, allocations: 4 kB / 475.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.1487, allocations: 34.56 kB / 476 MB, free: 9.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.1487, allocations: 0 / 476 MB, free: 9.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001563/0.1503, allocations: 497.1 kB / 476.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.1503, allocations: 59.33 kB / 476.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.1505, allocations: 207.3 kB / 476.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1505, allocations: 29.7 kB / 476.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.633e-05/0.1506, allocations: 104.1 kB / 476.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.1507, allocations: 31.47 kB / 476.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.1507, allocations: 21.7 kB / 476.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1508, allocations: 326.8 kB / 477.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.151, allocations: 63.91 kB / 477.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.1511, allocations: 63.89 kB / 477.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.1514, allocations: 140.8 kB / 477.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1514, allocations: 0 / 477.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003408/0.1518, allocations: 181.7 kB / 477.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1518, allocations: 4 kB / 477.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1518, allocations: 0 / 477.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1518, allocations: 4 kB / 477.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.152, allocations: 35.86 kB / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.152, allocations: 7.938 kB / 477.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.76e-05/0.1521, allocations: 15.98 kB / 477.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1521, allocations: 7.938 kB / 477.7 MB, free: 7.605 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 (11): * Single equations (assignments): 11 * 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.0001104/0.1522, allocations: 134.4 kB / 477.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.1522, allocations: 11.81 kB / 477.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004313/0.1527, allocations: 207.3 kB / 478.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1527, allocations: 3.938 kB / 478.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1527, allocations: 0 / 478.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1527, allocations: 7.984 kB / 478.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007443/0.1535, allocations: 0.5156 MB / 478.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1535, allocations: 3.938 kB / 478.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.909e-05/0.1536, allocations: 27.98 kB / 478.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1536, allocations: 0 / 478.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1536, allocations: 8 kB / 478.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1536, allocations: 0 / 478.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1536, allocations: 3.938 kB / 478.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.154, allocations: 297 kB / 478.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/0.1541, allocations: 88.92 kB / 479 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.1541, allocations: 0 / 479 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1543, allocations: 19.98 kB / 479 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.1543, allocations: 7.984 kB / 479 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1543, allocations: 8 kB / 479 MB, free: 6.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.1545, allocations: 155.9 kB / 479.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1545, allocations: 0 / 479.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1547, allocations: 27.98 kB / 479.2 MB, free: 5.984 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00111/0.1559, allocations: 470 kB / 479.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003751/0.1563, allocations: 143.9 kB / 479.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1563, allocations: 0 / 479.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.1564, allocations: 75.89 kB / 479.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.1568, allocations: 31.92 kB / 479.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006191/0.1574, allocations: 351.3 kB / 480.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.1577, allocations: 0.7238 MB / 481 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.377e-05/0.1578, allocations: 32.38 kB / 481 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.1579, allocations: 15.44 kB / 481 MB, free: 4.289 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1579, allocations: 0 / 481 MB, free: 4.289 MB / 350.1 MB Notification: Performance of Templates: time 0.004202/0.1621, allocations: 1.503 MB / 482.5 MB, free: 2.797 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches