Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test20",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.01102/0.01103, allocations: 106.2 kB / 15.06 MB, free: 6.035 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.001366/0.001366, allocations: 181.9 kB / 15.95 MB, free: 5.965 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 1.961/1.961, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.2742/0.2742, allocations: 40.04 MB / 296.5 MB, free: 6.305 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006646/0.0006647, allocations: 12 kB / 361.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1175, allocations: 54.88 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002498/0.1201, allocations: 1.341 MB / 417.4 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.1218, allocations: 0.7267 MB / 418.1 MB, free: 476 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.1219, allocations: 0 / 418.1 MB, free: 476 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.1222, allocations: 19.92 kB / 418.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.1225, allocations: 39.88 kB / 418.2 MB, free: 416 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.1227, allocations: 59.75 kB / 418.2 MB, free: 356 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.1229, allocations: 51.94 kB / 418.3 MB, free: 304 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.123, allocations: 12 kB / 418.3 MB, free: 292 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.1231, allocations: 43.77 kB / 418.3 MB, free: 248 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.139e-05/0.1232, allocations: 27.86 kB / 418.4 MB, free: 220 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.1232, allocations: 4 kB / 418.4 MB, free: 216 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.1234, allocations: 23.98 kB / 418.4 MB, free: 192 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.1234, allocations: 23.91 kB / 418.4 MB, free: 168 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.914e-05/0.1235, allocations: 37.64 kB / 418.4 MB, free: 124 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.1237, allocations: 84.05 kB / 418.5 MB, free: 40 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.1237, allocations: 0 / 418.5 MB, free: 40 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1237, allocations: 0 / 418.5 MB, free: 40 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1237, allocations: 0 / 418.5 MB, free: 40 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.0006108/0.1244, allocations: 446.4 kB / 419 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1244, allocations: 12.03 kB / 419 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.1245, allocations: 34.56 kB / 419 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.1245, allocations: 11.89 kB / 419 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.1248, allocations: 202.8 kB / 419.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.1248, allocations: 0 / 419.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.1249, allocations: 7.953 kB / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.1251, allocations: 53.67 kB / 419.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1251, allocations: 4 kB / 419.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1251, allocations: 0 / 419.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1251, allocations: 4 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1253, allocations: 19.98 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.1257, allocations: 296.8 kB / 419.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.126, allocations: 58.61 kB / 419.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.1261, allocations: 11.94 kB / 419.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.1263, allocations: 63.52 kB / 419.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.953e-06/0.1263, allocations: 0 / 419.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000794/0.1271, allocations: 185.1 kB / 419.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.1272, allocations: 51.41 kB / 420 MB, free: 14.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.1274, allocations: 182.2 kB / 420.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.1275, allocations: 29.7 kB / 420.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.1276, allocations: 96.12 kB / 420.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.1276, allocations: 27.64 kB / 420.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.1276, allocations: 8 kB / 420.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1278, allocations: 322.8 kB / 420.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1279, allocations: 31.92 kB / 420.6 MB, free: 13.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.1281, allocations: 49.7 kB / 420.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.1282, allocations: 69.69 kB / 420.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1282, allocations: 0 / 420.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000395/0.1286, allocations: 159.2 kB / 420.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.1287, allocations: 33.7 kB / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.1287, allocations: 480 / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1287, allocations: 3.938 kB / 420.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.1289, allocations: 15.98 kB / 421 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.1289, allocations: 4.078 kB / 421 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.075e-05/0.129, allocations: 12 kB / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.1291, allocations: 12.02 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.0001353/0.1292, allocations: 129.7 kB / 421.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.1292, allocations: 11.81 kB / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.1293, allocations: 20.7 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1293, allocations: 0 / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.1293, allocations: 0 / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1294, allocations: 0 / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006564/0.13, allocations: 399.3 kB / 421.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.13, allocations: 0 / 421.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.023e-05/0.1301, allocations: 8 kB / 421.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.1301, allocations: 0 / 421.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.1301, allocations: 7.938 kB / 421.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.1302, allocations: 0 / 421.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1302, allocations: 0 / 421.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.1305, allocations: 218 kB / 421.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.673e-05/0.1306, allocations: 92.91 kB / 421.9 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.1307, allocations: 15.92 kB / 421.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.1308, allocations: 4 kB / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.1308, allocations: 0 / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.1309, allocations: 7.984 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001569/0.131, allocations: 140.1 kB / 422 MB, free: 12.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1311, allocations: 0 / 422 MB, free: 12.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003888/0.1315, allocations: 35.98 kB / 422.1 MB, free: 12.13 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.001797/0.1333, allocations: 1.152 MB / 423.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003957/0.1337, allocations: 147.4 kB / 423.3 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.1337, allocations: 0 / 423.3 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.1338, allocations: 43.84 kB / 423.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.1342, allocations: 19.94 kB / 423.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009941/0.1352, allocations: 0.6131 MB / 424 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.1356, allocations: 0.7121 MB / 424.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.1e-05/0.1356, allocations: 8.438 kB / 424.7 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.286e-05/0.1358, allocations: 31.42 kB / 424.8 MB, free: 9.363 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1358, allocations: 0 / 424.8 MB, free: 9.363 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.1658, allocations: 2.854 MB / 427.6 MB, free: 6.523 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002959/0.1662, allocations: 250.2 kB / 427.9 MB, free: 6.188 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/2.623, allocations: 0 / 427.9 MB, free: 6.188 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat