Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01104/0.01105, allocations: 107.7 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.2.mo): time 0.00125/0.00125, allocations: 177.9 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.02/2.02, allocations: 194.6 MB / 211.3 MB, free: 10.92 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2635/0.2635, allocations: 40.04 MB / 296.5 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004802, allocations: 20 kB / 361.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1152, allocations: 54.89 MB / 416 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002434/0.1177, allocations: 1.349 MB / 417.4 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.1193, allocations: 0.7228 MB / 418.1 MB, free: 448 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.185e-05/0.1194, allocations: 0 / 418.1 MB, free: 448 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.1197, allocations: 23.91 kB / 418.1 MB, free: 424 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.1199, allocations: 35.83 kB / 418.2 MB, free: 388 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.1202, allocations: 59.81 kB / 418.2 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.1203, allocations: 55.88 kB / 418.3 MB, free: 272 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.1204, allocations: 11.98 kB / 418.3 MB, free: 260 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.861e-05/0.1205, allocations: 39.84 kB / 418.3 MB, free: 220 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.1206, allocations: 23.86 kB / 418.4 MB, free: 196 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1207, allocations: 4 kB / 418.4 MB, free: 192 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.1208, allocations: 31.97 kB / 418.4 MB, free: 160 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.1208, allocations: 11.92 kB / 418.4 MB, free: 148 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/0.1209, allocations: 33.7 kB / 418.4 MB, free: 108 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.1211, allocations: 88.05 kB / 418.5 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1211, allocations: 0 / 418.5 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1211, allocations: 4 kB / 418.5 MB, free: 16 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1211, allocations: 0 / 418.5 MB, free: 16 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005927/0.1217, allocations: 450.3 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1218, allocations: 8.031 kB / 419 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.1218, allocations: 34.56 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.1219, allocations: 7.906 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.1222, allocations: 191.5 kB / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.1222, allocations: 8 kB / 419.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.1222, allocations: 11.95 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.1224, allocations: 57.66 kB / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1225, allocations: 0 / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1225, allocations: 0 / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1225, allocations: 0 / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.1226, allocations: 23.92 kB / 419.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.1231, allocations: 300.8 kB / 419.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.1233, allocations: 66.67 kB / 419.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.1234, allocations: 3.938 kB / 419.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.1236, allocations: 63.45 kB / 419.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.1236, allocations: 0 / 419.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007558/0.1244, allocations: 181.2 kB / 419.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.1244, allocations: 55.41 kB / 420 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.1247, allocations: 170.4 kB / 420.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1247, allocations: 25.7 kB / 420.1 MB, free: 14.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.1248, allocations: 100.1 kB / 420.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.1248, allocations: 19.72 kB / 420.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.1248, allocations: 4 kB / 420.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.125, allocations: 322.8 kB / 420.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1251, allocations: 31.98 kB / 420.6 MB, free: 13.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1252, allocations: 53.64 kB / 420.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.1254, allocations: 65.69 kB / 420.7 MB, free: 13.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1254, allocations: 0 / 420.7 MB, free: 13.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000384/0.1258, allocations: 159.1 kB / 420.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/0.1259, allocations: 37.69 kB / 420.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1259, allocations: 0 / 420.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1259, allocations: 0 / 420.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.1261, allocations: 15.94 kB / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1261, allocations: 8.031 kB / 420.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.98e-05/0.1262, allocations: 8 kB / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.1262, allocations: 7.984 kB / 421 MB, free: 13.31 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001267/0.1264, allocations: 121.8 kB / 421.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.1264, allocations: 7.906 kB / 421.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.724e-05/0.1265, allocations: 16.7 kB / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1265, allocations: 0 / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1265, allocations: 0 / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1265, allocations: 4 kB / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006675/0.1272, allocations: 395.3 kB / 421.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1272, allocations: 0 / 421.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.009e-05/0.1273, allocations: 8 kB / 421.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1273, allocations: 0 / 421.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1273, allocations: 7.938 kB / 421.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.1273, allocations: 0 / 421.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.1273, allocations: 3.938 kB / 421.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.1277, allocations: 221.9 kB / 421.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-05/0.1278, allocations: 93 kB / 421.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.1278, allocations: 8.453 kB / 421.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.128, allocations: 7.938 kB / 421.8 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.128, allocations: 8 kB / 421.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.1281, allocations: 3.984 kB / 421.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001495/0.1282, allocations: 134.7 kB / 422 MB, free: 12.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1282, allocations: 0 / 422 MB, free: 12.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000372/0.1286, allocations: 32 kB / 422 MB, free: 12.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001896/0.1305, allocations: 1.157 MB / 423.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003949/0.131, allocations: 147.3 kB / 423.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.131, allocations: 0 / 423.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1311, allocations: 31.92 kB / 423.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.1315, allocations: 23.94 kB / 423.4 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009517/0.1324, allocations: 0.5939 MB / 424 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1327, allocations: 0.7082 MB / 424.7 MB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.394e-05/0.1328, allocations: 16.56 kB / 424.7 MB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.959e-05/0.1329, allocations: 31.42 kB / 424.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1329, allocations: 0 / 424.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.1644, allocations: 2.785 MB / 427.5 MB, free: 6.629 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003572/0.1648, allocations: 250.2 kB / 427.7 MB, free: 6.293 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/2.551, allocations: 0 / 427.7 MB, free: 6.293 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat