Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test43",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.01067/0.01067, allocations: 107.5 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.0012/0.0012, allocations: 182 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 1.928/1.928, allocations: 194.5 MB / 211.2 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.2681/0.2681, allocations: 40.05 MB / 296.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000453/0.0004531, allocations: 12 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1205, allocations: 54.89 MB / 416 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003319/0.1239, allocations: 1.349 MB / 417.4 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.1261, allocations: 0.7228 MB / 418.1 MB, free: 460 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.788e-05/0.1262, allocations: 4 kB / 418.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.1265, allocations: 19.91 kB / 418.1 MB, free: 436 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.1268, allocations: 39.83 kB / 418.2 MB, free: 396 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.1271, allocations: 55.81 kB / 418.2 MB, free: 340 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.1273, allocations: 59.86 kB / 418.3 MB, free: 280 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1274, allocations: 8 kB / 418.3 MB, free: 272 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1276, allocations: 35.84 kB / 418.3 MB, free: 236 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.794e-05/0.1277, allocations: 31.86 kB / 418.4 MB, free: 204 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.1277, allocations: 4 kB / 418.4 MB, free: 200 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.1279, allocations: 27.97 kB / 418.4 MB, free: 172 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.1279, allocations: 19.92 kB / 418.4 MB, free: 152 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.351e-05/0.128, allocations: 41.64 kB / 418.4 MB, free: 104 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.1283, allocations: 88.03 kB / 418.5 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1283, allocations: 0 / 418.5 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1283, allocations: 0 / 418.5 MB, free: 16 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1283, allocations: 4 kB / 418.5 MB, free: 12 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.0007294/0.1291, allocations: 450.4 kB / 419 MB, free: 15.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.1291, allocations: 8.031 kB / 419 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.1292, allocations: 34.56 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.1293, allocations: 11.81 kB / 419 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.1296, allocations: 198.9 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.1296, allocations: 4 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.1297, allocations: 7.953 kB / 419.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.13, allocations: 57.61 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.13, allocations: 0 / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.13, allocations: 0 / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.1301, allocations: 8 kB / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.1302, allocations: 15.98 kB / 419.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.1308, allocations: 296.9 kB / 419.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.1311, allocations: 62.61 kB / 419.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.1312, allocations: 3.938 kB / 419.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002612/0.1314, allocations: 67.52 kB / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.475e-06/0.1315, allocations: 0 / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009535/0.1324, allocations: 185.1 kB / 419.9 MB, free: 14.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/0.1325, allocations: 59.34 kB / 420 MB, free: 14.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000389/0.1329, allocations: 187.3 kB / 420.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.133, allocations: 25.7 kB / 420.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.1331, allocations: 112 kB / 420.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.1332, allocations: 23.66 kB / 420.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/0.1332, allocations: 0 / 420.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1334, allocations: 330.8 kB / 420.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.1335, allocations: 27.98 kB / 420.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.1338, allocations: 45.69 kB / 420.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.134, allocations: 69.64 kB / 420.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.134, allocations: 4 kB / 420.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005381/0.1346, allocations: 155.3 kB / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.44e-05/0.1347, allocations: 41.69 kB / 421 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1347, allocations: 0 / 421 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1347, allocations: 0 / 421 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.1349, allocations: 20.31 kB / 421 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1349, allocations: 0 / 421 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.1351, allocations: 7.984 kB / 421 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.1351, allocations: 12 kB / 421 MB, free: 13.27 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.0001839/0.1353, allocations: 129.8 kB / 421.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.1354, allocations: 15.8 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.125e-05/0.1355, allocations: 17.39 kB / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.1355, allocations: 4 kB / 421.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1355, allocations: 0 / 421.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1355, allocations: 0 / 421.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008495/0.1364, allocations: 395.3 kB / 421.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1364, allocations: 4.031 kB / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.27e-05/0.1365, allocations: 11.94 kB / 421.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.1365, allocations: 3.984 kB / 421.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.1366, allocations: 7.938 kB / 421.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1366, allocations: 0 / 421.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1366, allocations: 0 / 421.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.1371, allocations: 222.1 kB / 421.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.1372, allocations: 96.91 kB / 421.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.1373, allocations: 4 kB / 421.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.1375, allocations: 4 kB / 421.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.1375, allocations: 7.984 kB / 421.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.1376, allocations: 0 / 421.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002551/0.1378, allocations: 152.8 kB / 422.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.1379, allocations: 0 / 422.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005905/0.1385, allocations: 24.09 kB / 422.1 MB, free: 12.09 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.002538/0.141, allocations: 1.155 MB / 423.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004891/0.1415, allocations: 155.3 kB / 423.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.1416, allocations: 0 / 423.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.1417, allocations: 31.86 kB / 423.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.1422, allocations: 27.88 kB / 423.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.1435, allocations: 0.6179 MB / 424.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.144, allocations: 0.716 MB / 424.8 MB, free: 9.336 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.1441, allocations: 16.75 kB / 424.8 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.1442, allocations: 35.36 kB / 424.8 MB, free: 9.285 MB / 362.7 MB Notification: Performance of SimCode: time 3.206e-06/0.1442, allocations: 0 / 424.8 MB, free: 9.285 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04182/0.1861, allocations: 2.899 MB / 427.7 MB, free: 6.402 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003446/0.1865, allocations: 246.2 kB / 428 MB, free: 6.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/2.539, allocations: 3.938 kB / 428 MB, free: 6.066 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat