Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test53",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: 105.7 kB / 15.06 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.001145/0.001145, allocations: 173.3 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.62/1.62, 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.2459/0.2459, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004676, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08949/0.09, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.00248/0.09254, allocations: 1.283 MB / 373.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.0937, allocations: 427.4 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.09377, allocations: 3.938 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.09403, allocations: 15.92 kB / 374 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.09424, allocations: 39.88 kB / 374.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.09453, allocations: 63.8 kB / 374.1 MB, free: 11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.09471, allocations: 51.88 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.09483, allocations: 7.984 kB / 374.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.081e-05/0.09492, allocations: 27.91 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.64e-05/0.09501, allocations: 19.92 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.09504, allocations: 4 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.09519, allocations: 31.88 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.09525, allocations: 23.95 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.09532, allocations: 41.64 kB / 374.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.09554, allocations: 76.12 kB / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.09556, allocations: 0 / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09557, allocations: 0 / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.09559, allocations: 4 kB / 374.4 MB, free: 10.71 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.0005922/0.09619, allocations: 420.6 kB / 374.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.09624, allocations: 8.031 kB / 374.8 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.0963, allocations: 34.55 kB / 374.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.09635, allocations: 11.84 kB / 374.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.09663, allocations: 210.8 kB / 375.1 MB, free: 9.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.09666, allocations: 0 / 375.1 MB, free: 9.938 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.09669, allocations: 4 kB / 375.1 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.09683, allocations: 41.69 kB / 375.1 MB, free: 9.887 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.09686, allocations: 0 / 375.1 MB, free: 9.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.09688, allocations: 3.984 kB / 375.1 MB, free: 9.883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.0969, allocations: 3.984 kB / 375.1 MB, free: 9.879 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.966e-05/0.09698, allocations: 12 kB / 375.1 MB, free: 9.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.09742, allocations: 292.7 kB / 375.4 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.09767, allocations: 38.56 kB / 375.5 MB, free: 9.484 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.09771, allocations: 4 kB / 375.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.09789, allocations: 59.48 kB / 375.5 MB, free: 9.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.0979, allocations: 0 / 375.5 MB, free: 9.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004634/0.09837, allocations: 117.3 kB / 375.6 MB, free: 9.289 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.09846, allocations: 59.41 kB / 375.7 MB, free: 9.219 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.09875, allocations: 211.9 kB / 375.9 MB, free: 9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.09879, allocations: 25.7 kB / 375.9 MB, free: 8.969 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.09888, allocations: 100.1 kB / 376 MB, free: 8.867 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.09893, allocations: 19.8 kB / 376 MB, free: 8.848 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.09894, allocations: 3.938 kB / 376.1 MB, free: 8.844 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.0991, allocations: 326.7 kB / 376.4 MB, free: 8.516 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.646e-05/0.09918, allocations: 23.98 kB / 376.4 MB, free: 8.492 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.559e-05/0.09924, allocations: 12 kB / 376.4 MB, free: 8.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.457e-05/0.09935, allocations: 53.69 kB / 376.5 MB, free: 8.422 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.09936, allocations: 0 / 376.5 MB, free: 8.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002636/0.09964, allocations: 123.2 kB / 376.6 MB, free: 8.289 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/0.09969, allocations: 33.7 kB / 376.6 MB, free: 8.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.09971, allocations: 0 / 376.6 MB, free: 8.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.09973, allocations: 0 / 376.6 MB, free: 8.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.09981, allocations: 11.98 kB / 376.6 MB, free: 8.238 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.09983, allocations: 3.938 kB / 376.6 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.324e-05/0.0999, allocations: 4 kB / 376.6 MB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.09992, allocations: 0 / 376.6 MB, free: 8.23 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.0001452/0.1001, allocations: 138.8 kB / 376.8 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.1001, allocations: 7.906 kB / 376.8 MB, free: 8.078 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.085e-05/0.1002, allocations: 17 kB / 376.8 MB, free: 8.062 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1002, allocations: 3.984 kB / 376.8 MB, free: 8.059 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1002, allocations: 0 / 376.8 MB, free: 8.059 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1002, allocations: 0 / 376.8 MB, free: 8.059 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.1007, allocations: 346.4 kB / 377.1 MB, free: 7.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1007, allocations: 0 / 377.1 MB, free: 7.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.78e-05/0.1008, allocations: 15.98 kB / 377.1 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.758e-06/0.1008, allocations: 4 kB / 377.2 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1008, allocations: 0 / 377.2 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1008, allocations: 0 / 377.2 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1008, allocations: 0 / 377.2 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.101, allocations: 175.3 kB / 377.3 MB, free: 7.457 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/0.1011, allocations: 88.95 kB / 377.4 MB, free: 7.352 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.1012, allocations: 4.172 kB / 377.4 MB, free: 7.348 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.102e-05/0.1013, allocations: 12 kB / 377.4 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.1013, allocations: 4 kB / 377.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.1013, allocations: 4 kB / 377.4 MB, free: 7.328 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001813/0.1015, allocations: 155.9 kB / 377.6 MB, free: 7.176 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1015, allocations: 0 / 377.6 MB, free: 7.176 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003514/0.1019, allocations: 23.98 kB / 377.6 MB, free: 7.152 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.001409/0.1033, allocations: 0.9713 MB / 378.6 MB, free: 6.262 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.1036, allocations: 107.3 kB / 378.7 MB, free: 6.145 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1036, allocations: 0 / 378.7 MB, free: 6.145 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.646e-05/0.1036, allocations: 12 kB / 378.7 MB, free: 6.133 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.1039, allocations: 23.92 kB / 378.7 MB, free: 6.109 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008454/0.1048, allocations: 460.2 kB / 379.2 MB, free: 5.613 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.1051, allocations: 0.7082 MB / 379.9 MB, free: 4.879 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.518e-05/0.1052, allocations: 11.98 kB / 379.9 MB, free: 4.867 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/0.1053, allocations: 23.44 kB / 379.9 MB, free: 4.844 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1053, allocations: 0 / 379.9 MB, free: 4.844 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.1304, allocations: 2.684 MB / 382.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002452/0.1307, allocations: 250.2 kB / 382.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/2.369, allocations: 0 / 382.8 MB, free: 1.852 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat