Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009729/0.0009784, allocations: 97.67 kB / 16.99 MB, free: 6.402 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.000923/0.000923, allocations: 178.7 kB / 17.88 MB, free: 5.957 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: 223.2 MB / 241.8 MB, free: 14.63 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.2533/0.2533, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 15.94 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1531, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002137/0.1553, allocations: 1.275 MB / 472.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006703/0.156, allocations: 363.6 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.152e-05/0.156, allocations: 0 / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.1564, allocations: 95.73 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.1565, allocations: 51.86 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.1568, allocations: 75.78 kB / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.157, allocations: 51.88 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1571, allocations: 16.17 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.26e-05/0.1571, allocations: 31.89 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.452e-05/0.1572, allocations: 39.89 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.1573, allocations: 3.938 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.834e-05/0.1573, allocations: 35.86 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.761e-05/0.1574, allocations: 19.92 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.1574, allocations: 33.7 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.1576, allocations: 75.88 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1576, allocations: 0 / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1576, allocations: 3.938 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1576, allocations: 4 kB / 473.6 MB, free: 11.55 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.000519/0.1581, allocations: 391.3 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.1582, allocations: 12.56 kB / 474 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.1582, allocations: 11.81 kB / 474 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.1584, allocations: 191.6 kB / 474.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1585, allocations: 0 / 474.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.1585, allocations: 7.938 kB / 474.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1586, allocations: 61.62 kB / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1587, allocations: 3.984 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1587, allocations: 4 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1587, allocations: 3.938 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.187e-05/0.1588, allocations: 23.98 kB / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.1592, allocations: 296.7 kB / 474.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.1593, allocations: 54.5 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.1593, allocations: 0 / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.1593, allocations: 34.56 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.1594, allocations: 0 / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009008/0.1603, allocations: 245.2 kB / 474.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.1603, allocations: 55.41 kB / 475 MB, free: 10 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.1605, allocations: 231.2 kB / 475.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1606, allocations: 25.7 kB / 475.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.303e-05/0.1607, allocations: 116 kB / 475.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.1607, allocations: 27.77 kB / 475.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.1607, allocations: 4 kB / 475.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1608, allocations: 326.8 kB / 475.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.511e-05/0.1609, allocations: 27.98 kB / 475.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.359e-05/0.161, allocations: 24.06 kB / 475.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.177e-05/0.1611, allocations: 40.12 kB / 475.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1611, allocations: 0 / 475.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001983/0.1613, allocations: 109.4 kB / 475.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.1613, allocations: 8 kB / 475.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1613, allocations: 0 / 475.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1614, allocations: 0 / 475.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.1615, allocations: 23.98 kB / 475.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1615, allocations: 0 / 475.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.264e-05/0.1615, allocations: 7.984 kB / 475.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.1616, allocations: 7.938 kB / 475.9 MB, free: 9.008 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.00011/0.1617, allocations: 137.7 kB / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.1617, allocations: 11.84 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.162, allocations: 130.9 kB / 476.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.162, allocations: 432 / 476.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.162, allocations: 7.984 kB / 476.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.162, allocations: 0 / 476.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005237/0.1626, allocations: 407.3 kB / 476.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1626, allocations: 3.984 kB / 476.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.265e-05/0.1626, allocations: 16 kB / 476.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.1627, allocations: 7.984 kB / 476.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1627, allocations: 0 / 476.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1627, allocations: 3.984 kB / 476.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.1627, allocations: 7.969 kB / 476.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.163, allocations: 222 kB / 476.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.1631, allocations: 96.91 kB / 477 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.1631, allocations: 0 / 477 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/0.1632, allocations: 8 kB / 477 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.1632, allocations: 15.94 kB / 477 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.1632, allocations: 0 / 477 MB, free: 7.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.1634, allocations: 167.2 kB / 477.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1634, allocations: 0 / 477.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1636, allocations: 20 kB / 477.2 MB, free: 7.656 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.001054/0.1647, allocations: 470.1 kB / 477.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.1649, allocations: 71.95 kB / 477.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1649, allocations: 0 / 477.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.449e-05/0.165, allocations: 43.91 kB / 477.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.1653, allocations: 11.94 kB / 477.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.1658, allocations: 278.2 kB / 478 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.1661, allocations: 0.716 MB / 478.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.04e-05/0.1661, allocations: 12.67 kB / 478.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.1662, allocations: 11.44 kB / 478.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1662, allocations: 0 / 478.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of Templates: time 0.003695/0.1699, allocations: 1.24 MB / 480 MB, free: 4.949 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches