Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.0104/0.0104, allocations: 102.6 kB / 15.05 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001075/0.001075, allocations: 171.2 kB / 15.93 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.685/1.685, allocations: 170.9 MB / 187.6 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2528/0.2528, allocations: 38.08 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004656/0.0004659, allocations: 16 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.09222, allocations: 48.7 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002314/0.09459, allocations: 1.29 MB / 373.6 MB, free: 11.56 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.09567, allocations: 419.5 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/0.09576, allocations: 3.938 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.09604, allocations: 23.91 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.09624, allocations: 31.89 kB / 374 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.0965, allocations: 51.81 kB / 374.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.09667, allocations: 51.88 kB / 374.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.823e-05/0.09679, allocations: 15.97 kB / 374.2 MB, free: 10.97 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.303e-05/0.09687, allocations: 23.92 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.09695, allocations: 19.86 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.09698, allocations: 4 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.09712, allocations: 35.92 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.099e-05/0.09717, allocations: 11.98 kB / 374.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.45e-05/0.09723, allocations: 33.64 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.09744, allocations: 72.12 kB / 374.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.09746, allocations: 4 kB / 374.4 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.09747, allocations: 0 / 374.4 MB, free: 10.76 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.09749, allocations: 0 / 374.4 MB, free: 10.76 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005629/0.09806, allocations: 408.7 kB / 374.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.09812, allocations: 11.97 kB / 374.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.09817, allocations: 30.56 kB / 374.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.09822, allocations: 7.906 kB / 374.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.09847, allocations: 191 kB / 375 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.0985, allocations: 4 kB / 375 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.09853, allocations: 4 kB / 375 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.09868, allocations: 49.61 kB / 375.1 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.09871, allocations: 0 / 375.1 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.09873, allocations: 4 kB / 375.1 MB, free: 9.957 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.09875, allocations: 0 / 375.1 MB, free: 9.957 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.597e-05/0.09882, allocations: 12 kB / 375.1 MB, free: 9.945 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.09927, allocations: 276.8 kB / 375.3 MB, free: 9.625 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.09953, allocations: 46.5 kB / 375.4 MB, free: 9.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.09956, allocations: 0 / 375.4 MB, free: 9.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.09975, allocations: 59.48 kB / 375.4 MB, free: 9.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.903e-06/0.09976, allocations: 0 / 375.4 MB, free: 9.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004729/0.1002, allocations: 117.3 kB / 375.6 MB, free: 9.379 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.1003, allocations: 55.41 kB / 375.6 MB, free: 9.312 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1005, allocations: 140.7 kB / 375.8 MB, free: 9.168 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.1005, allocations: 25.7 kB / 375.8 MB, free: 9.137 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.1006, allocations: 100 kB / 375.9 MB, free: 9.035 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.1006, allocations: 11.91 kB / 375.9 MB, free: 9.023 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.1007, allocations: 4 kB / 375.9 MB, free: 9.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1008, allocations: 326.8 kB / 376.2 MB, free: 8.691 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.239e-05/0.1009, allocations: 12 kB / 376.2 MB, free: 8.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.817e-05/0.1009, allocations: 19.98 kB / 376.2 MB, free: 8.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.809e-05/0.1011, allocations: 49.64 kB / 376.3 MB, free: 8.605 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1011, allocations: 0 / 376.3 MB, free: 8.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002428/0.1013, allocations: 115.4 kB / 376.4 MB, free: 8.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.1014, allocations: 41.62 kB / 376.4 MB, free: 8.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1014, allocations: 0 / 376.4 MB, free: 8.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1014, allocations: 4 kB / 376.4 MB, free: 8.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.233e-05/0.1015, allocations: 15.94 kB / 376.5 MB, free: 8.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1015, allocations: 3.938 kB / 376.5 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.677e-05/0.1016, allocations: 4.062 kB / 376.5 MB, free: 8.406 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.1016, allocations: 4 kB / 376.5 MB, free: 8.402 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001229/0.1018, allocations: 130.8 kB / 376.6 MB, free: 8.266 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.1018, allocations: 7.906 kB / 376.6 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.603e-05/0.1019, allocations: 12.31 kB / 376.6 MB, free: 8.242 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1019, allocations: 4 kB / 376.6 MB, free: 8.238 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1019, allocations: 0 / 376.6 MB, free: 8.238 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1019, allocations: 3.984 kB / 376.6 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.1024, allocations: 338.4 kB / 377 MB, free: 7.848 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1024, allocations: 3.938 kB / 377 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/0.1024, allocations: 4 kB / 377 MB, free: 7.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1025, allocations: 0 / 377 MB, free: 7.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1025, allocations: 0 / 377 MB, free: 7.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1025, allocations: 4.156 kB / 377 MB, free: 7.836 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1025, allocations: 0 / 377 MB, free: 7.836 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.1027, allocations: 167.5 kB / 377.1 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.1028, allocations: 85.02 kB / 377.2 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.1028, allocations: 4 kB / 377.2 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.1029, allocations: 4 kB / 377.2 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.103, allocations: 3.984 kB / 377.2 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.103, allocations: 4 kB / 377.2 MB, free: 7.539 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1031, allocations: 107.3 kB / 377.3 MB, free: 7.434 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1031, allocations: 4 kB / 377.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003775/0.1035, allocations: 27.98 kB / 377.4 MB, free: 7.402 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001401/0.1049, allocations: 0.9805 MB / 378.4 MB, free: 6.504 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.1052, allocations: 103.3 kB / 378.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.1052, allocations: 0 / 378.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.771e-05/0.1053, allocations: 15.94 kB / 378.5 MB, free: 6.375 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.1057, allocations: 15.98 kB / 378.5 MB, free: 6.359 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1068, allocations: 395.2 kB / 378.9 MB, free: 5.926 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.1073, allocations: 0.6965 MB / 379.6 MB, free: 5.203 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.681e-05/0.1074, allocations: 15.94 kB / 379.6 MB, free: 5.188 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.1075, allocations: 27.42 kB / 379.6 MB, free: 5.16 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1075, allocations: 7.938 kB / 379.6 MB, free: 5.152 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0789/0.1864, allocations: 2.383 MB / 382 MB, free: 2.801 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/0.1867, allocations: 253.1 kB / 382.2 MB, free: 2.457 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.389/2.575, allocations: 7.938 kB / 382.3 MB, free: 2.449 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat