Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 100.5 kB / 16.98 MB, free: 5.938 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.001354/0.001354, allocations: 185.4 kB / 17.87 MB, free: 5.594 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.422/1.422, allocations: 223.2 MB / 241.8 MB, free: 384 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.2305/0.2305, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003115, allocations: 8.625 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 61.91 MB / 471.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002251/0.1304, allocations: 1.275 MB / 472.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007121/0.1311, allocations: 367.6 kB / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.1312, allocations: 8 kB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005425/0.1318, allocations: 435.2 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.1321, allocations: 235.5 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.1325, allocations: 159 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.1327, allocations: 111.8 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1328, allocations: 15.98 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.916e-05/0.1329, allocations: 95.78 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.1331, allocations: 143.8 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1331, allocations: 4 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.624e-05/0.1332, allocations: 11.94 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.09e-05/0.1333, allocations: 79.73 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.1333, allocations: 69.52 kB / 474.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.1336, allocations: 175.7 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.1336, allocations: 0 / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1336, allocations: 0 / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.1336, allocations: 4 kB / 474.6 MB, free: 10.6 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.0007017/0.1343, allocations: 0.5913 MB / 475.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1343, allocations: 8.031 kB / 475.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.1344, allocations: 51.42 kB / 475.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.1347, allocations: 275.4 kB / 475.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1347, allocations: 7.938 kB / 475.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.1348, allocations: 3.953 kB / 475.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1349, allocations: 49.69 kB / 475.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1349, allocations: 0 / 475.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1349, allocations: 15.88 kB / 475.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.135, allocations: 0 / 475.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.135, allocations: 23.98 kB / 475.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005113/0.1356, allocations: 396.7 kB / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.173e-05/0.1357, allocations: 34.56 kB / 476 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1357, allocations: 0 / 476 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.1357, allocations: 34.5 kB / 476.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.1357, allocations: 0 / 476.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002752/0.136, allocations: 105.3 kB / 476.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.1361, allocations: 51.41 kB / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008243/0.1369, allocations: 0.8691 MB / 477.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1369, allocations: 25.7 kB / 477.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.1371, allocations: 228.1 kB / 477.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.1371, allocations: 7.844 kB / 477.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.1371, allocations: 0 / 477.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1373, allocations: 362.9 kB / 477.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.808e-05/0.1373, allocations: 11.98 kB / 477.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.694e-05/0.1374, allocations: 11.94 kB / 477.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.591e-05/0.1374, allocations: 19.94 kB / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1374, allocations: 4 kB / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001473/0.1376, allocations: 93.28 kB / 477.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1376, allocations: 4 kB / 477.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1376, allocations: 0 / 477.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1377, allocations: 0 / 477.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.853e-05/0.1377, allocations: 11.98 kB / 477.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1377, allocations: 0 / 477.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.1378, allocations: 4 kB / 477.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1378, allocations: 0 / 477.9 MB, free: 7.121 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.138, allocations: 222.3 kB / 478.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.1381, allocations: 39.44 kB / 478.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.1383, allocations: 112.6 kB / 478.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1383, allocations: 0 / 478.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.1383, allocations: 8 kB / 478.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1383, allocations: 0 / 478.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.1386, allocations: 285.6 kB / 478.5 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.1386, allocations: 7.938 kB / 478.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.1387, allocations: 11.94 kB / 478.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1387, allocations: 0 / 478.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1387, allocations: 3.938 kB / 478.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1387, allocations: 0 / 478.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1387, allocations: 0 / 478.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.1389, allocations: 202.9 kB / 478.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.922e-05/0.139, allocations: 108.6 kB / 478.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.139, allocations: 0 / 478.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.1391, allocations: 7.984 kB / 478.8 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.1392, allocations: 0 / 478.8 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.1392, allocations: 4 kB / 478.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006326/0.1398, allocations: 0.655 MB / 479.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1398, allocations: 0 / 479.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000238/0.1401, allocations: 20.03 kB / 479.5 MB, free: 5.352 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008429/0.1409, allocations: 341.7 kB / 479.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.1411, allocations: 31.98 kB / 479.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1411, allocations: 0 / 479.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.015e-05/0.1411, allocations: 19.92 kB / 479.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.1415, allocations: 18.31 kB / 479.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.1426, allocations: 0.8142 MB / 480.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.143, allocations: 0.834 MB / 481.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.825e-05/0.1431, allocations: 16.16 kB / 481.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.1431, allocations: 11.44 kB / 481.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1431, allocations: 0 / 481.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of Templates: time 0.004569/0.1477, allocations: 1.199 MB / 482.8 MB, free: 2.152 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches