Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test19",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.01101/0.01101, allocations: 104.5 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.001136/0.001136, allocations: 166.4 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.62/1.62, allocations: 170.9 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.2487/0.2487, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004821, allocations: 16 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1062, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003761/0.11, allocations: 1.29 MB / 373.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.1118, allocations: 419.4 kB / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.069e-05/0.1119, allocations: 3.938 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.1122, allocations: 19.92 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.1125, allocations: 31.89 kB / 374 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.1129, allocations: 63.8 kB / 374.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.1131, allocations: 47.88 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1132, allocations: 7.984 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.167e-05/0.1133, allocations: 27.91 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.1134, allocations: 19.92 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1135, allocations: 4 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.1136, allocations: 35.88 kB / 374.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.411e-05/0.1137, allocations: 15.97 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.1137, allocations: 37.64 kB / 374.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.1139, allocations: 80.11 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.114, allocations: 0 / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.114, allocations: 0 / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.114, allocations: 0 / 374.4 MB, free: 10.73 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.0005508/0.1145, allocations: 404.7 kB / 374.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1146, allocations: 12.03 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/0.1147, allocations: 34.55 kB / 374.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.1147, allocations: 11.91 kB / 374.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.115, allocations: 194.8 kB / 375 MB, free: 9.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.115, allocations: 7.938 kB / 375 MB, free: 9.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.115, allocations: 4 kB / 375 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.1152, allocations: 41.69 kB / 375.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1152, allocations: 0 / 375.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.1152, allocations: 0 / 375.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1152, allocations: 0 / 375.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.621e-05/0.1153, allocations: 15.98 kB / 375.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.1157, allocations: 284.9 kB / 375.4 MB, free: 9.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.116, allocations: 42.5 kB / 375.4 MB, free: 9.535 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.116, allocations: 3.938 kB / 375.4 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.1162, allocations: 55.5 kB / 375.5 MB, free: 9.465 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.774e-06/0.1162, allocations: 0 / 375.5 MB, free: 9.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004749/0.1167, allocations: 121.6 kB / 375.6 MB, free: 9.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.1168, allocations: 51.41 kB / 375.6 MB, free: 9.277 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.117, allocations: 176.7 kB / 375.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.117, allocations: 25.7 kB / 375.8 MB, free: 9.066 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.1171, allocations: 92.14 kB / 375.9 MB, free: 8.973 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.1172, allocations: 23.73 kB / 376 MB, free: 8.949 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.1172, allocations: 0 / 376 MB, free: 8.949 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1173, allocations: 322.8 kB / 376.3 MB, free: 8.625 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.303e-05/0.1174, allocations: 20 kB / 376.3 MB, free: 8.605 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.464e-05/0.1175, allocations: 23.92 kB / 376.3 MB, free: 8.582 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.1177, allocations: 45.7 kB / 376.4 MB, free: 8.531 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1177, allocations: 0 / 376.4 MB, free: 8.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002552/0.1179, allocations: 123.3 kB / 376.5 MB, free: 8.398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.882e-05/0.118, allocations: 33.69 kB / 376.5 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.118, allocations: 0 / 376.5 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.118, allocations: 4 kB / 376.5 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.1181, allocations: 7.938 kB / 376.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1181, allocations: 7.938 kB / 376.5 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.231e-05/0.1182, allocations: 7.953 kB / 376.5 MB, free: 8.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.1183, allocations: 8.062 kB / 376.5 MB, free: 8.324 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.0001232/0.1184, allocations: 126.9 kB / 376.7 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.1184, allocations: 7.906 kB / 376.7 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.792e-05/0.1185, allocations: 8.312 kB / 376.7 MB, free: 8.172 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1185, allocations: 96 / 376.7 MB, free: 8.172 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1185, allocations: 3.938 kB / 376.7 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.1185, allocations: 7.984 kB / 376.7 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.119, allocations: 346.5 kB / 377 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.119, allocations: 0 / 377 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.1191, allocations: 4 kB / 377 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1191, allocations: 0 / 377 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1191, allocations: 0 / 377 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1191, allocations: 4 kB / 377 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1191, allocations: 3.953 kB / 377 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.1194, allocations: 167.4 kB / 377.2 MB, free: 7.574 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.1194, allocations: 85.02 kB / 377.3 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.1195, allocations: 4 kB / 377.3 MB, free: 7.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.509e-05/0.1196, allocations: 4 kB / 377.3 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.1196, allocations: 11.92 kB / 377.3 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.1197, allocations: 3.953 kB / 377.3 MB, free: 7.449 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001528/0.1198, allocations: 130.8 kB / 377.4 MB, free: 7.324 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1198, allocations: 0 / 377.4 MB, free: 7.324 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003555/0.1202, allocations: 24 kB / 377.5 MB, free: 7.301 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.00144/0.1216, allocations: 0.972 MB / 378.4 MB, free: 6.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.1219, allocations: 107.3 kB / 378.5 MB, free: 6.293 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1219, allocations: 4 kB / 378.5 MB, free: 6.289 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.269e-05/0.122, allocations: 12 kB / 378.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.1223, allocations: 19.92 kB / 378.6 MB, free: 6.258 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000845/0.1232, allocations: 431.3 kB / 379 MB, free: 5.789 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.1236, allocations: 0.7004 MB / 379.7 MB, free: 5.062 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.219e-05/0.1236, allocations: 11.8 kB / 379.7 MB, free: 5.051 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/0.1237, allocations: 31.42 kB / 379.7 MB, free: 5.02 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1237, allocations: 0 / 379.7 MB, free: 5.02 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.1471, allocations: 2.516 MB / 382.3 MB, free: 2.535 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/0.1474, allocations: 246.2 kB / 382.5 MB, free: 2.199 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.425/2.573, allocations: 3.938 kB / 382.5 MB, free: 2.195 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat