Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test50",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: 103.6 kB / 15.05 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.1.mo): time 0.001155/0.001154, allocations: 167.1 kB / 15.93 MB, free: 5.527 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.578/1.578, allocations: 170.9 MB / 187.6 MB, free: 0.9961 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.3102/0.3102, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006281/0.0006283, allocations: 16 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08825/0.08891, allocations: 48.71 MB / 372.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002341/0.09131, allocations: 1.294 MB / 373.6 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.09336, allocations: 0.9959 MB / 374.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.09346, allocations: 3.938 kB / 374.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.09377, allocations: 19.98 kB / 374.6 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.09401, allocations: 39.81 kB / 374.6 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.0943, allocations: 59.81 kB / 374.7 MB, free: 10.4 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.09446, allocations: 47.88 kB / 374.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.725e-05/0.09457, allocations: 19.95 kB / 374.8 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.48e-05/0.09466, allocations: 23.92 kB / 374.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.09485, allocations: 35.84 kB / 374.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.09488, allocations: 4 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.09506, allocations: 43.92 kB / 374.9 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.09511, allocations: 11.98 kB / 374.9 MB, free: 10.22 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.413e-05/0.09518, allocations: 37.64 kB / 374.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.09543, allocations: 100.1 kB / 375 MB, free: 10.08 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.09544, allocations: 0 / 375 MB, free: 10.08 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09545, allocations: 0 / 375 MB, free: 10.08 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.09547, allocations: 0 / 375 MB, free: 10.08 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006061/0.09608, allocations: 416.7 kB / 375.4 MB, free: 9.617 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.09614, allocations: 16.03 kB / 375.4 MB, free: 9.602 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.09619, allocations: 34.55 kB / 375.5 MB, free: 9.559 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.09625, allocations: 7.906 kB / 375.5 MB, free: 9.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.09652, allocations: 202.9 kB / 375.7 MB, free: 9.312 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.09655, allocations: 0 / 375.7 MB, free: 9.312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.09659, allocations: 4 kB / 375.7 MB, free: 9.309 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.09677, allocations: 59.41 kB / 375.7 MB, free: 9.238 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.09681, allocations: 3.984 kB / 375.8 MB, free: 9.234 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.09684, allocations: 8 kB / 375.8 MB, free: 9.227 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.09685, allocations: 4 kB / 375.8 MB, free: 9.223 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.18e-05/0.09695, allocations: 15.98 kB / 375.8 MB, free: 9.207 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.09742, allocations: 300.7 kB / 376.1 MB, free: 8.863 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.09756, allocations: 46.56 kB / 376.1 MB, free: 8.809 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.09761, allocations: 4 kB / 376.1 MB, free: 8.805 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.0978, allocations: 63.48 kB / 376.2 MB, free: 8.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.923e-06/0.09782, allocations: 0 / 376.2 MB, free: 8.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005687/0.09839, allocations: 129.4 kB / 376.3 MB, free: 8.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.09846, allocations: 77.11 kB / 376.4 MB, free: 8.504 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.09866, allocations: 144.3 kB / 376.5 MB, free: 8.355 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.0987, allocations: 29.7 kB / 376.6 MB, free: 8.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.09879, allocations: 96.12 kB / 376.7 MB, free: 8.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.09883, allocations: 11.75 kB / 376.7 MB, free: 8.211 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.09885, allocations: 12 kB / 376.7 MB, free: 8.199 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.099, allocations: 326.7 kB / 377 MB, free: 7.871 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.09909, allocations: 27.92 kB / 377 MB, free: 7.844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.182e-05/0.09919, allocations: 37.7 kB / 377.1 MB, free: 7.801 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.09932, allocations: 57.69 kB / 377.1 MB, free: 7.738 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.09933, allocations: 0 / 377.1 MB, free: 7.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002867/0.09963, allocations: 131.2 kB / 377.2 MB, free: 7.598 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.09969, allocations: 41.69 kB / 377.3 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.09971, allocations: 4.125 kB / 377.3 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.09973, allocations: 3.938 kB / 377.3 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.09984, allocations: 8 kB / 377.3 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.09986, allocations: 0 / 377.3 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.21e-05/0.09994, allocations: 4 kB / 377.3 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.09998, allocations: 7.984 kB / 377.3 MB, free: 7.523 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 (8): * Single equations (assignments): 7 * 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.0001197/0.1001, allocations: 122.8 kB / 377.4 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.1001, allocations: 7.906 kB / 377.4 MB, free: 7.387 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.281e-05/0.1002, allocations: 16.88 kB / 377.5 MB, free: 7.371 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1002, allocations: 4 kB / 377.5 MB, free: 7.367 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1002, allocations: 0 / 377.5 MB, free: 7.367 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1003, allocations: 3.984 kB / 377.5 MB, free: 7.363 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.1008, allocations: 354.5 kB / 377.8 MB, free: 6.961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1008, allocations: 0 / 377.8 MB, free: 6.961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.346e-05/0.1008, allocations: 4.5 kB / 377.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1008, allocations: 4 kB / 377.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1009, allocations: 3.984 kB / 377.8 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.1009, allocations: 4 kB / 377.8 MB, free: 6.945 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.1009, allocations: 7.984 kB / 377.8 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.1012, allocations: 183.3 kB / 378 MB, free: 6.742 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.1012, allocations: 85 kB / 378.1 MB, free: 6.641 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.1013, allocations: 4 kB / 378.1 MB, free: 6.637 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.1014, allocations: 0 / 378.1 MB, free: 6.637 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.1014, allocations: 8 kB / 378.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.1015, allocations: 7.984 kB / 378.1 MB, free: 6.621 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001153/0.1016, allocations: 107.3 kB / 378.2 MB, free: 6.516 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1016, allocations: 0 / 378.2 MB, free: 6.516 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000417/0.102, allocations: 35.98 kB / 378.3 MB, free: 6.48 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 (6): * Single equations (assignments): 5 * 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.001667/0.1037, allocations: 1.058 MB / 379.3 MB, free: 5.516 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.104, allocations: 115.4 kB / 379.4 MB, free: 5.391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.104, allocations: 0 / 379.4 MB, free: 5.391 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.546e-05/0.1041, allocations: 19.94 kB / 379.4 MB, free: 5.371 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.1044, allocations: 23.88 kB / 379.5 MB, free: 5.348 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008541/0.1053, allocations: 414.9 kB / 379.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.1056, allocations: 0.6965 MB / 380.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.357e-05/0.1057, allocations: 16.66 kB / 380.6 MB, free: 4.148 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.396e-05/0.1058, allocations: 27.42 kB / 380.6 MB, free: 4.121 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1058, allocations: 0 / 380.6 MB, free: 4.121 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.1311, allocations: 2.922 MB / 383.5 MB, free: 1.223 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000337/0.1315, allocations: 254.7 kB / 383.8 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/2.49, allocations: 0 / 383.8 MB, free: 0.8789 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat