Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.CombiTable1D.Test4,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0115/0.0115, allocations: 100.3 kB / 15.87 MB, free: 6.309 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.001752/0.001752, allocations: 196.4 kB / 16.79 MB, free: 6.238 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.799/1.799, allocations: 205.1 MB / 222.6 MB, free: 4.734 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.3739/0.3739, allocations: 43.49 MB / 313.5 MB, free: 8.516 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.001442/0.001442, allocations: 74.56 kB / 382 MB, free: 8.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1506, allocations: 57.79 MB / 439.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.003636/0.1543, allocations: 1.629 MB / 441.5 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007558/0.1551, allocations: 331.7 kB / 441.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.641e-05/0.1552, allocations: 3.938 kB / 441.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.1555, allocations: 83.81 kB / 441.9 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.1557, allocations: 63.86 kB / 441.9 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.156, allocations: 95.83 kB / 442 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.1561, allocations: 75.81 kB / 442.1 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1563, allocations: 20.44 kB / 442.1 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.428e-05/0.1563, allocations: 31.91 kB / 442.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1564, allocations: 55.77 kB / 442.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1565, allocations: 8 kB / 442.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.807e-05/0.1566, allocations: 27.97 kB / 442.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.1566, allocations: 23.92 kB / 442.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.291e-05/0.1567, allocations: 39.67 kB / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.1569, allocations: 99.64 kB / 442.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1569, allocations: 3.938 kB / 442.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1569, allocations: 0 / 442.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.1569, allocations: 4 kB / 442.4 MB, free: 12.22 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005037/0.1574, allocations: 411 kB / 442.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.1574, allocations: 12.03 kB / 442.8 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.1575, allocations: 16.75 kB / 442.8 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.1577, allocations: 212.7 kB / 443 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.1577, allocations: 8.375 kB / 443 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.1578, allocations: 384 / 443 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.1579, allocations: 83.31 kB / 443.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.158, allocations: 0 / 443.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.158, allocations: 3.938 kB / 443.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.158, allocations: 4 kB / 443.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.1581, allocations: 39.97 kB / 443.2 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.1586, allocations: 389 kB / 443.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.1589, allocations: 89.16 kB / 443.6 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.658e-05/0.1589, allocations: 29.8 kB / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.159, allocations: 4 kB / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.159, allocations: 42.48 kB / 443.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.159, allocations: 0 / 443.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007156/0.1597, allocations: 236.8 kB / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.1598, allocations: 85.05 kB / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.16, allocations: 234.2 kB / 444.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.16, allocations: 29.69 kB / 444.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.1601, allocations: 104.1 kB / 444.4 MB, free: 10 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.1601, allocations: 31.55 kB / 444.4 MB, free: 9.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.1602, allocations: 33.7 kB / 444.5 MB, free: 9.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1603, allocations: 322.8 kB / 444.8 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.52e-05/0.1604, allocations: 27.98 kB / 444.8 MB, free: 9.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.347e-05/0.1605, allocations: 45.69 kB / 444.8 MB, free: 9.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.1606, allocations: 93.8 kB / 444.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1607, allocations: 4 kB / 444.9 MB, free: 9.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002295/0.1609, allocations: 125.5 kB / 445.1 MB, free: 9.297 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1609, allocations: 4 kB / 445.1 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1609, allocations: 0 / 445.1 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1609, allocations: 4 kB / 445.1 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.161, allocations: 23.92 kB / 445.1 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.922e-06/0.161, allocations: 3.938 kB / 445.1 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.1611, allocations: 7.984 kB / 445.1 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1611, allocations: 12 kB / 445.1 MB, free: 9.242 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.846e-05/0.1612, allocations: 133.8 kB / 445.2 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.1613, allocations: 15.81 kB / 445.3 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.1616, allocations: 146.5 kB / 445.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1616, allocations: 4 kB / 445.4 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1616, allocations: 4.5 kB / 445.4 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1616, allocations: 0 / 445.4 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005995/0.1622, allocations: 0.5063 MB / 445.9 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1622, allocations: 4 kB / 445.9 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.419e-05/0.1623, allocations: 24.28 kB / 445.9 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1623, allocations: 3.984 kB / 445.9 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1623, allocations: 4 kB / 446 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1624, allocations: 8.031 kB / 446 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1624, allocations: 0 / 446 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.1626, allocations: 303.4 kB / 446.3 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.1627, allocations: 88.95 kB / 446.3 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1627, allocations: 3.984 kB / 446.3 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-05/0.1628, allocations: 8 kB / 446.4 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.1629, allocations: 15.92 kB / 446.4 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.1629, allocations: 4 kB / 446.4 MB, free: 7.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.163, allocations: 168.2 kB / 446.5 MB, free: 7.691 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.163, allocations: 4 kB / 446.5 MB, free: 7.688 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.1633, allocations: 23.98 kB / 446.6 MB, free: 7.664 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0008783/0.1642, allocations: 402.7 kB / 447 MB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.1645, allocations: 83.88 kB / 447 MB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1645, allocations: 0 / 447 MB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.1646, allocations: 47.91 kB / 447.1 MB, free: 7.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.165, allocations: 27.36 kB / 447.1 MB, free: 7.145 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005477/0.1656, allocations: 330 kB / 447.4 MB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.1659, allocations: 0.7121 MB / 448.1 MB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.697e-05/0.166, allocations: 20.42 kB / 448.2 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.166, allocations: 15.42 kB / 448.2 MB, free: 6.016 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.166, allocations: 0 / 448.2 MB, free: 6.016 MB / 382.1 MB Notification: Performance of Templates: time 0.004172/0.1702, allocations: 1.253 MB / 449.4 MB, free: 4.762 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches