Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test18",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.0108/0.0108, allocations: 108.5 kB / 15.06 MB, free: 6.031 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.001187/0.001186, allocations: 179.4 kB / 15.95 MB, free: 5.957 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.049/2.049, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.2888/0.2888, allocations: 40.04 MB / 296.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004833, allocations: 12 kB / 361.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.144, allocations: 54.88 MB / 416 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.01604/0.1601, allocations: 1.353 MB / 417.4 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.1622, allocations: 0.7228 MB / 418.1 MB, free: 452 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-05/0.1623, allocations: 4 kB / 418.1 MB, free: 448 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.1626, allocations: 23.91 kB / 418.1 MB, free: 424 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.1628, allocations: 31.84 kB / 418.2 MB, free: 392 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.1631, allocations: 59.8 kB / 418.2 MB, free: 332 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1633, allocations: 55.88 kB / 418.3 MB, free: 276 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1634, allocations: 12 kB / 418.3 MB, free: 264 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1635, allocations: 39.83 kB / 418.3 MB, free: 224 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.585e-05/0.1636, allocations: 27.86 kB / 418.4 MB, free: 196 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1637, allocations: 0 / 418.4 MB, free: 196 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.1638, allocations: 24 kB / 418.4 MB, free: 172 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.1639, allocations: 19.91 kB / 418.4 MB, free: 152 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.495e-05/0.164, allocations: 33.7 kB / 418.4 MB, free: 112 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.1642, allocations: 88.03 kB / 418.5 MB, free: 24 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1642, allocations: 0 / 418.5 MB, free: 24 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1642, allocations: 4 kB / 418.5 MB, free: 20 kB / 346.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1643, allocations: 0 / 418.5 MB, free: 20 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.0006965/0.165, allocations: 446.3 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.165, allocations: 12.03 kB / 419 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.1651, allocations: 30.56 kB / 419 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.391e-05/0.1652, allocations: 7.906 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.1655, allocations: 199.5 kB / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.1655, allocations: 4 kB / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.1656, allocations: 11.95 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.1799, allocations: 53.67 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.18, allocations: 0 / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.18, allocations: 0 / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.18, allocations: 7.984 kB / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.1802, allocations: 19.92 kB / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005778/0.1808, allocations: 296.8 kB / 419.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.1811, allocations: 58.69 kB / 419.6 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.1812, allocations: 7.875 kB / 419.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002687/0.1814, allocations: 67.52 kB / 419.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.294e-06/0.1815, allocations: 0 / 419.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009471/0.1824, allocations: 173.2 kB / 419.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.1825, allocations: 59.39 kB / 419.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.1828, allocations: 170.4 kB / 420.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.1828, allocations: 29.7 kB / 420.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.038e-05/0.1829, allocations: 100.1 kB / 420.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.183, allocations: 23.7 kB / 420.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.183, allocations: 0 / 420.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1832, allocations: 326.8 kB / 420.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.1834, allocations: 31.98 kB / 420.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.1836, allocations: 49.64 kB / 420.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.1838, allocations: 69.69 kB / 420.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1838, allocations: 0 / 420.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003982/0.1842, allocations: 159.1 kB / 420.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.204e-05/0.1843, allocations: 33.7 kB / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1843, allocations: 0 / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1843, allocations: 4 kB / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.1845, allocations: 20.3 kB / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1845, allocations: 4.031 kB / 420.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.181e-05/0.1846, allocations: 12 kB / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.1846, allocations: 4 kB / 421 MB, free: 13.32 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.0001534/0.1848, allocations: 125.8 kB / 421.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.1848, allocations: 15.91 kB / 421.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.1849, allocations: 8.719 kB / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1849, allocations: 0 / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1849, allocations: 0 / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1849, allocations: 3.984 kB / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000676/0.1856, allocations: 395.3 kB / 421.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1856, allocations: 0 / 421.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.1857, allocations: 11.98 kB / 421.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.1857, allocations: 0 / 421.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.1858, allocations: 7.938 kB / 421.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1858, allocations: 4 kB / 421.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.1858, allocations: 3.938 kB / 421.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.1862, allocations: 217.9 kB / 421.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.522e-05/0.1863, allocations: 93 kB / 421.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.1863, allocations: 4 kB / 421.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1864, allocations: 3.984 kB / 421.8 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.1865, allocations: 4 kB / 421.8 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.1865, allocations: 8 kB / 421.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001416/0.1866, allocations: 130.7 kB / 422 MB, free: 12.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1867, allocations: 0 / 422 MB, free: 12.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003592/0.187, allocations: 31.98 kB / 422 MB, free: 12.16 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.001868/0.1889, allocations: 1.159 MB / 423.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003886/0.1893, allocations: 151.3 kB / 423.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.1893, allocations: 0 / 423.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.1895, allocations: 35.92 kB / 423.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1898, allocations: 19.94 kB / 423.4 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009694/0.1908, allocations: 0.5978 MB / 424 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.1912, allocations: 0.7082 MB / 424.7 MB, free: 9.445 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.072e-05/0.1913, allocations: 8.438 kB / 424.7 MB, free: 9.438 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.638e-05/0.1914, allocations: 27.42 kB / 424.7 MB, free: 9.41 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1914, allocations: 192 / 424.7 MB, free: 9.41 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.2186, allocations: 2.792 MB / 427.5 MB, free: 6.629 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003199/0.219, allocations: 254.2 kB / 427.8 MB, free: 6.289 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.417/2.636, allocations: 0 / 427.8 MB, free: 6.289 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat