Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001068/0.001068, allocations: 194 kB / 18.12 MB, free: 5.363 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.41/1.41, allocations: 222.9 MB / 241.8 MB, free: 13.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2232/0.2232, allocations: 44.17 MB / 336.1 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001217, allocations: 59.72 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1284, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003692/0.1321, allocations: 1.663 MB / 470.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1332, allocations: 447.2 kB / 470.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.1333, allocations: 0 / 470.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006293/0.1339, allocations: 455.1 kB / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.1343, allocations: 243.6 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.1347, allocations: 161.8 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.135, allocations: 159.7 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.1351, allocations: 24.16 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.1353, allocations: 99.8 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.1355, allocations: 203.6 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.1356, allocations: 0 / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.916e-05/0.1357, allocations: 31.98 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1358, allocations: 91.61 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1359, allocations: 99 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.1362, allocations: 251.3 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1362, allocations: 0 / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1362, allocations: 0 / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1362, allocations: 0 / 472.4 MB, free: 10.94 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.0007101/0.137, allocations: 0.6259 MB / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.137, allocations: 8.031 kB / 473 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.1371, allocations: 44.38 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.1374, allocations: 300.1 kB / 473.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1374, allocations: 4.375 kB / 473.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.1374, allocations: 384 / 473.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1376, allocations: 61.61 kB / 473.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1376, allocations: 0 / 473.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1376, allocations: 3.938 kB / 473.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1376, allocations: 0 / 473.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1377, allocations: 35.95 kB / 473.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.1382, allocations: 392.7 kB / 473.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.1385, allocations: 46.55 kB / 473.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.1385, allocations: 16.86 kB / 473.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.1386, allocations: 0 / 473.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.1386, allocations: 38.64 kB / 474 MB, free: 9.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1386, allocations: 0 / 474 MB, free: 9.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006509/0.1393, allocations: 231.9 kB / 474.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.1393, allocations: 51.41 kB / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008447/0.1402, allocations: 0.8651 MB / 475.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.1402, allocations: 25.7 kB / 475.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.1404, allocations: 224.1 kB / 475.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.1405, allocations: 15.8 kB / 475.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.1405, allocations: 17.72 kB / 475.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1407, allocations: 362.7 kB / 475.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.1408, allocations: 23.97 kB / 475.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.996e-05/0.1408, allocations: 27.98 kB / 475.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.141, allocations: 56.77 kB / 475.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.141, allocations: 0 / 475.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000218/0.1412, allocations: 117.1 kB / 476 MB, free: 7.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1413, allocations: 8 kB / 476 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1413, allocations: 4.234 kB / 476 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1413, allocations: 0 / 476 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.813e-05/0.1414, allocations: 15.94 kB / 476 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.1414, allocations: 4 kB / 476 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.555e-05/0.1414, allocations: 11.92 kB / 476 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1415, allocations: 7.984 kB / 476 MB, free: 7.109 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 (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.0001843/0.1417, allocations: 210.3 kB / 476.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.1417, allocations: 43.52 kB / 476.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.142, allocations: 133.1 kB / 476.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.142, allocations: 0 / 476.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.142, allocations: 3.984 kB / 476.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.142, allocations: 7.938 kB / 476.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005336/0.1426, allocations: 474.3 kB / 476.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1426, allocations: 0 / 476.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.1427, allocations: 15.98 kB / 476.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1427, allocations: 0 / 476.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.1427, allocations: 3.938 kB / 476.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1427, allocations: 0 / 476.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1427, allocations: 0 / 476.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.143, allocations: 223.3 kB / 477.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.455e-05/0.143, allocations: 108.5 kB / 477.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.1431, allocations: 3.938 kB / 477.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.429e-05/0.1432, allocations: 11.97 kB / 477.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.1432, allocations: 8 kB / 477.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1432, allocations: 192 / 477.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006037/0.1438, allocations: 0.6511 MB / 477.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1438, allocations: 0 / 477.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1441, allocations: 23.98 kB / 477.9 MB, free: 5.105 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 (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 Backend phase and start with SimCode phase: time 0.0009363/0.1451, allocations: 404.1 kB / 478.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.1453, allocations: 47.91 kB / 478.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1453, allocations: 3.938 kB / 478.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.028e-05/0.1454, allocations: 31.98 kB / 478.4 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.1458, allocations: 25.95 kB / 478.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.147, allocations: 0.8672 MB / 479.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.1474, allocations: 0.8297 MB / 480.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.537e-05/0.1475, allocations: 15.98 kB / 480.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.1475, allocations: 15.44 kB / 480.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1475, allocations: 0 / 480.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of Templates: time 0.004879/0.1524, allocations: 1.423 MB / 481.5 MB, free: 1.555 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches