Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000959/0.0009589, allocations: 98.39 kB / 17.01 MB, free: 6.082 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.0009664/0.0009663, allocations: 182.1 kB / 17.89 MB, free: 5.664 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.491/1.491, allocations: 223.3 MB / 241.9 MB, free: 228 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.2411/0.2411, allocations: 44.25 MB / 337.3 MB, free: 2.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003442, allocations: 8 kB / 409.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1569, allocations: 61.93 MB / 471.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002385/0.1593, allocations: 1.301 MB / 472.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008234/0.1602, allocations: 391.6 kB / 473.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.846e-05/0.1602, allocations: 0 / 473.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.1606, allocations: 91.8 kB / 473.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.1608, allocations: 59.86 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.1611, allocations: 95.81 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.1613, allocations: 79.81 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1614, allocations: 27.92 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.834e-05/0.1615, allocations: 31.89 kB / 473.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1616, allocations: 47.83 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.1616, allocations: 0 / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1617, allocations: 39.98 kB / 473.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.1618, allocations: 31.8 kB / 473.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.1618, allocations: 37.64 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.162, allocations: 88.14 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.162, allocations: 3.984 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.162, allocations: 0 / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.162, allocations: 0 / 473.9 MB, free: 11.41 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005291/0.1625, allocations: 406.8 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1626, allocations: 8.031 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.1626, allocations: 19.81 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.1628, allocations: 198.9 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1629, allocations: 11.92 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.1629, allocations: 4 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.1631, allocations: 85.06 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1631, allocations: 4 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1631, allocations: 4 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1631, allocations: 0 / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.1633, allocations: 51.95 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.1638, allocations: 348.5 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.1639, allocations: 70.56 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.086e-05/0.164, allocations: 24.84 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.164, allocations: 8.141 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1641, allocations: 34.55 kB / 475.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.1641, allocations: 0 / 475.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001089/0.1652, allocations: 353.3 kB / 475.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.1652, allocations: 59.34 kB / 475.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1654, allocations: 239.1 kB / 475.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1655, allocations: 25.7 kB / 475.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.853e-05/0.1656, allocations: 112.1 kB / 475.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.1656, allocations: 47.34 kB / 476 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.1656, allocations: 0 / 476 MB, free: 9.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1657, allocations: 326.8 kB / 476.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.1659, allocations: 47.97 kB / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.693e-05/0.166, allocations: 52.09 kB / 476.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.1661, allocations: 55.98 kB / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1661, allocations: 4 kB / 476.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002762/0.1664, allocations: 157.4 kB / 476.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1664, allocations: 4 kB / 476.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1664, allocations: 0 / 476.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1664, allocations: 0 / 476.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.1666, allocations: 39.97 kB / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1666, allocations: 0 / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.328e-05/0.1666, allocations: 7.953 kB / 476.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1666, allocations: 4 kB / 476.7 MB, free: 8.434 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 (13): * Single equations (assignments): 13 * 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.0001244/0.1668, allocations: 134.4 kB / 476.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.1668, allocations: 19.75 kB / 476.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.1672, allocations: 197.8 kB / 477 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1672, allocations: 4 kB / 477 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1672, allocations: 3.984 kB / 477 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1672, allocations: 3.953 kB / 477 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006446/0.1679, allocations: 499.2 kB / 477.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1679, allocations: 0 / 477.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.228e-05/0.168, allocations: 35.92 kB / 477.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.168, allocations: 7.891 kB / 477.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.168, allocations: 8.016 kB / 477.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.168, allocations: 8 kB / 477.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.168, allocations: 0 / 477.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.1684, allocations: 260.2 kB / 477.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.1684, allocations: 89 kB / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.1685, allocations: 15.83 kB / 477.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.1685, allocations: 8 kB / 477.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.1686, allocations: 7.984 kB / 477.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-06/0.1686, allocations: 8 kB / 477.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.1688, allocations: 171.2 kB / 478.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1688, allocations: 0 / 478.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.1691, allocations: 28 kB / 478.1 MB, free: 6.852 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 (13): * Single equations (assignments): 13 * 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.001157/0.1703, allocations: 454 kB / 478.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003122/0.1706, allocations: 123.8 kB / 478.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1706, allocations: 4 kB / 478.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.1707, allocations: 59.91 kB / 478.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1711, allocations: 23.72 kB / 478.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000627/0.1717, allocations: 354.8 kB / 479.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.1721, allocations: 0.72 MB / 479.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.131e-05/0.1722, allocations: 20.53 kB / 479.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.1723, allocations: 23.44 kB / 479.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1723, allocations: 0 / 479.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of Templates: time 0.004449/0.1767, allocations: 1.466 MB / 481.4 MB, free: 3.758 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches