Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001167, allocations: 99.38 kB / 16.99 MB, free: 5.941 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.001235/0.001235, allocations: 176.6 kB / 17.87 MB, free: 5.621 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.446/1.446, allocations: 223.2 MB / 241.8 MB, free: 360 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.2102/0.2102, allocations: 44.23 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 61.93 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002119/0.1366, allocations: 1.325 MB / 472.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007295/0.1374, allocations: 391.5 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.1374, allocations: 0 / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005933/0.138, allocations: 443.1 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.1384, allocations: 239.5 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.1388, allocations: 166.2 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.1391, allocations: 111.8 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.1392, allocations: 19.98 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1393, allocations: 95.73 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.1395, allocations: 155.7 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.1395, allocations: 0 / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-05/0.1396, allocations: 28 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.1398, allocations: 87.66 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.417e-05/0.1398, allocations: 73.45 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.1401, allocations: 192 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1401, allocations: 0 / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1401, allocations: 0 / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.1401, allocations: 4 kB / 474.7 MB, free: 10.43 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.0008019/0.1409, allocations: 0.5911 MB / 475.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.141, allocations: 16.55 kB / 475.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.1411, allocations: 47.38 kB / 475.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.1414, allocations: 279.3 kB / 475.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1414, allocations: 4 kB / 475.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.1415, allocations: 0 / 475.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.1417, allocations: 73.62 kB / 475.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.1417, allocations: 0 / 475.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.1418, allocations: 0 / 475.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1418, allocations: 0 / 475.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.1419, allocations: 43.91 kB / 475.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.1425, allocations: 416.6 kB / 476.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.1426, allocations: 50.53 kB / 476.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.1426, allocations: 3.984 kB / 476.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1427, allocations: 38.56 kB / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1427, allocations: 0 / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001029/0.1437, allocations: 344 kB / 476.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.1438, allocations: 51.41 kB / 476.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000907/0.1447, allocations: 0.8652 MB / 477.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.1447, allocations: 25.7 kB / 477.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.1449, allocations: 231.9 kB / 477.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.145, allocations: 23.66 kB / 477.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-06/0.145, allocations: 8 kB / 477.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.1452, allocations: 362.7 kB / 478.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.1453, allocations: 31.98 kB / 478.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.917e-05/0.1453, allocations: 39.91 kB / 478.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.975e-05/0.1454, allocations: 39.98 kB / 478.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1455, allocations: 0 / 478.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002867/0.1457, allocations: 153.1 kB / 478.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1458, allocations: 8 kB / 478.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1458, allocations: 0 / 478.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1458, allocations: 0 / 478.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1459, allocations: 23.98 kB / 478.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1459, allocations: 320 / 478.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.506e-05/0.146, allocations: 15.92 kB / 478.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.146, allocations: 4 kB / 478.5 MB, free: 6.473 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 (8): * Single equations (assignments): 8 * 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.0002116/0.1462, allocations: 221.7 kB / 478.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.1463, allocations: 43.44 kB / 478.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003551/0.1467, allocations: 177.5 kB / 478.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1467, allocations: 3.984 kB / 478.9 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1467, allocations: 0 / 478.9 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1467, allocations: 0 / 478.9 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006736/0.1474, allocations: 0.5303 MB / 479.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1474, allocations: 0 / 479.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.789e-05/0.1475, allocations: 23.92 kB / 479.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1475, allocations: 4 kB / 479.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1475, allocations: 4.031 kB / 479.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1475, allocations: 3.938 kB / 479.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1475, allocations: 3.953 kB / 479.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.1478, allocations: 269.5 kB / 479.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.654e-05/0.1479, allocations: 108.6 kB / 479.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.1479, allocations: 0 / 479.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.148, allocations: 15.94 kB / 479.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.1481, allocations: 4 kB / 479.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.1481, allocations: 8 kB / 479.9 MB, free: 4.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006353/0.1487, allocations: 0.6588 MB / 480.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1488, allocations: 4 kB / 480.6 MB, free: 4.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.149, allocations: 32 kB / 480.6 MB, free: 4.254 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001042/0.1501, allocations: 459.1 kB / 481 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002986/0.1504, allocations: 79.95 kB / 481.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1504, allocations: 4 kB / 481.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.876e-05/0.1505, allocations: 47.91 kB / 481.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1508, allocations: 18.56 kB / 481.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.152, allocations: 0.8777 MB / 482.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.1525, allocations: 0.8379 MB / 482.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.885e-05/0.1526, allocations: 28.39 kB / 482.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.1526, allocations: 19.42 kB / 482.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of SimCode: time 1.753e-06/0.1526, allocations: 0 / 482.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of Templates: time 0.005289/0.1579, allocations: 1.639 MB / 484.6 MB, free: 396 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches