Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test65",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.01073/0.01074, allocations: 104 kB / 15.06 MB, free: 6.027 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.001241/0.001241, allocations: 182.4 kB / 15.95 MB, free: 5.953 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.01/2.01, allocations: 194.5 MB / 211.2 MB, free: 11.08 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.2688/0.2688, allocations: 40.04 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004799, allocations: 16 kB / 361.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1196, allocations: 54.87 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.00244/0.1221, allocations: 1.314 MB / 417.3 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.1238, allocations: 0.7033 MB / 418 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.103e-05/0.1239, allocations: 4 kB / 418 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.1243, allocations: 67.83 kB / 418.1 MB, free: 460 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.1246, allocations: 63.78 kB / 418.2 MB, free: 396 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.1249, allocations: 51.88 kB / 418.2 MB, free: 344 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.1252, allocations: 59.86 kB / 418.3 MB, free: 284 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.143e-05/0.1252, allocations: 4 kB / 418.3 MB, free: 280 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.1254, allocations: 47.83 kB / 418.3 MB, free: 232 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.1256, allocations: 39.89 kB / 418.4 MB, free: 192 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.1256, allocations: 7.938 kB / 418.4 MB, free: 184 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1257, allocations: 23.92 kB / 418.4 MB, free: 160 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.1258, allocations: 11.98 kB / 418.4 MB, free: 148 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.024e-05/0.1259, allocations: 45.62 kB / 418.5 MB, free: 96 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.1262, allocations: 76.11 kB / 418.5 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1262, allocations: 0 / 418.5 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1262, allocations: 0 / 418.5 MB, free: 20 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1262, allocations: 0 / 418.5 MB, free: 20 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007938/0.127, allocations: 454.3 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.1271, allocations: 8.031 kB / 419 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.617e-05/0.1272, allocations: 38.5 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.689e-05/0.1272, allocations: 11.81 kB / 419 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.1276, allocations: 195.6 kB / 419.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.1276, allocations: 12 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.1277, allocations: 7.953 kB / 419.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.1279, allocations: 45.67 kB / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1279, allocations: 0 / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.128, allocations: 0 / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.128, allocations: 0 / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.1281, allocations: 19.98 kB / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.1285, allocations: 189.7 kB / 419.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.1288, allocations: 54.56 kB / 419.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.1288, allocations: 0 / 419.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.1291, allocations: 67.44 kB / 419.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 2.535e-06/0.1291, allocations: 4 kB / 419.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005041/0.1297, allocations: 97.42 kB / 419.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.1297, allocations: 63.33 kB / 419.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/0.1301, allocations: 207.1 kB / 420 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.1302, allocations: 25.7 kB / 420 MB, free: 14.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.1303, allocations: 104.1 kB / 420.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.1304, allocations: 19.73 kB / 420.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.1304, allocations: 0 / 420.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.1306, allocations: 326.8 kB / 420.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1307, allocations: 23.98 kB / 420.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.1309, allocations: 41.7 kB / 420.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.1311, allocations: 57.64 kB / 420.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.1311, allocations: 3.984 kB / 420.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004523/0.1316, allocations: 131.2 kB / 420.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.748e-05/0.1317, allocations: 45.58 kB / 420.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1317, allocations: 80 / 420.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.1317, allocations: 4 kB / 420.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.1319, allocations: 8 kB / 420.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.1319, allocations: 7.969 kB / 420.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.1321, allocations: 11.94 kB / 420.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.1321, allocations: 4 kB / 420.8 MB, free: 13.52 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 (8): * Single equations (assignments): 7 * 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.0001824/0.1323, allocations: 129.8 kB / 420.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.1324, allocations: 8.219 kB / 420.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.1324, allocations: 16.95 kB / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1324, allocations: 0 / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1325, allocations: 4 kB / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1325, allocations: 0 / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.1327, allocations: 193.6 kB / 421.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1328, allocations: 0 / 421.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/0.1328, allocations: 4 kB / 421.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1328, allocations: 0 / 421.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.1329, allocations: 11.94 kB / 421.1 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.1329, allocations: 7.891 kB / 421.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1329, allocations: 0 / 421.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.1333, allocations: 104.9 kB / 421.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.1334, allocations: 101 kB / 421.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.1335, allocations: 0 / 421.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.1336, allocations: 4 kB / 421.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.1336, allocations: 15.94 kB / 421.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.1337, allocations: 0 / 421.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002652/0.1339, allocations: 151.2 kB / 421.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.134, allocations: 0 / 421.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004635/0.1344, allocations: 28 kB / 421.5 MB, free: 12.66 MB / 362.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.002144/0.1366, allocations: 0.9348 MB / 422.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004491/0.1371, allocations: 131.4 kB / 422.6 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1371, allocations: 3.938 kB / 422.6 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.1372, allocations: 23.98 kB / 422.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.1376, allocations: 19.94 kB / 422.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.1388, allocations: 0.5978 MB / 423.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.1393, allocations: 0.7199 MB / 424 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.782e-05/0.1394, allocations: 12.61 kB / 424 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.752e-05/0.1395, allocations: 27.42 kB / 424 MB, free: 10.15 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1395, allocations: 0 / 424 MB, free: 10.15 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06159/0.2011, allocations: 2.651 MB / 426.7 MB, free: 7.512 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000349/0.2015, allocations: 242.3 kB / 426.9 MB, free: 7.184 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/2.622, allocations: 0 / 426.9 MB, free: 7.184 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat