Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test26",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.01103/0.01103, allocations: 108.5 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.001272/0.001272, allocations: 181.4 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.113/2.113, allocations: 194.6 MB / 211.3 MB, free: 11.21 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.2694/0.2694, allocations: 40.04 MB / 296.5 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004618, allocations: 12 kB / 361.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1198, allocations: 54.89 MB / 416 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002566/0.1224, allocations: 1.353 MB / 417.4 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.1241, allocations: 0.7267 MB / 418.1 MB, free: 476 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.32e-05/0.1243, allocations: 0 / 418.1 MB, free: 476 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.1245, allocations: 23.91 kB / 418.1 MB, free: 452 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.1248, allocations: 39.83 kB / 418.2 MB, free: 412 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.125, allocations: 51.81 kB / 418.2 MB, free: 360 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.1252, allocations: 59.88 kB / 418.3 MB, free: 300 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1253, allocations: 15.98 kB / 418.3 MB, free: 284 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.1254, allocations: 35.84 kB / 418.3 MB, free: 248 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.864e-05/0.1255, allocations: 23.86 kB / 418.4 MB, free: 224 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.1255, allocations: 0 / 418.4 MB, free: 224 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.1257, allocations: 31.97 kB / 418.4 MB, free: 192 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.1258, allocations: 19.92 kB / 418.4 MB, free: 172 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.689e-05/0.1258, allocations: 37.64 kB / 418.4 MB, free: 128 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.126, allocations: 92.03 kB / 418.5 MB, free: 36 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.1261, allocations: 4 kB / 418.5 MB, free: 32 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1261, allocations: 0 / 418.5 MB, free: 32 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1261, allocations: 0 / 418.5 MB, free: 32 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.0006635/0.1268, allocations: 450.4 kB / 419 MB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1268, allocations: 8.031 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.823e-05/0.1269, allocations: 34.56 kB / 419 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.1269, allocations: 11.81 kB / 419 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.1272, allocations: 202.9 kB / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1273, allocations: 0 / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.1273, allocations: 11.95 kB / 419.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.1275, allocations: 57.61 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1276, allocations: 3.984 kB / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1276, allocations: 0 / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1276, allocations: 4 kB / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1277, allocations: 15.98 kB / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/0.1282, allocations: 304.8 kB / 419.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.1285, allocations: 66.61 kB / 419.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.1285, allocations: 0 / 419.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.1287, allocations: 63.52 kB / 419.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.1287, allocations: 0 / 419.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007899/0.1295, allocations: 185.1 kB / 419.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.1296, allocations: 63.39 kB / 420 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.1299, allocations: 187.3 kB / 420.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.1299, allocations: 25.7 kB / 420.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.967e-05/0.13, allocations: 100 kB / 420.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.1301, allocations: 27.64 kB / 420.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.1301, allocations: 8 kB / 420.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1302, allocations: 326.8 kB / 420.6 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.1304, allocations: 27.98 kB / 420.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.1305, allocations: 49.7 kB / 420.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.1307, allocations: 65.62 kB / 420.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1307, allocations: 0 / 420.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004063/0.1311, allocations: 159.3 kB / 420.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.1312, allocations: 33.7 kB / 421 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1312, allocations: 3.984 kB / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1312, allocations: 0 / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.1314, allocations: 19.94 kB / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1314, allocations: 4.031 kB / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.325e-05/0.1315, allocations: 8 kB / 421 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.1315, allocations: 7.984 kB / 421 MB, free: 13.29 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.0001398/0.1317, allocations: 125.8 kB / 421.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.1317, allocations: 11.81 kB / 421.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.015e-05/0.1318, allocations: 17.39 kB / 421.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1318, allocations: 4 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1318, allocations: 0 / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1319, allocations: 4 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006683/0.1325, allocations: 399.3 kB / 421.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.1326, allocations: 0 / 421.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.34e-05/0.1326, allocations: 11.94 kB / 421.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1326, allocations: 3.938 kB / 421.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.1327, allocations: 8 kB / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.1327, allocations: 3.984 kB / 421.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1327, allocations: 0 / 421.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.1331, allocations: 214 kB / 421.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.655e-05/0.1332, allocations: 100.9 kB / 421.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.1332, allocations: 96 / 421.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.1333, allocations: 7.938 kB / 421.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.1334, allocations: 7.984 kB / 421.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.1334, allocations: 8 kB / 421.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002214/0.1337, allocations: 148.8 kB / 422.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1337, allocations: 0 / 422.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000404/0.1341, allocations: 28 kB / 422.1 MB, free: 12.1 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.001986/0.1361, allocations: 1.153 MB / 423.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004584/0.1366, allocations: 155.2 kB / 423.4 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.1366, allocations: 0 / 423.4 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.1368, allocations: 27.92 kB / 423.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.1371, allocations: 36.14 kB / 423.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.1382, allocations: 0.6178 MB / 424.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.1387, allocations: 0.7121 MB / 424.8 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.178e-05/0.1388, allocations: 16.55 kB / 424.8 MB, free: 9.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.585e-05/0.1389, allocations: 31.42 kB / 424.8 MB, free: 9.309 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1389, allocations: 4 kB / 424.8 MB, free: 9.305 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.1627, allocations: 2.904 MB / 427.7 MB, free: 6.414 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000391/0.1631, allocations: 242.3 kB / 428 MB, free: 6.086 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/2.478, allocations: 0 / 428 MB, free: 6.086 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat does not exist to compare? outputFormat=mat