Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test24",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.01809/0.01809, allocations: 108.8 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.001877/0.001877, allocations: 181.5 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 2.008/2.008, allocations: 194.6 MB / 211.3 MB, free: 10.99 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.3117/0.3117, allocations: 40.04 MB / 296.5 MB, free: 6.238 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006638/0.0006639, allocations: 12 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1532, allocations: 54.9 MB / 416 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002405/0.1556, allocations: 1.345 MB / 417.4 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.1572, allocations: 0.7228 MB / 418.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.876e-05/0.1573, allocations: 0 / 418.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.1576, allocations: 23.91 kB / 418.1 MB, free: 432 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.1578, allocations: 43.81 kB / 418.2 MB, free: 388 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.158, allocations: 51.83 kB / 418.2 MB, free: 336 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.1582, allocations: 63.84 kB / 418.3 MB, free: 272 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.31e-05/0.1583, allocations: 12 kB / 418.3 MB, free: 260 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.1584, allocations: 31.86 kB / 418.3 MB, free: 228 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.236e-05/0.1585, allocations: 35.83 kB / 418.4 MB, free: 192 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1585, allocations: 4 kB / 418.4 MB, free: 188 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1586, allocations: 20 kB / 418.4 MB, free: 168 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.1587, allocations: 15.92 kB / 418.4 MB, free: 152 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.398e-05/0.1588, allocations: 41.64 kB / 418.4 MB, free: 104 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.159, allocations: 92.02 kB / 418.5 MB, free: 12 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.159, allocations: 4 kB / 418.5 MB, free: 8 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.159, allocations: 0 / 418.5 MB, free: 8 kB / 346.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.159, allocations: 4 kB / 418.5 MB, free: 4 kB / 346.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.0006049/0.1596, allocations: 442.4 kB / 419 MB, free: 15.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1597, allocations: 8.031 kB / 419 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.733e-05/0.1597, allocations: 34.56 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.1598, allocations: 11.81 kB / 419 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.1601, allocations: 206.9 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1601, allocations: 0 / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.1602, allocations: 11.95 kB / 419.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.1604, allocations: 61.61 kB / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1604, allocations: 0 / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1604, allocations: 0 / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.1604, allocations: 7.984 kB / 419.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.1605, allocations: 19.98 kB / 419.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.161, allocations: 292.9 kB / 419.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.1613, allocations: 70.55 kB / 419.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.1613, allocations: 0 / 419.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.1615, allocations: 63.52 kB / 419.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.1615, allocations: 0 / 419.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007244/0.1623, allocations: 181.1 kB / 419.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.1623, allocations: 59.41 kB / 420 MB, free: 14.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.1626, allocations: 187.3 kB / 420.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1626, allocations: 25.7 kB / 420.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.1627, allocations: 112 kB / 420.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.1628, allocations: 27.64 kB / 420.3 MB, free: 14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.1628, allocations: 4 kB / 420.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.163, allocations: 326.8 kB / 420.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.1631, allocations: 31.98 kB / 420.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.1632, allocations: 53.62 kB / 420.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1634, allocations: 65.64 kB / 420.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1634, allocations: 0 / 420.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003822/0.1638, allocations: 155.3 kB / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/0.1639, allocations: 37.69 kB / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1639, allocations: 0 / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1639, allocations: 0 / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.1641, allocations: 23.92 kB / 421 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1641, allocations: 4.031 kB / 421 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.56e-05/0.1642, allocations: 8 kB / 421 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.1642, allocations: 4 kB / 421 MB, free: 13.26 MB / 362.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.000143/0.1644, allocations: 129.8 kB / 421.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.1644, allocations: 15.81 kB / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.989e-05/0.1645, allocations: 13.41 kB / 421.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1645, allocations: 4 kB / 421.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1645, allocations: 0 / 421.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1645, allocations: 4 kB / 421.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006313/0.1651, allocations: 387.3 kB / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1652, allocations: 0 / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.986e-05/0.1652, allocations: 20.3 kB / 421.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1653, allocations: 3.938 kB / 421.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.1653, allocations: 4 kB / 421.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1653, allocations: 4 kB / 421.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1653, allocations: 0 / 421.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.1657, allocations: 218 kB / 421.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.179e-05/0.1658, allocations: 100.9 kB / 421.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.1658, allocations: 0 / 421.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.1659, allocations: 7.984 kB / 421.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.166, allocations: 8 kB / 421.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.166, allocations: 4 kB / 421.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001822/0.1662, allocations: 148.8 kB / 422.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.1662, allocations: 0 / 422.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003727/0.1666, allocations: 31.98 kB / 422.1 MB, free: 12.07 MB / 362.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.001856/0.1685, allocations: 1.153 MB / 423.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004027/0.1689, allocations: 147.3 kB / 423.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1689, allocations: 3.938 kB / 423.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.169, allocations: 35.91 kB / 423.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.1694, allocations: 32 kB / 423.5 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009982/0.1704, allocations: 0.6217 MB / 424.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.1707, allocations: 0.7043 MB / 424.8 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.054e-05/0.1708, allocations: 12.42 kB / 424.8 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.948e-05/0.171, allocations: 35.42 kB / 424.8 MB, free: 9.285 MB / 362.7 MB Notification: Performance of SimCode: time 2.685e-06/0.171, allocations: 4.188 kB / 424.8 MB, free: 9.281 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.1963, allocations: 2.9 MB / 427.7 MB, free: 6.395 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003066/0.1966, allocations: 246.2 kB / 428 MB, free: 6.062 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/2.591, allocations: 0 / 428 MB, free: 6.062 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat