Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test64",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.01102/0.01102, allocations: 107.3 kB / 15.06 MB, free: 5.551 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.001792/0.001792, allocations: 168.6 kB / 15.93 MB, free: 5.523 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.575/1.575, 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.2717/0.2717, allocations: 38.09 MB / 265.1 MB, free: 3.984 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006362/0.0006365, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08926/0.08993, allocations: 48.72 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002204/0.09219, allocations: 1.255 MB / 373.6 MB, free: 11.58 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009816/0.0932, allocations: 407.5 kB / 374 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.09327, allocations: 3.938 kB / 374 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.09353, allocations: 19.92 kB / 374 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.09373, allocations: 43.86 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.09394, allocations: 55.81 kB / 374.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.0941, allocations: 47.88 kB / 374.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.993e-05/0.09416, allocations: 7.984 kB / 374.1 MB, free: 11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.618e-05/0.09425, allocations: 27.92 kB / 374.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.09434, allocations: 23.91 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.09437, allocations: 0 / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.502e-05/0.09447, allocations: 23.98 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.137e-05/0.09453, allocations: 19.92 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.0946, allocations: 41.64 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.0948, allocations: 84.03 kB / 374.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.09482, allocations: 4 kB / 374.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.09483, allocations: 0 / 374.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.09484, allocations: 0 / 374.3 MB, free: 10.78 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000548/0.0954, allocations: 420.6 kB / 374.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.09546, allocations: 16.02 kB / 374.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.0955, allocations: 30.56 kB / 374.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.09555, allocations: 7.906 kB / 374.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.0958, allocations: 198.8 kB / 375 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.09583, allocations: 4 kB / 375 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.09585, allocations: 0 / 375 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.09597, allocations: 41.69 kB / 375.1 MB, free: 9.965 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.096, allocations: 4 kB / 375.1 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.09601, allocations: 0 / 375.1 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.09603, allocations: 0 / 375.1 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.225e-05/0.09609, allocations: 7.984 kB / 375.1 MB, free: 9.953 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.09635, allocations: 189.6 kB / 375.2 MB, free: 9.719 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.53e-05/0.09644, allocations: 30.47 kB / 375.3 MB, free: 9.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.09648, allocations: 3.938 kB / 375.3 MB, free: 9.676 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.09664, allocations: 67.3 kB / 375.3 MB, free: 9.598 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.09665, allocations: 0 / 375.3 MB, free: 9.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002296/0.09689, allocations: 69.53 kB / 375.4 MB, free: 9.523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.09694, allocations: 51.41 kB / 375.5 MB, free: 9.461 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.09727, allocations: 243.5 kB / 375.7 MB, free: 9.207 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.09731, allocations: 29.7 kB / 375.7 MB, free: 9.172 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.987e-05/0.09739, allocations: 112.1 kB / 375.8 MB, free: 9.059 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.09743, allocations: 3.906 kB / 375.8 MB, free: 9.055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-06/0.09745, allocations: 12 kB / 375.9 MB, free: 9.043 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.09757, allocations: 322.8 kB / 376.2 MB, free: 8.719 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.083e-05/0.09764, allocations: 8 kB / 376.2 MB, free: 8.711 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.504e-05/0.09769, allocations: 15.98 kB / 376.2 MB, free: 8.695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.464e-05/0.09778, allocations: 45.7 kB / 376.2 MB, free: 8.645 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.09779, allocations: 0 / 376.2 MB, free: 8.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002105/0.09801, allocations: 107.2 kB / 376.3 MB, free: 8.527 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.09807, allocations: 37.69 kB / 376.4 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.09808, allocations: 0 / 376.4 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.09811, allocations: 7.938 kB / 376.4 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.688e-05/0.0982, allocations: 8 kB / 376.4 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.09821, allocations: 0 / 376.4 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.559e-05/0.09829, allocations: 4.125 kB / 376.4 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.09831, allocations: 8 kB / 376.4 MB, free: 8.457 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 (5): * Single equations (assignments): 4 * 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.0001233/0.09845, allocations: 127 kB / 376.5 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.09849, allocations: 19.77 kB / 376.6 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.09855, allocations: 20.91 kB / 376.6 MB, free: 8.281 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.09856, allocations: 0 / 376.6 MB, free: 8.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.09858, allocations: 4 kB / 376.6 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.09859, allocations: 0 / 376.6 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.09876, allocations: 185.6 kB / 376.8 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.09878, allocations: 0 / 376.8 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-05/0.09881, allocations: 4 kB / 376.8 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.09883, allocations: 3.953 kB / 376.8 MB, free: 8.039 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.09884, allocations: 0 / 376.8 MB, free: 8.039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.09885, allocations: 80 / 376.8 MB, free: 8.039 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.09886, allocations: 3.984 kB / 376.8 MB, free: 8.035 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.09903, allocations: 92.95 kB / 376.9 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-05/0.0991, allocations: 92.86 kB / 377 MB, free: 7.816 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.09914, allocations: 3.953 kB / 377 MB, free: 7.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.799e-05/0.0992, allocations: 4 kB / 377 MB, free: 7.809 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.09925, allocations: 7.922 kB / 377 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.09927, allocations: 4 kB / 377 MB, free: 7.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002172/0.0995, allocations: 189.1 kB / 377.2 MB, free: 7.613 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.09951, allocations: 0 / 377.2 MB, free: 7.613 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002826/0.0998, allocations: 23.94 kB / 377.2 MB, free: 7.59 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 (3): * Single equations (assignments): 2 * 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.001208/0.101, allocations: 0.8448 MB / 378 MB, free: 6.812 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.1012, allocations: 91.39 kB / 378.1 MB, free: 6.711 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1013, allocations: 0 / 378.1 MB, free: 6.711 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.597e-05/0.1013, allocations: 8 kB / 378.1 MB, free: 6.703 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.1016, allocations: 28.06 kB / 378.1 MB, free: 6.676 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008181/0.1024, allocations: 489.1 kB / 378.6 MB, free: 6.152 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.1027, allocations: 0.7121 MB / 379.3 MB, free: 5.414 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.664e-05/0.1028, allocations: 8.172 kB / 379.3 MB, free: 5.406 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.1029, allocations: 31.42 kB / 379.4 MB, free: 5.375 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1029, allocations: 0 / 379.4 MB, free: 5.375 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.1261, allocations: 2.584 MB / 382 MB, free: 2.828 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000392/0.1266, allocations: 246.3 kB / 382.2 MB, free: 2.492 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/2.47, allocations: 0 / 382.2 MB, free: 2.492 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat