Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01096/0.01096, allocations: 108.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001237/0.001238, allocations: 181.4 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.97/1.97, allocations: 194.6 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2659/0.2659, allocations: 40.05 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007078/0.0007081, allocations: 12 kB / 361.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1512, allocations: 54.86 MB / 416 MB, free: 8.992 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003193/0.1545, allocations: 1.349 MB / 417.4 MB, free: 7.621 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.1562, allocations: 0.719 MB / 418.1 MB, free: 6.895 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.976e-05/0.1563, allocations: 4 kB / 418.1 MB, free: 6.891 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.1566, allocations: 23.84 kB / 418.1 MB, free: 6.867 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.1568, allocations: 31.91 kB / 418.2 MB, free: 6.836 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.1571, allocations: 55.81 kB / 418.2 MB, free: 6.781 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.1573, allocations: 63.86 kB / 418.3 MB, free: 6.719 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.804e-05/0.1574, allocations: 8 kB / 418.3 MB, free: 6.711 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1575, allocations: 39.83 kB / 418.3 MB, free: 6.672 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.079e-05/0.1576, allocations: 19.92 kB / 418.3 MB, free: 6.652 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.1576, allocations: 7.938 kB / 418.3 MB, free: 6.645 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.1577, allocations: 27.92 kB / 418.4 MB, free: 6.617 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.1578, allocations: 15.98 kB / 418.4 MB, free: 6.602 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/0.1579, allocations: 45.64 kB / 418.4 MB, free: 6.551 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.1581, allocations: 80.09 kB / 418.5 MB, free: 6.473 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1581, allocations: 0 / 418.5 MB, free: 6.473 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1581, allocations: 0 / 418.5 MB, free: 6.473 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1581, allocations: 3.938 kB / 418.5 MB, free: 6.469 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006036/0.1587, allocations: 454.3 kB / 419 MB, free: 5.965 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1588, allocations: 8.031 kB / 419 MB, free: 5.957 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.909e-05/0.1589, allocations: 38.5 kB / 419 MB, free: 5.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.1589, allocations: 11.81 kB / 419 MB, free: 5.898 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.1592, allocations: 210.7 kB / 419.2 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.1593, allocations: 0 / 419.2 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.1593, allocations: 8 kB / 419.2 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.1595, allocations: 53.67 kB / 419.3 MB, free: 5.586 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1595, allocations: 4 kB / 419.3 MB, free: 5.582 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1595, allocations: 3.953 kB / 419.3 MB, free: 5.578 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1596, allocations: 0 / 419.3 MB, free: 5.578 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1597, allocations: 23.92 kB / 419.3 MB, free: 5.555 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.1601, allocations: 292.9 kB / 419.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.1604, allocations: 54.67 kB / 419.6 MB, free: 5.156 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.1604, allocations: 3.984 kB / 419.7 MB, free: 5.152 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.1607, allocations: 71.41 kB / 419.7 MB, free: 5.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 4.388e-06/0.1607, allocations: 4 kB / 419.7 MB, free: 5.066 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007801/0.1615, allocations: 189.1 kB / 419.9 MB, free: 4.875 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.1615, allocations: 55.41 kB / 420 MB, free: 4.809 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.1618, allocations: 182.1 kB / 420.1 MB, free: 4.621 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.1618, allocations: 25.7 kB / 420.2 MB, free: 4.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.1619, allocations: 100.1 kB / 420.3 MB, free: 4.488 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.162, allocations: 27.64 kB / 420.3 MB, free: 4.461 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-06/0.162, allocations: 4 kB / 420.3 MB, free: 4.457 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1621, allocations: 326.8 kB / 420.6 MB, free: 4.129 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1622, allocations: 27.98 kB / 420.6 MB, free: 4.102 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1624, allocations: 45.7 kB / 420.7 MB, free: 4.051 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.1625, allocations: 61.7 kB / 420.7 MB, free: 3.984 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1626, allocations: 0 / 420.7 MB, free: 3.984 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004001/0.163, allocations: 175.1 kB / 420.9 MB, free: 3.801 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.163, allocations: 33.7 kB / 421 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1631, allocations: 4.031 kB / 421 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1631, allocations: 0 / 421 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.1632, allocations: 19.98 kB / 421 MB, free: 3.738 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1633, allocations: 0 / 421 MB, free: 3.738 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.282e-05/0.1634, allocations: 8 kB / 421 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.1634, allocations: 11.88 kB / 421 MB, free: 3.719 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001386/0.1635, allocations: 125.8 kB / 421.1 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.1636, allocations: 15.86 kB / 421.1 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.691e-05/0.1637, allocations: 12.81 kB / 421.1 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1637, allocations: 7.938 kB / 421.2 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1637, allocations: 0 / 421.2 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1637, allocations: 3.984 kB / 421.2 MB, free: 3.547 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.1643, allocations: 387.3 kB / 421.5 MB, free: 3.109 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1644, allocations: 0 / 421.5 MB, free: 3.109 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.587e-05/0.1644, allocations: 11.98 kB / 421.5 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1645, allocations: 0 / 421.5 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.1645, allocations: 8 kB / 421.6 MB, free: 3.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1645, allocations: 4.031 kB / 421.6 MB, free: 3.086 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1645, allocations: 0 / 421.6 MB, free: 3.086 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.1649, allocations: 217.8 kB / 421.8 MB, free: 2.848 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.117e-05/0.165, allocations: 97 kB / 421.9 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.165, allocations: 0 / 421.9 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.1651, allocations: 11.98 kB / 421.9 MB, free: 2.723 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.1652, allocations: 4 kB / 421.9 MB, free: 2.719 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.1652, allocations: 4 kB / 421.9 MB, free: 2.715 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001525/0.1654, allocations: 135.2 kB / 422 MB, free: 2.582 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1654, allocations: 0 / 422 MB, free: 2.582 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003645/0.1658, allocations: 28 kB / 422 MB, free: 2.555 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001861/0.1676, allocations: 1.174 MB / 423.2 MB, free: 1.453 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004144/0.1681, allocations: 151.2 kB / 423.4 MB, free: 1.293 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.1681, allocations: 4 kB / 423.4 MB, free: 1.289 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.1682, allocations: 32.05 kB / 423.4 MB, free: 1.258 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1686, allocations: 15.98 kB / 423.4 MB, free: 1.242 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009976/0.1696, allocations: 0.6171 MB / 424 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2803/0.4499, allocations: 0.7011 MB / 424.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.4501, allocations: 14.84 kB / 424.8 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.632e-05/0.4502, allocations: 30.83 kB / 424.8 MB, free: 15.37 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4502, allocations: 0 / 424.8 MB, free: 15.37 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/0.4742, allocations: 2.842 MB / 427.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002889/0.4745, allocations: 253.7 kB / 427.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/2.806, allocations: 0 / 427.9 MB, free: 14.83 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat