Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test61",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.01118/0.01118, allocations: 107.9 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.001244/0.001244, 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.036/2.036, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.2899/0.2899, allocations: 40.04 MB / 296.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005917/0.0005919, allocations: 12 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1205, allocations: 54.89 MB / 416 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002443/0.123, allocations: 1.314 MB / 417.3 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.1247, allocations: 0.7111 MB / 418.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.757e-05/0.1248, allocations: 3.938 kB / 418.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.1251, allocations: 15.97 kB / 418.1 MB, free: 488 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.1254, allocations: 43.81 kB / 418.1 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.1256, allocations: 55.88 kB / 418.2 MB, free: 388 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.1258, allocations: 59.88 kB / 418.2 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.247e-05/0.1258, allocations: 4 kB / 418.2 MB, free: 324 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.126, allocations: 43.83 kB / 418.3 MB, free: 280 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.435e-05/0.1261, allocations: 19.92 kB / 418.3 MB, free: 260 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.1261, allocations: 0 / 418.3 MB, free: 260 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.961e-05/0.1262, allocations: 27.88 kB / 418.3 MB, free: 232 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.1263, allocations: 27.89 kB / 418.4 MB, free: 204 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.1263, allocations: 41.64 kB / 418.4 MB, free: 156 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.1266, allocations: 92.09 kB / 418.5 MB, free: 64 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1266, allocations: 0 / 418.5 MB, free: 64 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1266, allocations: 0 / 418.5 MB, free: 64 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1266, allocations: 0 / 418.5 MB, free: 64 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.0006705/0.1273, allocations: 458.2 kB / 418.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.1273, allocations: 8.031 kB / 418.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.1274, allocations: 30.56 kB / 419 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.1274, allocations: 15.81 kB / 419 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.1277, allocations: 210.8 kB / 419.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.1278, allocations: 4 kB / 419.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1278, allocations: 7.953 kB / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.128, allocations: 53.61 kB / 419.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.128, allocations: 0 / 419.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1281, allocations: 0 / 419.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1281, allocations: 0 / 419.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1282, allocations: 19.97 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.1284, allocations: 197.6 kB / 419.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.1287, allocations: 62.55 kB / 419.5 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.1288, allocations: 4 kB / 419.5 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000226/0.129, allocations: 71.38 kB / 419.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.803e-06/0.129, allocations: 0 / 419.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003936/0.1294, allocations: 93.58 kB / 419.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.1295, allocations: 55.41 kB / 419.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.1298, allocations: 258.5 kB / 420 MB, free: 14.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.1299, allocations: 25.7 kB / 420 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.13, allocations: 112.1 kB / 420.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.13, allocations: 19.73 kB / 420.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/0.13, allocations: 4 kB / 420.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1302, allocations: 330.8 kB / 420.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.1303, allocations: 20 kB / 420.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.1304, allocations: 45.69 kB / 420.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.1306, allocations: 53.7 kB / 420.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1306, allocations: 3.938 kB / 420.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003441/0.1309, allocations: 139.2 kB / 420.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.867e-05/0.131, allocations: 37.64 kB / 420.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.131, allocations: 4 kB / 420.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.131, allocations: 0 / 420.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.1312, allocations: 8 kB / 420.8 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1312, allocations: 4.031 kB / 420.8 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.436e-05/0.1313, allocations: 15.91 kB / 420.8 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.1313, allocations: 4 kB / 420.8 MB, free: 13.47 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.0001509/0.1315, allocations: 133.8 kB / 420.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.1315, allocations: 15.8 kB / 421 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.577e-05/0.1316, allocations: 20.95 kB / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1316, allocations: 0 / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1316, allocations: 0 / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1316, allocations: 0 / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.1319, allocations: 205.8 kB / 421.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1319, allocations: 4 kB / 421.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.1319, allocations: 4 kB / 421.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1319, allocations: 0 / 421.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1319, allocations: 0 / 421.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.132, allocations: 7.953 kB / 421.2 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.132, allocations: 0 / 421.2 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.1323, allocations: 112.9 kB / 421.3 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/0.1324, allocations: 93 kB / 421.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.1324, allocations: 4 kB / 421.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.316e-05/0.1325, allocations: 4 kB / 421.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.1325, allocations: 11.94 kB / 421.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.1326, allocations: 0 / 421.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002517/0.1328, allocations: 192.2 kB / 421.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.1328, allocations: 0 / 421.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003188/0.1332, allocations: 31.98 kB / 421.6 MB, free: 12.55 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.001562/0.1347, allocations: 0.9333 MB / 422.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003593/0.1351, allocations: 131.3 kB / 422.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1351, allocations: 0 / 422.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.233e-05/0.1353, allocations: 16 kB / 422.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.1355, allocations: 24.11 kB / 422.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.1366, allocations: 0.6577 MB / 423.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.1371, allocations: 0.7199 MB / 424.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.973e-05/0.1372, allocations: 8.609 kB / 424.1 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.363e-05/0.1373, allocations: 35.42 kB / 424.2 MB, free: 9.996 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/0.1373, allocations: 0 / 424.2 MB, free: 9.996 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.1631, allocations: 2.861 MB / 427 MB, free: 7.148 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003689/0.1636, allocations: 254.3 kB / 427.3 MB, free: 6.809 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/2.54, allocations: 0 / 427.3 MB, free: 6.809 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat does not exist to compare? outputFormat=mat