Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 95.62 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.001584/0.001584, allocations: 186.6 kB / 17.88 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.549/1.549, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2236/0.2236, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003438, allocations: 8 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1454, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002027/0.1475, allocations: 1.255 MB / 472.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006234/0.1482, allocations: 363.6 kB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.1482, allocations: 0 / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.1484, allocations: 19.86 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.1486, allocations: 23.92 kB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.1489, allocations: 99.25 kB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.149, allocations: 39.88 kB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.372e-05/0.1491, allocations: 16 kB / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.201e-05/0.1492, allocations: 15.92 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.602e-05/0.1492, allocations: 11.94 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.1493, allocations: 0 / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.954e-05/0.1493, allocations: 27.92 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.1494, allocations: 3.984 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.1494, allocations: 41.58 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.1495, allocations: 51.91 kB / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1495, allocations: 4 kB / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1496, allocations: 0 / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1496, allocations: 0 / 473.4 MB, free: 11.76 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.0004301/0.15, allocations: 363.4 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.1501, allocations: 16.5 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.1501, allocations: 3.906 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.1503, allocations: 183 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1503, allocations: 4 kB / 474 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.1503, allocations: 7.953 kB / 474 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1505, allocations: 49.62 kB / 474 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1505, allocations: 0 / 474 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1505, allocations: 0 / 474 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1505, allocations: 4 kB / 474 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.29e-05/0.1506, allocations: 27.97 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.151, allocations: 288.8 kB / 474.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.1512, allocations: 50.5 kB / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1512, allocations: 0 / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.1513, allocations: 34.5 kB / 474.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.1513, allocations: 4 kB / 474.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005697/0.1518, allocations: 169.4 kB / 474.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.1519, allocations: 55.41 kB / 474.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.152, allocations: 141.3 kB / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.1521, allocations: 25.7 kB / 474.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.1521, allocations: 100 kB / 474.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.1522, allocations: 11.81 kB / 474.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.1522, allocations: 4 kB / 474.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1523, allocations: 318.8 kB / 475.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.517e-05/0.1524, allocations: 27.98 kB / 475.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.868e-05/0.1525, allocations: 28.05 kB / 475.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.379e-05/0.1526, allocations: 27.98 kB / 475.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1526, allocations: 0 / 475.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001917/0.1528, allocations: 101.5 kB / 475.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1528, allocations: 8 kB / 475.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1528, allocations: 0 / 475.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1528, allocations: 0 / 475.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.1529, allocations: 15.98 kB / 475.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1529, allocations: 0 / 475.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/0.153, allocations: 8 kB / 475.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.153, allocations: 4 kB / 475.4 MB, free: 9.504 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.1531, allocations: 125.7 kB / 475.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.1531, allocations: 7.906 kB / 475.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.1534, allocations: 105.9 kB / 475.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1534, allocations: 0 / 475.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1534, allocations: 0 / 475.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1534, allocations: 0 / 475.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.1538, allocations: 358.5 kB / 476 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1539, allocations: 3.938 kB / 476 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/0.1539, allocations: 19.98 kB / 476.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1539, allocations: 0 / 476.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1539, allocations: 3.938 kB / 476.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1539, allocations: 4 kB / 476.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.154, allocations: 320 / 476.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.1542, allocations: 199.3 kB / 476.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.1543, allocations: 89.02 kB / 476.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.1543, allocations: 0 / 476.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.1544, allocations: 7.984 kB / 476.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.1544, allocations: 4 kB / 476.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1544, allocations: 0 / 476.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.362e-05/0.1545, allocations: 111.2 kB / 476.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1545, allocations: 4 kB / 476.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1548, allocations: 16 kB / 476.5 MB, free: 8.359 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 (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.0009273/0.1557, allocations: 399.7 kB / 476.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.1559, allocations: 67.91 kB / 476.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1559, allocations: 4 kB / 476.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.636e-05/0.156, allocations: 31.97 kB / 477 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.1563, allocations: 11.95 kB / 477 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.1568, allocations: 192.5 kB / 477.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.1572, allocations: 0.6926 MB / 477.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.01e-05/0.1572, allocations: 15.97 kB / 477.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.1573, allocations: 15.42 kB / 477.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1573, allocations: 0 / 477.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of Templates: time 0.003745/0.161, allocations: 1.012 MB / 478.9 MB, free: 6.035 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches