Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test21",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.01563/0.01563, allocations: 103.5 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.001734/0.001734, allocations: 169.8 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.81/1.81, allocations: 170.9 MB / 187.5 MB, free: 0.9844 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.2674/0.2674, allocations: 38.09 MB / 265.1 MB, free: 3.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004687, allocations: 16 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09214/0.09265, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002379/0.09508, allocations: 1.29 MB / 373.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.09618, allocations: 419.5 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.09627, allocations: 3.938 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.09654, allocations: 23.91 kB / 374 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.09672, allocations: 31.89 kB / 374.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.097, allocations: 63.8 kB / 374.1 MB, free: 11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.09716, allocations: 47.88 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.743e-05/0.09727, allocations: 11.98 kB / 374.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.119e-05/0.09737, allocations: 23.92 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.09745, allocations: 23.84 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.09748, allocations: 4 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.09762, allocations: 31.92 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.09768, allocations: 15.98 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.353e-05/0.09777, allocations: 37.64 kB / 374.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.09798, allocations: 76.11 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.098, allocations: 4 kB / 374.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.09801, allocations: 0 / 374.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.09803, allocations: 0 / 374.4 MB, free: 10.72 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.0005665/0.0986, allocations: 408.7 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.09866, allocations: 8.031 kB / 374.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.12e-05/0.09872, allocations: 38.56 kB / 374.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.09877, allocations: 7.906 kB / 374.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.09903, allocations: 195.6 kB / 375 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.09906, allocations: 4 kB / 375 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.09909, allocations: 0 / 375 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.09923, allocations: 45.67 kB / 375.1 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.09926, allocations: 4 kB / 375.1 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.09928, allocations: 4 kB / 375.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.0993, allocations: 0 / 375.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.318e-05/0.09937, allocations: 12 kB / 375.1 MB, free: 9.902 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.09979, allocations: 276.9 kB / 375.4 MB, free: 9.582 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.1, allocations: 42.5 kB / 375.4 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.1001, allocations: 11.98 kB / 375.4 MB, free: 9.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.1003, allocations: 55.48 kB / 375.5 MB, free: 9.453 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.1003, allocations: 0 / 375.5 MB, free: 9.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004746/0.1008, allocations: 113.5 kB / 375.6 MB, free: 9.336 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.1008, allocations: 59.41 kB / 375.6 MB, free: 9.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.1011, allocations: 172.9 kB / 375.8 MB, free: 9.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.1011, allocations: 29.7 kB / 375.8 MB, free: 9.055 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.1012, allocations: 96.12 kB / 375.9 MB, free: 8.957 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.1012, allocations: 19.75 kB / 376 MB, free: 8.938 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.1012, allocations: 4 kB / 376 MB, free: 8.934 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1014, allocations: 322.8 kB / 376.3 MB, free: 8.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/0.1015, allocations: 12 kB / 376.3 MB, free: 8.598 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.1015, allocations: 31.91 kB / 376.3 MB, free: 8.566 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.978e-05/0.1016, allocations: 45.7 kB / 376.4 MB, free: 8.516 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1017, allocations: 0 / 376.4 MB, free: 8.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002894/0.102, allocations: 115.3 kB / 376.5 MB, free: 8.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.102, allocations: 33.7 kB / 376.5 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.102, allocations: 4 kB / 376.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.1021, allocations: 4.031 kB / 376.5 MB, free: 8.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/0.1022, allocations: 15.94 kB / 376.5 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.1022, allocations: 3.938 kB / 376.5 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.398e-05/0.1023, allocations: 11.94 kB / 376.5 MB, free: 8.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.1023, allocations: 4 kB / 376.6 MB, free: 8.309 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.0001245/0.1024, allocations: 118.9 kB / 376.7 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.1024, allocations: 7.906 kB / 376.7 MB, free: 8.176 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.731e-05/0.1025, allocations: 16.3 kB / 376.7 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1025, allocations: 4 kB / 376.7 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1025, allocations: 4.062 kB / 376.7 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1026, allocations: 0 / 376.7 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.103, allocations: 334.6 kB / 377 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.103, allocations: 3.938 kB / 377 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.337e-05/0.1031, allocations: 8 kB / 377 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1031, allocations: 0 / 377 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1031, allocations: 7.984 kB / 377 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1031, allocations: 0 / 377 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1032, allocations: 7.953 kB / 377.1 MB, free: 7.738 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.1034, allocations: 163.5 kB / 377.2 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.1034, allocations: 85.02 kB / 377.3 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.1035, allocations: 0 / 377.3 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.726e-05/0.1036, allocations: 7.984 kB / 377.3 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.1036, allocations: 3.938 kB / 377.3 MB, free: 7.449 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.1037, allocations: 7.953 kB / 377.3 MB, free: 7.441 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001443/0.1038, allocations: 138.8 kB / 377.4 MB, free: 7.309 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1038, allocations: 0 / 377.4 MB, free: 7.309 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003583/0.1042, allocations: 23.98 kB / 377.5 MB, free: 7.285 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.00142/0.1056, allocations: 0.9653 MB / 378.4 MB, free: 6.402 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003083/0.106, allocations: 103.3 kB / 378.5 MB, free: 6.289 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.106, allocations: 0 / 378.5 MB, free: 6.289 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.831e-05/0.1061, allocations: 20 kB / 378.6 MB, free: 6.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.1064, allocations: 19.92 kB / 378.6 MB, free: 6.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008324/0.1072, allocations: 423.3 kB / 379 MB, free: 5.789 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.1076, allocations: 0.7043 MB / 379.7 MB, free: 5.059 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.499e-05/0.1077, allocations: 15.98 kB / 379.7 MB, free: 5.043 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.1078, allocations: 27.44 kB / 379.7 MB, free: 5.016 MB / 282.7 MB Notification: Performance of SimCode: time 1.272e-06/0.1078, allocations: 3.938 kB / 379.7 MB, free: 5.012 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.1301, allocations: 2.505 MB / 382.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003878/0.1305, allocations: 258.2 kB / 382.5 MB, free: 2.191 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/2.599, allocations: 0 / 382.5 MB, free: 2.191 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat