Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001696, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001763, allocations: 204.3 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.881/1.881, allocations: 205.1 MB / 222.6 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3752/0.3752, allocations: 43.49 MB / 313.5 MB, free: 8.355 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.91 kB / 382 MB, free: 8.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1468, allocations: 57.78 MB / 439.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.004516/0.1514, allocations: 1.668 MB / 441.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.1533, allocations: 0.9376 MB / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.022e-05/0.1534, allocations: 0 / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.1537, allocations: 27.84 kB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.1538, allocations: 31.91 kB / 442.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.1542, allocations: 143.8 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.1544, allocations: 71.77 kB / 442.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.603e-05/0.1545, allocations: 24.23 kB / 442.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.727e-05/0.1545, allocations: 19.94 kB / 442.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1546, allocations: 31.83 kB / 442.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1547, allocations: 4 kB / 442.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1548, allocations: 51.98 kB / 442.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.1549, allocations: 15.92 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.1549, allocations: 27.78 kB / 442.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.1551, allocations: 95.66 kB / 443 MB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1551, allocations: 4 kB / 443 MB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1551, allocations: 0 / 443 MB, free: 11.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.1551, allocations: 0 / 443 MB, free: 11.77 MB / 382.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.0005088/0.1557, allocations: 391.2 kB / 443.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1557, allocations: 8.031 kB / 443.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.1558, allocations: 12.84 kB / 443.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.156, allocations: 188.2 kB / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.156, allocations: 8.359 kB / 443.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.156, allocations: 384 / 443.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.1562, allocations: 87.44 kB / 443.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1563, allocations: 0 / 443.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1563, allocations: 0 / 443.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1563, allocations: 4 kB / 443.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.1564, allocations: 35.97 kB / 443.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.1569, allocations: 304.7 kB / 444 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.1571, allocations: 54.42 kB / 444 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.1571, allocations: 28.94 kB / 444.1 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1572, allocations: 0 / 444.1 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1572, allocations: 34.56 kB / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.1572, allocations: 0 / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007981/0.158, allocations: 221.3 kB / 444.3 MB, free: 10.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.1581, allocations: 85.11 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.1582, allocations: 129.1 kB / 444.5 MB, free: 10.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.1582, allocations: 29.7 kB / 444.5 MB, free: 9.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.1583, allocations: 96.03 kB / 444.6 MB, free: 9.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.1583, allocations: 23.66 kB / 444.7 MB, free: 9.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.1584, allocations: 17.72 kB / 444.7 MB, free: 9.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1585, allocations: 330.8 kB / 445 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.1586, allocations: 35.97 kB / 445 MB, free: 9.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.1588, allocations: 53.67 kB / 445.1 MB, free: 9.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.159, allocations: 92.77 kB / 445.2 MB, free: 9.309 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.159, allocations: 0 / 445.2 MB, free: 9.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002881/0.1593, allocations: 125.5 kB / 445.3 MB, free: 9.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1593, allocations: 8 kB / 445.3 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1593, allocations: 0 / 445.3 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1593, allocations: 3.984 kB / 445.3 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.1595, allocations: 19.98 kB / 445.3 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1595, allocations: 4 kB / 445.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.852e-05/0.1595, allocations: 11.92 kB / 445.4 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.1596, allocations: 4 kB / 445.4 MB, free: 9.129 MB / 382.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 (7): * Single equations (assignments): 7 * 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 9.078e-05/0.1597, allocations: 125.7 kB / 445.5 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.1597, allocations: 7.906 kB / 445.5 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.1601, allocations: 138 kB / 445.6 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1601, allocations: 0 / 445.6 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1601, allocations: 0 / 445.6 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1602, allocations: 3.938 kB / 445.6 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005806/0.1607, allocations: 406.4 kB / 446 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.1608, allocations: 0 / 446 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.194e-05/0.1608, allocations: 23.92 kB / 446 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1609, allocations: 4 kB / 446 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1609, allocations: 16.14 kB / 446.1 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1609, allocations: 0 / 446.1 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1609, allocations: 480 / 446.1 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.1612, allocations: 223.3 kB / 446.3 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.1613, allocations: 93 kB / 446.4 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.1613, allocations: 3.938 kB / 446.4 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/0.1614, allocations: 7.984 kB / 446.4 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.1614, allocations: 4 kB / 446.4 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1615, allocations: 8 kB / 446.4 MB, free: 7.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.481e-05/0.1615, allocations: 103.2 kB / 446.5 MB, free: 7.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1615, allocations: 0 / 446.5 MB, free: 7.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.1618, allocations: 24 kB / 446.5 MB, free: 7.859 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0009902/0.1628, allocations: 443.8 kB / 447 MB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.1631, allocations: 95.8 kB / 447 MB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1631, allocations: 0 / 447 MB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.1634, allocations: 47.97 kB / 447.1 MB, free: 7.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.1637, allocations: 15.98 kB / 447.1 MB, free: 7.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.1643, allocations: 220.2 kB / 447.3 MB, free: 7.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006291/0.1649, allocations: 0.7005 MB / 448 MB, free: 6.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.093e-05/0.165, allocations: 24.28 kB / 448 MB, free: 6.301 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.1651, allocations: 15.38 kB / 448.1 MB, free: 6.285 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1651, allocations: 0 / 448.1 MB, free: 6.285 MB / 382.1 MB Notification: Performance of Templates: time 0.004022/0.1691, allocations: 1.455 MB / 449.5 MB, free: 4.828 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches