Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test52",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.01545/0.01545, allocations: 103.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.005608/0.005608, allocations: 169.8 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.656/1.656, allocations: 170.9 MB / 187.5 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.2615/0.2615, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000459/0.0004591, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08784/0.08833, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002275/0.09066, allocations: 1.287 MB / 373.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.09172, allocations: 415.4 kB / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.09179, allocations: 4 kB / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.09206, allocations: 27.84 kB / 374 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.09226, allocations: 35.89 kB / 374.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.09251, allocations: 63.8 kB / 374.1 MB, free: 11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.09267, allocations: 47.88 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.88e-05/0.09277, allocations: 11.97 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.5e-05/0.09286, allocations: 23.92 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.489e-05/0.09295, allocations: 27.91 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.09298, allocations: 0 / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.09311, allocations: 35.88 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.09317, allocations: 15.98 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.09323, allocations: 37.64 kB / 374.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.09344, allocations: 88.09 kB / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.09346, allocations: 0 / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.09347, allocations: 0 / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.09348, allocations: 0 / 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.0005383/0.09403, allocations: 424.6 kB / 374.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.09408, allocations: 8.031 kB / 374.8 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.811e-05/0.09413, allocations: 34.56 kB / 374.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.09418, allocations: 7.906 kB / 374.9 MB, free: 10.19 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.09444, allocations: 206.8 kB / 375.1 MB, free: 9.945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.09447, allocations: 4 kB / 375.1 MB, free: 9.941 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.09451, allocations: 4 kB / 375.1 MB, free: 9.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.09464, allocations: 45.62 kB / 375.1 MB, free: 9.887 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.09467, allocations: 0 / 375.1 MB, free: 9.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.09469, allocations: 0 / 375.1 MB, free: 9.887 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.0947, allocations: 4 kB / 375.1 MB, free: 9.883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.29e-05/0.09478, allocations: 15.98 kB / 375.1 MB, free: 9.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.09519, allocations: 296.7 kB / 375.4 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.09543, allocations: 38.56 kB / 375.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.09546, allocations: 0 / 375.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.09563, allocations: 55.5 kB / 375.5 MB, free: 9.414 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.09565, allocations: 0 / 375.5 MB, free: 9.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004548/0.09611, allocations: 121.5 kB / 375.6 MB, free: 9.289 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.09616, allocations: 51.41 kB / 375.7 MB, free: 9.227 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.09645, allocations: 211.9 kB / 375.9 MB, free: 9.008 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.09649, allocations: 33.7 kB / 375.9 MB, free: 8.969 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.09657, allocations: 100.1 kB / 376 MB, free: 8.867 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.09661, allocations: 15.81 kB / 376 MB, free: 8.852 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.09663, allocations: 4 kB / 376 MB, free: 8.848 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.09676, allocations: 326.8 kB / 376.4 MB, free: 8.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.568e-05/0.09684, allocations: 23.92 kB / 376.4 MB, free: 8.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.369e-05/0.0969, allocations: 12 kB / 376.4 MB, free: 8.484 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.565e-05/0.097, allocations: 45.7 kB / 376.4 MB, free: 8.434 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.09701, allocations: 4 kB / 376.5 MB, free: 8.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002397/0.09726, allocations: 123.2 kB / 376.6 MB, free: 8.297 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.09732, allocations: 35.27 kB / 376.6 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.09733, allocations: 0 / 376.6 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.09735, allocations: 0 / 376.6 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.585e-05/0.09744, allocations: 19.97 kB / 376.6 MB, free: 8.238 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.09746, allocations: 3.938 kB / 376.6 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.09753, allocations: 4.094 kB / 376.6 MB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.09756, allocations: 7.938 kB / 376.6 MB, free: 8.223 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.0001242/0.09769, allocations: 134.8 kB / 376.8 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.09773, allocations: 7.906 kB / 376.8 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.276e-05/0.09779, allocations: 13.16 kB / 376.8 MB, free: 8.062 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.0978, allocations: 0 / 376.8 MB, free: 8.062 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.09782, allocations: 4 kB / 376.8 MB, free: 8.059 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.09783, allocations: 4 kB / 376.8 MB, free: 8.055 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.09828, allocations: 342.4 kB / 377.1 MB, free: 7.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.0983, allocations: 0 / 377.1 MB, free: 7.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.09835, allocations: 8 kB / 377.1 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.09836, allocations: 0 / 377.1 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.09839, allocations: 4 kB / 377.1 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.0984, allocations: 0 / 377.1 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.09841, allocations: 7.969 kB / 377.2 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.09863, allocations: 187.4 kB / 377.3 MB, free: 7.445 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.0987, allocations: 81.02 kB / 377.4 MB, free: 7.348 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.09874, allocations: 4 kB / 377.4 MB, free: 7.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.09884, allocations: 0 / 377.4 MB, free: 7.344 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.09889, allocations: 7.984 kB / 377.4 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.09892, allocations: 4 kB / 377.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001786/0.09911, allocations: 151.9 kB / 377.6 MB, free: 7.184 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.09912, allocations: 0 / 377.6 MB, free: 7.184 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003582/0.09949, allocations: 35.98 kB / 377.6 MB, free: 7.148 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.001386/0.1009, allocations: 0.9633 MB / 378.6 MB, free: 6.266 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.1011, allocations: 107.3 kB / 378.7 MB, free: 6.148 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1011, allocations: 0 / 378.7 MB, free: 6.148 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.439e-05/0.1012, allocations: 16 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.0003021/0.1015, allocations: 19.92 kB / 378.7 MB, free: 6.113 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008842/0.1024, allocations: 456.2 kB / 379.2 MB, free: 5.621 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1028, allocations: 0.7121 MB / 379.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.61e-05/0.1028, allocations: 11.94 kB / 379.9 MB, free: 4.871 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.1029, allocations: 27.42 kB / 379.9 MB, free: 4.844 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1029, allocations: 8 kB / 379.9 MB, free: 4.836 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.125, allocations: 2.675 MB / 382.6 MB, free: 2.195 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003933/0.1255, allocations: 250.2 kB / 382.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/2.385, allocations: 4 kB / 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.Test52_res.mat does not exist to compare? outputFormat=mat