Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006883/0.0006884, allocations: 95.16 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.0007319/0.0007319, allocations: 177 kB / 18.26 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.354/1.354, allocations: 223.3 MB / 242.3 MB, free: 236 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.1912/0.1912, allocations: 44.26 MB / 337.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003994, allocations: 8 kB / 410.3 MB, free: 27.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1299, allocations: 61.92 MB / 472.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.001814/0.1318, allocations: 1.274 MB / 473.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1331, allocations: 0.9921 MB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.1331, allocations: 0 / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.1334, allocations: 23.91 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.1335, allocations: 39.86 kB / 474.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.1338, allocations: 102.1 kB / 474.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.1339, allocations: 47.84 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.98e-05/0.134, allocations: 19.97 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.88e-05/0.134, allocations: 11.94 kB / 474.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1342, allocations: 35.78 kB / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.1342, allocations: 0 / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.954e-05/0.1343, allocations: 47.98 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.09e-05/0.1343, allocations: 15.91 kB / 474.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.1344, allocations: 41.58 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.1345, allocations: 83.77 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1345, allocations: 0 / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1345, allocations: 0 / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1346, allocations: 0 / 475 MB, free: 10.64 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003886/0.1349, allocations: 371.6 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.135, allocations: 8.031 kB / 475.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.135, allocations: 12.88 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.1352, allocations: 192.1 kB / 475.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.1352, allocations: 4.375 kB / 475.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.1352, allocations: 4.375 kB / 475.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1354, allocations: 67.52 kB / 475.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1354, allocations: 4 kB / 475.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.1354, allocations: 0 / 475.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1354, allocations: 4 kB / 475.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.428e-05/0.1355, allocations: 23.98 kB / 475.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.1359, allocations: 292.7 kB / 475.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.1361, allocations: 46.56 kB / 476 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.1362, allocations: 16.95 kB / 476 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.1362, allocations: 3.984 kB / 476 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.1362, allocations: 34.56 kB / 476 MB, free: 9.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1362, allocations: 0 / 476 MB, free: 9.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000541/0.1368, allocations: 161.4 kB / 476.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.1368, allocations: 81.11 kB / 476.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.1369, allocations: 137.8 kB / 476.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.137, allocations: 25.7 kB / 476.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.137, allocations: 92.12 kB / 476.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.137, allocations: 23.66 kB / 476.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.1371, allocations: 13.66 kB / 476.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.1372, allocations: 322.8 kB / 476.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.104e-05/0.1373, allocations: 27.98 kB / 476.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.846e-05/0.1374, allocations: 37.7 kB / 476.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.1375, allocations: 60.81 kB / 477 MB, free: 8.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1375, allocations: 4.031 kB / 477 MB, free: 8.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001906/0.1377, allocations: 85.67 kB / 477.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1377, allocations: 10.5 kB / 477.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.1378, allocations: 0 / 477.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.1378, allocations: 0 / 477.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.1378, allocations: 19.92 kB / 477.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1379, allocations: 4 kB / 477.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.227e-05/0.1379, allocations: 4 kB / 477.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1379, allocations: 7.984 kB / 477.1 MB, free: 8.246 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 7.65e-05/0.138, allocations: 118.3 kB / 477.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.138, allocations: 7.906 kB / 477.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.1383, allocations: 101.6 kB / 477.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1383, allocations: 0 / 477.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1383, allocations: 0 / 477.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1383, allocations: 3.984 kB / 477.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.1387, allocations: 374.3 kB / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1387, allocations: 3.938 kB / 477.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-05/0.1388, allocations: 16.38 kB / 477.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1388, allocations: 3.938 kB / 477.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.1388, allocations: 0 / 477.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1388, allocations: 7.938 kB / 477.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1388, allocations: 3.984 kB / 477.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.139, allocations: 187.5 kB / 477.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.1391, allocations: 93.28 kB / 478 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.1391, allocations: 0 / 478 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.1392, allocations: 7.938 kB / 478 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.1392, allocations: 11.97 kB / 478.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1392, allocations: 4 kB / 478.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.679e-05/0.1393, allocations: 106 kB / 478.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1393, allocations: 0 / 478.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1396, allocations: 27.98 kB / 478.2 MB, free: 7.086 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.0009361/0.1405, allocations: 438.4 kB / 478.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.1407, allocations: 59.91 kB / 478.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1408, allocations: 0 / 478.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.563e-05/0.1408, allocations: 35.98 kB / 478.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.1412, allocations: 11.98 kB / 478.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.1415, allocations: 176.6 kB / 478.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.1417, allocations: 0.6887 MB / 479.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.152e-05/0.1418, allocations: 15.98 kB / 479.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.1418, allocations: 19.42 kB / 479.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1418, allocations: 0 / 479.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of Templates: time 0.003625/0.1455, allocations: 1.31 MB / 480.9 MB, free: 4.461 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches