Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test5",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.01085/0.01085, allocations: 103.7 kB / 15.05 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.001192/0.001192, allocations: 167.3 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.795/1.795, allocations: 170.9 MB / 187.5 MB, free: 0.9922 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.2589/0.2589, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004636, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0919/0.0924, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002408/0.09487, allocations: 1.302 MB / 373.6 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.09599, allocations: 423.5 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.87e-05/0.09608, allocations: 7.938 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003564/0.09645, allocations: 87.8 kB / 374.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.09669, allocations: 63.83 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.09696, allocations: 55.81 kB / 374.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.09715, allocations: 67.91 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.09728, allocations: 20.16 kB / 374.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.463e-05/0.09739, allocations: 39.84 kB / 374.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.09752, allocations: 43.88 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.09755, allocations: 4 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.09769, allocations: 35.88 kB / 374.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.09776, allocations: 19.97 kB / 374.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.09783, allocations: 41.64 kB / 374.5 MB, free: 10.63 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.09807, allocations: 96.08 kB / 374.6 MB, free: 10.54 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.09809, allocations: 7.938 kB / 374.6 MB, free: 10.53 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.0981, allocations: 0 / 374.6 MB, free: 10.53 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.09812, allocations: 0 / 374.6 MB, free: 10.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006236/0.09875, allocations: 440.5 kB / 375 MB, free: 10.04 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.09881, allocations: 8.031 kB / 375 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.09886, allocations: 38.55 kB / 375.1 MB, free: 9.988 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.09891, allocations: 11.91 kB / 375.1 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.09924, allocations: 206.8 kB / 375.3 MB, free: 9.734 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.09927, allocations: 0 / 375.3 MB, free: 9.734 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.09931, allocations: 12 kB / 375.3 MB, free: 9.723 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.09949, allocations: 53.67 kB / 375.3 MB, free: 9.664 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.09952, allocations: 11.84 kB / 375.4 MB, free: 9.652 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.09955, allocations: 0 / 375.4 MB, free: 9.652 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.09956, allocations: 0 / 375.4 MB, free: 9.652 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.795e-05/0.09967, allocations: 19.98 kB / 375.4 MB, free: 9.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.1002, allocations: 312.8 kB / 375.7 MB, free: 9.277 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.1003, allocations: 54.5 kB / 375.7 MB, free: 9.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.1004, allocations: 0 / 375.7 MB, free: 9.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/0.1006, allocations: 67.52 kB / 375.8 MB, free: 9.137 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.1006, allocations: 0 / 375.8 MB, free: 9.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006572/0.1013, allocations: 165.4 kB / 376 MB, free: 8.969 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1014, allocations: 55.39 kB / 376 MB, free: 8.902 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.1017, allocations: 223.5 kB / 376.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.1017, allocations: 37.7 kB / 376.3 MB, free: 8.629 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/0.1018, allocations: 104.3 kB / 376.4 MB, free: 8.523 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.1019, allocations: 27.56 kB / 376.4 MB, free: 8.496 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/0.1019, allocations: 4 kB / 376.4 MB, free: 8.492 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1021, allocations: 338.7 kB / 376.7 MB, free: 8.152 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-05/0.1021, allocations: 20 kB / 376.8 MB, free: 8.133 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-05/0.1022, allocations: 27.98 kB / 376.8 MB, free: 8.105 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.1024, allocations: 61.64 kB / 376.8 MB, free: 8.039 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1024, allocations: 4 kB / 376.8 MB, free: 8.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003244/0.1027, allocations: 143.5 kB / 377 MB, free: 7.883 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.1028, allocations: 33.7 kB / 377 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1028, allocations: 0 / 377 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1028, allocations: 4 kB / 377 MB, free: 7.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.103, allocations: 19.98 kB / 377 MB, free: 7.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.103, allocations: 8.062 kB / 377.1 MB, free: 7.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.537e-05/0.1031, allocations: 0 / 377.1 MB, free: 7.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.1031, allocations: 4 kB / 377.1 MB, free: 7.809 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 (10): * Single equations (assignments): 9 * 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.0001586/0.1033, allocations: 146.8 kB / 377.2 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.1033, allocations: 15.8 kB / 377.2 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.667e-05/0.1034, allocations: 21.39 kB / 377.2 MB, free: 7.621 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1034, allocations: 3.938 kB / 377.2 MB, free: 7.617 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1034, allocations: 0 / 377.2 MB, free: 7.617 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1035, allocations: 4 kB / 377.2 MB, free: 7.613 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005805/0.104, allocations: 390.5 kB / 377.6 MB, free: 7.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1041, allocations: 0 / 377.6 MB, free: 7.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.004e-05/0.1041, allocations: 15.98 kB / 377.6 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1042, allocations: 4 kB / 377.6 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1042, allocations: 0 / 377.6 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.1042, allocations: 0 / 377.6 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1042, allocations: 4 kB / 377.6 MB, free: 7.152 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.1045, allocations: 199.3 kB / 377.8 MB, free: 6.941 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.1046, allocations: 85.02 kB / 377.9 MB, free: 6.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.1046, allocations: 4 kB / 377.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1047, allocations: 4 kB / 377.9 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.1048, allocations: 15.92 kB / 377.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.1048, allocations: 4.188 kB / 378 MB, free: 6.812 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002167/0.1051, allocations: 179.4 kB / 378.1 MB, free: 6.637 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1051, allocations: 3.938 kB / 378.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003725/0.1055, allocations: 32 kB / 378.2 MB, free: 6.602 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 (8): * Single equations (assignments): 7 * 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.001512/0.107, allocations: 0.9987 MB / 379.2 MB, free: 5.688 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.1073, allocations: 123.3 kB / 379.3 MB, free: 5.555 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1074, allocations: 0 / 379.3 MB, free: 5.555 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.577e-05/0.1075, allocations: 23.98 kB / 379.3 MB, free: 5.531 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.1078, allocations: 20.17 kB / 379.3 MB, free: 5.512 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009932/0.1088, allocations: 0.5173 MB / 379.8 MB, free: 4.945 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.1092, allocations: 0.716 MB / 380.6 MB, free: 4.203 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.505e-05/0.1092, allocations: 20.56 kB / 380.6 MB, free: 4.184 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.1094, allocations: 39.42 kB / 380.6 MB, free: 4.145 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1094, allocations: 0 / 380.6 MB, free: 4.145 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.1327, allocations: 3.036 MB / 383.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000369/0.1331, allocations: 253.1 kB / 383.9 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/2.565, allocations: 4 kB / 383.9 MB, free: 0.793 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat