Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test36",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.01056/0.01057, allocations: 104.9 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.001142/0.001142, allocations: 167.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.63/1.63, allocations: 170.9 MB / 187.5 MB, free: 0.8516 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.2646/0.2646, allocations: 38.09 MB / 265.1 MB, free: 3.938 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004456/0.0004458, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08748/0.08797, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.00224/0.09027, allocations: 1.29 MB / 373.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.09131, allocations: 419.5 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.09138, allocations: 0 / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.09171, allocations: 83.73 kB / 374.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.09192, allocations: 47.88 kB / 374.1 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.09217, allocations: 67.78 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.09233, allocations: 47.94 kB / 374.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.837e-05/0.09244, allocations: 11.97 kB / 374.2 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.604e-05/0.09254, allocations: 39.84 kB / 374.3 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.09265, allocations: 43.89 kB / 374.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.09268, allocations: 0 / 374.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.09281, allocations: 31.94 kB / 374.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.09287, allocations: 23.89 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.09293, allocations: 37.64 kB / 374.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.09314, allocations: 84.12 kB / 374.5 MB, free: 10.61 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.09316, allocations: 0 / 374.5 MB, free: 10.61 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.09317, allocations: 0 / 374.5 MB, free: 10.61 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.09318, allocations: 0 / 374.5 MB, free: 10.61 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.0005431/0.09374, allocations: 420.6 kB / 374.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.09379, allocations: 12.03 kB / 374.9 MB, free: 10.13 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.09384, allocations: 42.48 kB / 375 MB, free: 10.08 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.09389, allocations: 7.906 kB / 375 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.09413, allocations: 198.8 kB / 375.2 MB, free: 9.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.09416, allocations: 0 / 375.2 MB, free: 9.836 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.0942, allocations: 4 kB / 375.2 MB, free: 9.832 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.09434, allocations: 45.62 kB / 375.2 MB, free: 9.781 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.09436, allocations: 4 kB / 375.2 MB, free: 9.777 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.09438, allocations: 3.984 kB / 375.2 MB, free: 9.773 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.0944, allocations: 0 / 375.2 MB, free: 9.773 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.6e-05/0.09447, allocations: 15.98 kB / 375.2 MB, free: 9.758 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.09488, allocations: 288.8 kB / 375.5 MB, free: 9.426 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.09512, allocations: 42.5 kB / 375.6 MB, free: 9.375 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.09516, allocations: 0 / 375.6 MB, free: 9.375 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.09532, allocations: 63.48 kB / 375.6 MB, free: 9.301 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/0.09534, allocations: 0 / 375.6 MB, free: 9.301 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004608/0.09581, allocations: 121.3 kB / 375.7 MB, free: 9.176 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.09587, allocations: 51.41 kB / 375.8 MB, free: 9.113 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.09616, allocations: 211.9 kB / 376 MB, free: 8.895 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.0962, allocations: 29.7 kB / 376 MB, free: 8.859 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.09629, allocations: 100.1 kB / 376.1 MB, free: 8.758 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.09633, allocations: 19.81 kB / 376.1 MB, free: 8.738 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.09635, allocations: 0 / 376.1 MB, free: 8.738 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.09649, allocations: 326.8 kB / 376.5 MB, free: 8.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.335e-05/0.09656, allocations: 19.98 kB / 376.5 MB, free: 8.391 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.739e-05/0.09663, allocations: 19.98 kB / 376.5 MB, free: 8.371 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.479e-05/0.09674, allocations: 57.62 kB / 376.6 MB, free: 8.309 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.09675, allocations: 0 / 376.6 MB, free: 8.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002405/0.097, allocations: 115.3 kB / 376.7 MB, free: 8.184 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.09705, allocations: 29.8 kB / 376.7 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.09707, allocations: 3.938 kB / 376.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.0971, allocations: 4 kB / 376.7 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.883e-05/0.09718, allocations: 19.86 kB / 376.7 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.0972, allocations: 0 / 376.7 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.697e-05/0.09728, allocations: 8 kB / 376.7 MB, free: 8.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.09731, allocations: 4 kB / 376.7 MB, free: 8.109 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.0001302/0.09745, allocations: 130.8 kB / 376.9 MB, free: 7.973 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.09748, allocations: 7.906 kB / 376.9 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.657e-05/0.09754, allocations: 13 kB / 376.9 MB, free: 7.953 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.09756, allocations: 4 kB / 376.9 MB, free: 7.949 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.09758, allocations: 7.984 kB / 376.9 MB, free: 7.941 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.09759, allocations: 0 / 376.9 MB, free: 7.941 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.09803, allocations: 342.4 kB / 377.2 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.09805, allocations: 4 kB / 377.2 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.0981, allocations: 4 kB / 377.2 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.09812, allocations: 3.984 kB / 377.2 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.09814, allocations: 0 / 377.2 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.09815, allocations: 0 / 377.2 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.09816, allocations: 4 kB / 377.3 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.09838, allocations: 175.3 kB / 377.4 MB, free: 7.348 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.09845, allocations: 81.02 kB / 377.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.0985, allocations: 7.984 kB / 377.5 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.206e-05/0.0986, allocations: 4.188 kB / 377.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.09865, allocations: 8 kB / 377.5 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.09868, allocations: 0 / 377.5 MB, free: 7.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001842/0.09887, allocations: 155.9 kB / 377.7 MB, free: 7.078 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.09889, allocations: 7.938 kB / 377.7 MB, free: 7.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003995/0.09929, allocations: 31.98 kB / 377.7 MB, free: 7.039 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.001462/0.1008, allocations: 0.9716 MB / 378.7 MB, free: 6.148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.101, allocations: 103.3 kB / 378.8 MB, free: 6.035 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.1011, allocations: 0 / 378.8 MB, free: 6.035 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.877e-05/0.1011, allocations: 19.94 kB / 378.8 MB, free: 6.016 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.1015, allocations: 15.98 kB / 378.8 MB, free: 6 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008782/0.1024, allocations: 464.1 kB / 379.3 MB, free: 5.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.1027, allocations: 0.7043 MB / 380 MB, free: 4.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.994e-05/0.1028, allocations: 12 kB / 380 MB, free: 4.758 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.893e-05/0.1028, allocations: 31.42 kB / 380 MB, free: 4.727 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1029, allocations: 0 / 380 MB, free: 4.727 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.1302, allocations: 2.674 MB / 382.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003453/0.1307, allocations: 254.2 kB / 382.9 MB, free: 1.742 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/2.465, allocations: 0 / 382.9 MB, free: 1.742 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat