Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test42",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.01016/0.01016, allocations: 104.5 kB / 15.05 MB, free: 6.031 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.001106/0.001106, allocations: 171.1 kB / 15.93 MB, free: 5.965 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.686/1.686, allocations: 170.8 MB / 187.5 MB, free: 1.016 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.2548/0.2548, allocations: 38.1 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004726, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09132/0.09182, allocations: 48.7 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002333/0.09421, allocations: 1.29 MB / 373.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.09525, allocations: 419.4 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.404e-05/0.09532, allocations: 3.938 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.09558, allocations: 23.91 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.09576, allocations: 35.89 kB / 374.1 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.096, allocations: 59.8 kB / 374.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.09615, allocations: 43.89 kB / 374.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.09626, allocations: 19.97 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.51e-05/0.09634, allocations: 23.92 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.69e-05/0.09642, allocations: 15.92 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.09646, allocations: 3.938 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.09659, allocations: 39.91 kB / 374.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.303e-05/0.09665, allocations: 15.98 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.09671, allocations: 37.64 kB / 374.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.09691, allocations: 80.12 kB / 374.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.09693, allocations: 0 / 374.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.09694, allocations: 0 / 374.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.09695, allocations: 0 / 374.4 MB, free: 10.74 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.0005487/0.09751, allocations: 416.7 kB / 374.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.09756, allocations: 8.031 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.09761, allocations: 34.56 kB / 374.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.09766, allocations: 11.81 kB / 374.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.09792, allocations: 199.4 kB / 375 MB, free: 9.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.09794, allocations: 0 / 375 MB, free: 9.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.09797, allocations: 4 kB / 375.1 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.09811, allocations: 45.67 kB / 375.1 MB, free: 9.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.09814, allocations: 0 / 375.1 MB, free: 9.926 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.09815, allocations: 0 / 375.1 MB, free: 9.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.09817, allocations: 0 / 375.1 MB, free: 9.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.982e-05/0.09824, allocations: 15.98 kB / 375.1 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.09865, allocations: 284.8 kB / 375.4 MB, free: 9.582 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.09887, allocations: 42.5 kB / 375.4 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.09891, allocations: 4 kB / 375.4 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.09907, allocations: 59.42 kB / 375.5 MB, free: 9.457 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.833e-06/0.09908, allocations: 0 / 375.5 MB, free: 9.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004395/0.09953, allocations: 121.6 kB / 375.6 MB, free: 9.332 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.0996, allocations: 55.41 kB / 375.7 MB, free: 9.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.09984, allocations: 186.6 kB / 375.8 MB, free: 9.078 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.09987, allocations: 25.7 kB / 375.9 MB, free: 9.047 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/0.09996, allocations: 104.1 kB / 376 MB, free: 8.941 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.1, allocations: 19.8 kB / 376 MB, free: 8.922 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.1, allocations: 0 / 376 MB, free: 8.922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1002, allocations: 326.8 kB / 376.3 MB, free: 8.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.123e-05/0.1003, allocations: 12 kB / 376.3 MB, free: 8.582 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.309e-05/0.1003, allocations: 27.92 kB / 376.4 MB, free: 8.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.523e-05/0.1004, allocations: 49.7 kB / 376.4 MB, free: 8.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1004, allocations: 0 / 376.4 MB, free: 8.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000272/0.1007, allocations: 115.3 kB / 376.5 MB, free: 8.375 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.1008, allocations: 41.62 kB / 376.6 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1008, allocations: 0 / 376.6 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1008, allocations: 4 kB / 376.6 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.1009, allocations: 4 kB / 376.6 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1009, allocations: 7.938 kB / 376.6 MB, free: 8.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.622e-05/0.101, allocations: 0 / 376.6 MB, free: 8.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.101, 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.0001217/0.1011, allocations: 130.8 kB / 376.7 MB, free: 8.172 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.1012, allocations: 11.81 kB / 376.7 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.1012, allocations: 20.3 kB / 376.7 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1012, allocations: 0 / 376.7 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1013, allocations: 4.156 kB / 376.7 MB, free: 8.133 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1013, allocations: 3.938 kB / 376.7 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.1017, allocations: 338.5 kB / 377.1 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1017, allocations: 0 / 377.1 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.1018, allocations: 12 kB / 377.1 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1018, allocations: 0 / 377.1 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1018, allocations: 3.984 kB / 377.1 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1018, allocations: 0 / 377.1 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1018, allocations: 0 / 377.1 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.1021, allocations: 167.4 kB / 377.3 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.96e-05/0.1021, allocations: 88.95 kB / 377.3 MB, free: 7.441 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.1022, allocations: 0 / 377.3 MB, free: 7.441 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.964e-05/0.1023, allocations: 15.98 kB / 377.4 MB, free: 7.426 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.1023, allocations: 0 / 377.4 MB, free: 7.426 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.1023, allocations: 4 kB / 377.4 MB, free: 7.422 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001616/0.1025, allocations: 139.2 kB / 377.5 MB, free: 7.285 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1025, allocations: 0 / 377.5 MB, free: 7.285 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003495/0.1029, allocations: 24 kB / 377.5 MB, free: 7.262 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.001396/0.1043, allocations: 0.9666 MB / 378.5 MB, free: 6.379 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.1045, allocations: 107.3 kB / 378.6 MB, free: 6.262 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1045, allocations: 0 / 378.6 MB, free: 6.262 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.556e-05/0.1046, allocations: 19.98 kB / 378.6 MB, free: 6.242 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.1049, allocations: 23.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.0007852/0.1057, allocations: 439.4 kB / 379.1 MB, free: 5.742 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.106, allocations: 0.7043 MB / 379.8 MB, free: 5.012 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.583e-05/0.1061, allocations: 11.98 kB / 379.8 MB, free: 5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.624e-05/0.1062, allocations: 27.38 kB / 379.8 MB, free: 4.973 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1062, allocations: 0 / 379.8 MB, free: 4.973 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/0.1434, allocations: 2.569 MB / 382.4 MB, free: 2.438 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002978/0.1438, allocations: 246.2 kB / 382.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.343/2.487, allocations: 3.938 kB / 382.6 MB, free: 2.098 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat