Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test28",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.01261/0.01261, allocations: 108.4 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.001827/0.001827, allocations: 181.8 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.093/2.093, allocations: 194.5 MB / 211.3 MB, free: 11.02 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.2672/0.2672, allocations: 40.04 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006447/0.0006449, allocations: 12 kB / 361.2 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1158, allocations: 54.88 MB / 416 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002508/0.1184, allocations: 1.345 MB / 417.4 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.12, allocations: 0.7267 MB / 418.1 MB, free: 444 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.802e-05/0.1201, allocations: 4 kB / 418.1 MB, free: 440 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.1204, allocations: 15.92 kB / 418.1 MB, free: 424 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.1206, allocations: 35.83 kB / 418.2 MB, free: 388 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.1209, allocations: 55.81 kB / 418.2 MB, free: 332 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.121, allocations: 63.86 kB / 418.3 MB, free: 268 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.1211, allocations: 12 kB / 418.3 MB, free: 256 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1213, allocations: 39.83 kB / 418.3 MB, free: 216 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.874e-05/0.1214, allocations: 23.86 kB / 418.4 MB, free: 192 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.1214, allocations: 4 kB / 418.4 MB, free: 188 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1216, allocations: 20 kB / 418.4 MB, free: 168 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.1216, allocations: 23.91 kB / 418.4 MB, free: 144 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.815e-05/0.1217, allocations: 33.7 kB / 418.4 MB, free: 104 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.1219, allocations: 88.03 kB / 418.5 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.1219, allocations: 3.938 kB / 418.5 MB, free: 12 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1219, allocations: 4 kB / 418.5 MB, free: 8 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1219, allocations: 0 / 418.5 MB, free: 8 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.0006196/0.1226, allocations: 446.4 kB / 419 MB, free: 15.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1226, allocations: 8.031 kB / 419 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.1227, allocations: 34.56 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.1227, allocations: 7.906 kB / 419 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.123, allocations: 202.9 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.123, allocations: 0 / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.1231, allocations: 19.94 kB / 419.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.1233, allocations: 53.67 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1233, allocations: 3.938 kB / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1233, allocations: 4 kB / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.1234, allocations: 0 / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.1235, allocations: 19.98 kB / 419.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.1239, allocations: 300.7 kB / 419.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.1242, allocations: 66.55 kB / 419.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.1242, allocations: 0 / 419.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.1245, allocations: 63.52 kB / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.774e-06/0.1245, allocations: 0 / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008116/0.1253, allocations: 181.4 kB / 419.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.1254, allocations: 55.41 kB / 420 MB, free: 14.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.1256, allocations: 186.1 kB / 420.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.1257, allocations: 25.7 kB / 420.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.1257, allocations: 96.14 kB / 420.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.1258, allocations: 31.62 kB / 420.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.1258, allocations: 4 kB / 420.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1259, allocations: 326.8 kB / 420.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1261, allocations: 27.98 kB / 420.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1262, allocations: 49.7 kB / 420.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.1264, allocations: 69.69 kB / 420.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1264, allocations: 0 / 420.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003802/0.1268, allocations: 155.2 kB / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.886e-05/0.1269, allocations: 33.7 kB / 420.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1269, allocations: 0 / 420.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1269, allocations: 0 / 420.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.1271, allocations: 23.92 kB / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.1271, allocations: 4.031 kB / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.597e-05/0.1272, allocations: 8 kB / 421 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.1272, allocations: 4 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.0001316/0.1273, allocations: 125.8 kB / 421.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.1274, allocations: 19.81 kB / 421.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.869e-05/0.1275, allocations: 16.7 kB / 421.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1275, allocations: 0 / 421.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1275, allocations: 0 / 421.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1275, allocations: 0 / 421.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006256/0.1281, allocations: 395.3 kB / 421.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1281, allocations: 0 / 421.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.1282, allocations: 11.94 kB / 421.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1282, allocations: 0 / 421.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.1283, allocations: 8 kB / 421.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.1283, allocations: 3.938 kB / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1283, allocations: 0 / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.1286, allocations: 214 kB / 421.8 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/0.1287, allocations: 100.9 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.1288, allocations: 3.984 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1289, allocations: 4.094 kB / 421.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.129, allocations: 7.938 kB / 421.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.129, allocations: 7.984 kB / 421.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001593/0.1292, allocations: 140.1 kB / 422 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1292, allocations: 0 / 422 MB, free: 12.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004279/0.1296, allocations: 31.98 kB / 422 MB, free: 12.11 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.001844/0.1315, allocations: 1.153 MB / 423.2 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00038/0.1319, allocations: 155.2 kB / 423.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1319, allocations: 0 / 423.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.132, allocations: 35.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.0003287/0.1324, allocations: 19.94 kB / 423.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1334, allocations: 0.6171 MB / 424 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.1337, allocations: 0.7082 MB / 424.7 MB, free: 9.379 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.836e-05/0.1338, allocations: 12.56 kB / 424.7 MB, free: 9.367 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.556e-05/0.1339, allocations: 27.42 kB / 424.8 MB, free: 9.34 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1339, allocations: 0 / 424.8 MB, free: 9.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.1586, allocations: 2.845 MB / 427.6 MB, free: 6.508 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003598/0.159, allocations: 254.2 kB / 427.9 MB, free: 6.168 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/2.401, allocations: 4 kB / 427.9 MB, free: 6.164 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat