Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test49",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.01088/0.01088, allocations: 104 kB / 15.05 MB, free: 5.949 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.001209/0.001209, allocations: 174 kB / 15.93 MB, free: 5.91 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.623/1.623, allocations: 170.9 MB / 187.5 MB, free: 0.8633 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.244/0.244, allocations: 38.09 MB / 265.1 MB, free: 3.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.0004632, allocations: 19.98 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09045/0.09094, allocations: 48.71 MB / 372.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002988/0.09399, allocations: 1.29 MB / 373.6 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.09542, allocations: 423.4 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/0.09552, allocations: 4 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.09583, allocations: 27.84 kB / 374 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.09608, allocations: 31.95 kB / 374.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.0964, allocations: 55.8 kB / 374.1 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.0966, allocations: 55.86 kB / 374.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.09674, allocations: 11.98 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.09685, allocations: 23.92 kB / 374.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.901e-05/0.09697, allocations: 31.84 kB / 374.2 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.09701, allocations: 4 kB / 374.2 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.09719, allocations: 31.92 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.812e-05/0.09727, allocations: 23.92 kB / 374.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.014e-05/0.09736, allocations: 37.64 kB / 374.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.09766, allocations: 88.09 kB / 374.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.09768, allocations: 4 kB / 374.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.0977, allocations: 0 / 374.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.09772, allocations: 4 kB / 374.4 MB, free: 10.68 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.0007544/0.09849, allocations: 440.5 kB / 374.9 MB, free: 10.19 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.09856, allocations: 8.031 kB / 374.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.874e-05/0.09862, allocations: 30.56 kB / 374.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.09869, allocations: 7.906 kB / 374.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.09904, allocations: 206.8 kB / 375.1 MB, free: 9.895 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.09907, allocations: 0 / 375.1 MB, free: 9.895 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.09912, allocations: 8 kB / 375.1 MB, free: 9.887 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.09929, allocations: 53.55 kB / 375.2 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.09932, allocations: 0 / 375.2 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.09935, allocations: 0 / 375.2 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.09937, allocations: 0 / 375.2 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.679e-05/0.09946, allocations: 12 kB / 375.2 MB, free: 9.816 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.1, allocations: 292.8 kB / 375.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.1003, allocations: 42.52 kB / 375.5 MB, free: 9.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.1004, allocations: 96 / 375.5 MB, free: 9.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.1006, allocations: 63.39 kB / 375.6 MB, free: 9.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.885e-06/0.1006, allocations: 0 / 375.6 MB, free: 9.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006388/0.1013, allocations: 121.2 kB / 375.7 MB, free: 9.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.1013, allocations: 51.41 kB / 375.7 MB, free: 9.168 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.1018, allocations: 247.4 kB / 376 MB, free: 8.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.1019, allocations: 29.7 kB / 376 MB, free: 8.875 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.102, allocations: 116 kB / 376.1 MB, free: 8.758 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.1021, allocations: 7.906 kB / 376.1 MB, free: 8.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/0.1021, allocations: 4 kB / 376.1 MB, free: 8.746 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.1023, allocations: 326.8 kB / 376.4 MB, free: 8.418 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.834e-05/0.1024, allocations: 19.98 kB / 376.5 MB, free: 8.398 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.318e-05/0.1025, allocations: 16 kB / 376.5 MB, free: 8.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1027, allocations: 53.62 kB / 376.5 MB, free: 8.324 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1027, allocations: 0 / 376.5 MB, free: 8.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003623/0.1031, allocations: 127.2 kB / 376.7 MB, free: 8.188 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.373e-05/0.1031, allocations: 29.7 kB / 376.7 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1032, allocations: 0 / 376.7 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1032, allocations: 4 kB / 376.7 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1033, allocations: 19.86 kB / 376.7 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1033, allocations: 0 / 376.7 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.575e-05/0.1034, allocations: 96 / 376.7 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.1035, allocations: 7.938 kB / 376.7 MB, free: 8.121 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.0001864/0.1037, allocations: 138.8 kB / 376.9 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.1037, allocations: 15.81 kB / 376.9 MB, free: 7.961 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.853e-05/0.1038, allocations: 21.05 kB / 376.9 MB, free: 7.941 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1038, allocations: 4 kB / 376.9 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1039, allocations: 0 / 376.9 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1039, allocations: 0 / 376.9 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006094/0.1045, allocations: 354.5 kB / 377.2 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1045, allocations: 0 / 377.2 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.1046, allocations: 4 kB / 377.2 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.1046, allocations: 0 / 377.2 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.1046, allocations: 8 kB / 377.3 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1046, allocations: 0 / 377.3 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1047, allocations: 0 / 377.3 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.105, allocations: 171.4 kB / 377.4 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.1051, allocations: 92.92 kB / 377.5 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.1051, allocations: 0 / 377.5 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.1053, allocations: 4 kB / 377.5 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.1053, allocations: 3.984 kB / 377.5 MB, free: 7.223 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.1054, allocations: 8 kB / 377.5 MB, free: 7.215 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003157/0.1057, allocations: 189.1 kB / 377.7 MB, free: 7.031 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.765e-06/0.1057, allocations: 0 / 377.7 MB, free: 7.031 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006054/0.1063, allocations: 35.88 kB / 377.7 MB, free: 6.996 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.002026/0.1084, allocations: 0.9641 MB / 378.7 MB, free: 6.113 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003638/0.1088, allocations: 107.3 kB / 378.8 MB, free: 5.996 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.1088, allocations: 0 / 378.8 MB, free: 5.996 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/0.1089, allocations: 23.92 kB / 378.8 MB, free: 5.973 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.1094, allocations: 16.17 kB / 378.9 MB, free: 5.957 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.1109, allocations: 0.501 MB / 379.4 MB, free: 5.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.1114, allocations: 0.716 MB / 380.1 MB, free: 4.668 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.886e-05/0.1116, allocations: 11.92 kB / 380.1 MB, free: 4.656 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.1117, allocations: 35.42 kB / 380.1 MB, free: 4.621 MB / 282.7 MB Notification: Performance of SimCode: time 1.312e-06/0.1117, allocations: 0 / 380.1 MB, free: 4.621 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05768/0.1694, allocations: 2.837 MB / 383 MB, free: 1.816 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002811/0.1698, allocations: 242.3 kB / 383.2 MB, free: 1.484 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/2.628, allocations: 0 / 383.2 MB, free: 1.484 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat