Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test1",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.01749/0.0175, allocations: 104.4 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.001775/0.001775, allocations: 170.2 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.812/1.812, allocations: 170.9 MB / 187.5 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.2768/0.2768, allocations: 38.1 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004618, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09318/0.09368, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002449/0.09618, allocations: 1.29 MB / 373.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.09732, allocations: 415.5 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.0974, allocations: 3.938 kB / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.09769, allocations: 23.91 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.0979, allocations: 43.88 kB / 374.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.09817, allocations: 55.8 kB / 374.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.09834, allocations: 55.88 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.09845, allocations: 7.984 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.145e-05/0.09854, allocations: 27.91 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.078e-05/0.09863, allocations: 23.91 kB / 374.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.09866, allocations: 4 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.0988, allocations: 31.88 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.09888, allocations: 27.97 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.625e-05/0.09894, allocations: 37.64 kB / 374.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.09917, allocations: 96.09 kB / 374.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.09919, allocations: 0 / 374.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.248e-06/0.0992, allocations: 0 / 374.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.09922, allocations: 3.938 kB / 374.4 MB, free: 10.7 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.000646/0.09987, allocations: 432.5 kB / 374.9 MB, free: 10.22 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.09993, allocations: 11.97 kB / 374.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.09998, allocations: 34.56 kB / 374.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.1, allocations: 15.91 kB / 374.9 MB, free: 10.15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1003, allocations: 202.8 kB / 375.1 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1003, allocations: 0 / 375.1 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.1004, allocations: 4 kB / 375.1 MB, free: 9.906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.1005, allocations: 41.69 kB / 375.2 MB, free: 9.859 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1006, allocations: 0 / 375.2 MB, free: 9.859 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1006, allocations: 0 / 375.2 MB, free: 9.859 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.1006, allocations: 0 / 375.2 MB, free: 9.859 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.657e-05/0.1007, allocations: 19.92 kB / 375.2 MB, free: 9.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.1011, allocations: 292.8 kB / 375.5 MB, free: 9.504 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.1014, allocations: 42.56 kB / 375.5 MB, free: 9.453 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.1014, allocations: 4 kB / 375.5 MB, free: 9.449 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.1016, allocations: 59.42 kB / 375.6 MB, free: 9.379 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.914e-06/0.1016, allocations: 0 / 375.6 MB, free: 9.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000509/0.1022, allocations: 121.4 kB / 375.7 MB, free: 9.254 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.1022, allocations: 55.41 kB / 375.7 MB, free: 9.188 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/0.1026, allocations: 247.4 kB / 376 MB, free: 8.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.1026, allocations: 29.7 kB / 376 MB, free: 8.895 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1027, allocations: 108 kB / 376.1 MB, free: 8.785 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.1028, allocations: 15.89 kB / 376.1 MB, free: 8.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.1028, allocations: 0 / 376.1 MB, free: 8.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.103, allocations: 326.8 kB / 376.5 MB, free: 8.441 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.453e-05/0.103, allocations: 16 kB / 376.5 MB, free: 8.426 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.854e-05/0.1031, allocations: 23.98 kB / 376.5 MB, free: 8.402 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.1032, allocations: 49.7 kB / 376.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1032, allocations: 0 / 376.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003052/0.1036, allocations: 123.2 kB / 376.7 MB, free: 8.215 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/0.1036, allocations: 41.62 kB / 376.7 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1036, allocations: 0 / 376.7 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1037, allocations: 0 / 376.7 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.576e-05/0.1038, allocations: 11.94 kB / 376.7 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1038, allocations: 0 / 376.7 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.47e-05/0.1039, allocations: 11.98 kB / 376.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.1039, allocations: 4 kB / 376.7 MB, free: 8.141 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.0001576/0.1041, allocations: 134.8 kB / 376.9 MB, free: 8 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.1041, allocations: 15.75 kB / 376.9 MB, free: 7.984 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.735e-05/0.1042, allocations: 17 kB / 376.9 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1042, allocations: 0 / 376.9 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.1042, allocations: 64 / 376.9 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.1042, allocations: 4 kB / 376.9 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.1047, allocations: 350.5 kB / 377.2 MB, free: 7.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1047, allocations: 4 kB / 377.2 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.1048, allocations: 7.984 kB / 377.2 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1048, allocations: 0 / 377.2 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1048, allocations: 8 kB / 377.3 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1049, allocations: 0 / 377.3 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1049, allocations: 0 / 377.3 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.1051, allocations: 171.3 kB / 377.4 MB, free: 7.363 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.1052, allocations: 88.92 kB / 377.5 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.1052, allocations: 7.984 kB / 377.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.462e-05/0.1053, allocations: 4 kB / 377.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.1054, allocations: 0 / 377.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.1054, allocations: 8 kB / 377.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002368/0.1057, allocations: 185.1 kB / 377.7 MB, free: 7.059 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1057, allocations: 0 / 377.7 MB, free: 7.059 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003572/0.106, allocations: 35.92 kB / 377.7 MB, free: 7.023 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.001468/0.1075, allocations: 0.9677 MB / 378.7 MB, free: 6.137 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.1078, allocations: 103.4 kB / 378.8 MB, free: 6.023 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.1078, allocations: 4 kB / 378.8 MB, free: 6.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.23e-05/0.1079, allocations: 23.88 kB / 378.8 MB, free: 5.996 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.1082, allocations: 16.17 kB / 378.9 MB, free: 5.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009858/0.1092, allocations: 0.505 MB / 379.4 MB, free: 5.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.1096, allocations: 0.7121 MB / 380.1 MB, free: 4.691 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.022e-05/0.1097, allocations: 11.88 kB / 380.1 MB, free: 4.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.1098, allocations: 31.42 kB / 380.1 MB, free: 4.648 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1098, allocations: 0 / 380.1 MB, free: 4.648 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0943/0.2041, allocations: 2.832 MB / 382.9 MB, free: 1.848 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002614/0.2044, allocations: 249.1 kB / 383.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/2.6, allocations: 8 kB / 383.2 MB, free: 1.5 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat