Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test43",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.01221/0.01221, allocations: 106.6 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.001581/0.001581, allocations: 169.1 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.655/1.655, allocations: 170.9 MB / 187.6 MB, free: 1 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.2504/0.2504, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004597, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08891/0.08941, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002304/0.09177, allocations: 1.283 MB / 373.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.09296, allocations: 427.4 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.176e-05/0.09307, allocations: 3.938 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.09338, allocations: 19.91 kB / 374 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.09359, allocations: 35.89 kB / 374.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.09389, allocations: 55.81 kB / 374.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.09406, allocations: 51.88 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.09417, allocations: 11.97 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.264e-05/0.09427, allocations: 27.91 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.138e-05/0.09435, allocations: 19.92 kB / 374.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.09438, allocations: 0 / 374.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.09452, allocations: 35.88 kB / 374.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.09458, allocations: 19.97 kB / 374.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.09465, allocations: 37.64 kB / 374.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.09487, allocations: 84.11 kB / 374.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.09489, allocations: 0 / 374.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.0949, allocations: 0 / 374.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.09491, 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.000579/0.0955, allocations: 408.7 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.09556, allocations: 12.03 kB / 374.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.09561, allocations: 34.55 kB / 374.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.09566, allocations: 11.81 kB / 374.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.09593, allocations: 201.9 kB / 375.1 MB, free: 9.969 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.09597, allocations: 4 kB / 375.1 MB, free: 9.965 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.09602, allocations: 8 kB / 375.1 MB, free: 9.957 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.09616, allocations: 41.69 kB / 375.1 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.09619, allocations: 0 / 375.1 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.09621, allocations: 0 / 375.1 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.09623, allocations: 3.984 kB / 375.1 MB, free: 9.906 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.213e-05/0.0963, allocations: 8 kB / 375.1 MB, free: 9.898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.09675, allocations: 284.8 kB / 375.4 MB, free: 9.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.097, allocations: 46.5 kB / 375.4 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.09703, allocations: 0 / 375.4 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.09721, allocations: 59.5 kB / 375.5 MB, free: 9.445 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.09722, allocations: 0 / 375.5 MB, free: 9.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004692/0.0977, allocations: 113.3 kB / 375.6 MB, free: 9.328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.09776, allocations: 55.41 kB / 375.7 MB, free: 9.262 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.09802, allocations: 185.8 kB / 375.8 MB, free: 9.074 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.09806, allocations: 29.7 kB / 375.9 MB, free: 9.039 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.232e-05/0.09815, allocations: 100.1 kB / 376 MB, free: 8.938 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.09819, allocations: 15.81 kB / 376 MB, free: 8.922 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-06/0.09821, allocations: 0 / 376 MB, free: 8.922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.09836, allocations: 330.7 kB / 376.3 MB, free: 8.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.09843, allocations: 19.98 kB / 376.3 MB, free: 8.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.675e-05/0.0985, allocations: 19.94 kB / 376.4 MB, free: 8.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.365e-05/0.09861, allocations: 49.69 kB / 376.4 MB, free: 8.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.09862, allocations: 4 kB / 376.4 MB, free: 8.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002631/0.09889, allocations: 123.3 kB / 376.5 MB, free: 8.359 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.09895, allocations: 29.7 kB / 376.6 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.09897, allocations: 0 / 376.6 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.09899, allocations: 3.938 kB / 376.6 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.09908, allocations: 11.98 kB / 376.6 MB, free: 8.309 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.09909, allocations: 3.938 kB / 376.6 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.492e-05/0.09917, allocations: 4 kB / 376.6 MB, free: 8.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.0992, allocations: 4.062 kB / 376.6 MB, free: 8.297 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.0001358/0.09935, allocations: 134.8 kB / 376.7 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.09938, allocations: 16.09 kB / 376.7 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/0.09945, allocations: 8.312 kB / 376.7 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.09946, allocations: 7.984 kB / 376.7 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.09948, allocations: 0 / 376.7 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.09949, allocations: 0 / 376.7 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004772/0.09997, allocations: 342.5 kB / 377.1 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.09999, allocations: 0 / 377.1 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.1, allocations: 4 kB / 377.1 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.1001, allocations: 8 kB / 377.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1001, allocations: 0 / 377.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1001, allocations: 0 / 377.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1001, allocations: 0 / 377.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.1003, allocations: 171.5 kB / 377.3 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.1004, allocations: 92.95 kB / 377.3 MB, free: 7.426 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.1005, allocations: 0 / 377.3 MB, free: 7.426 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.242e-05/0.1006, allocations: 7.938 kB / 377.4 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.1006, allocations: 7.984 kB / 377.4 MB, free: 7.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.1006, allocations: 4 kB / 377.4 MB, free: 7.406 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001589/0.1008, allocations: 135.2 kB / 377.5 MB, free: 7.273 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1008, allocations: 0 / 377.5 MB, free: 7.273 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000366/0.1012, allocations: 31.98 kB / 377.5 MB, free: 7.242 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.001399/0.1026, allocations: 0.9571 MB / 378.5 MB, free: 6.367 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002526/0.1029, allocations: 107.3 kB / 378.6 MB, free: 6.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1029, allocations: 0 / 378.6 MB, free: 6.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.332e-05/0.103, allocations: 12 kB / 378.6 MB, free: 6.238 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.1033, allocations: 19.92 kB / 378.6 MB, free: 6.219 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009043/0.1042, allocations: 443.4 kB / 379.1 MB, free: 5.738 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.1046, allocations: 0.7121 MB / 379.8 MB, free: 5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.85e-05/0.1047, allocations: 8 kB / 379.8 MB, free: 4.992 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.491e-05/0.1048, allocations: 27.42 kB / 379.8 MB, free: 4.965 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1048, allocations: 0 / 379.8 MB, free: 4.965 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.1324, allocations: 2.573 MB / 382.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003979/0.1329, allocations: 250.3 kB / 382.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/2.403, allocations: 0 / 382.6 MB, free: 2.086 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat