Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test76",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.01562/0.01562, allocations: 111.3 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.001855/0.001854, allocations: 183 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 1.9/1.9, allocations: 194.5 MB / 211.3 MB, free: 11.05 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.2851/0.2851, allocations: 40.05 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004664, allocations: 12 kB / 361.1 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1153, allocations: 54.88 MB / 416 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002458/0.1178, allocations: 1.349 MB / 417.4 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.1195, allocations: 0.7228 MB / 418.1 MB, free: 452 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.356e-05/0.1197, allocations: 0 / 418.1 MB, free: 452 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.12, allocations: 39.88 kB / 418.1 MB, free: 412 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.1202, allocations: 39.83 kB / 418.2 MB, free: 372 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.1204, allocations: 55.81 kB / 418.2 MB, free: 316 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1206, allocations: 71.86 kB / 418.3 MB, free: 244 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1208, allocations: 15.97 kB / 418.3 MB, free: 228 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.1209, allocations: 39.86 kB / 418.4 MB, free: 188 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.121, allocations: 43.83 kB / 418.4 MB, free: 144 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.121, allocations: 4 kB / 418.4 MB, free: 140 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.1212, allocations: 19.98 kB / 418.4 MB, free: 120 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/0.1212, allocations: 23.92 kB / 418.4 MB, free: 96 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.052e-05/0.1213, allocations: 41.64 kB / 418.5 MB, free: 48 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.1215, allocations: 104.2 kB / 418.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.1216, allocations: 0 / 418.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1216, allocations: 4 kB / 418.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1216, allocations: 0 / 418.6 MB, free: 15.94 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006343/0.1222, allocations: 446.2 kB / 419 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1223, allocations: 8.031 kB / 419 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.1223, allocations: 34.56 kB / 419.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.1224, allocations: 15.8 kB / 419.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.1227, allocations: 210.8 kB / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.1228, allocations: 8 kB / 419.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.1228, allocations: 11.94 kB / 419.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.123, allocations: 77.59 kB / 419.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1231, allocations: 0 / 419.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1231, allocations: 0 / 419.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1231, allocations: 0 / 419.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.1233, allocations: 39.97 kB / 419.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.1238, allocations: 320.7 kB / 419.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.1242, allocations: 86.67 kB / 419.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.1242, allocations: 4 kB / 419.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.1245, allocations: 75.38 kB / 419.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.884e-06/0.1245, allocations: 4 kB / 419.9 MB, free: 14.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009234/0.1254, allocations: 233 kB / 420.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.1255, allocations: 55.41 kB / 420.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.1257, allocations: 179.3 kB / 420.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.1258, allocations: 33.64 kB / 420.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.1259, allocations: 96.38 kB / 420.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.854e-05/0.1259, allocations: 35.69 kB / 420.5 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/0.126, allocations: 4 kB / 420.5 MB, free: 13.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1261, allocations: 326.8 kB / 420.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.1263, allocations: 43.97 kB / 420.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.1264, allocations: 57.7 kB / 420.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.1266, allocations: 73.69 kB / 421 MB, free: 13.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1267, allocations: 0 / 421 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004801/0.1271, allocations: 195.1 kB / 421.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.1272, allocations: 37.69 kB / 421.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1272, allocations: 0 / 421.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1273, allocations: 7.938 kB / 421.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.1274, allocations: 19.98 kB / 421.3 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1275, allocations: 4.031 kB / 421.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.415e-05/0.1276, allocations: 12 kB / 421.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.1276, allocations: 4 kB / 421.3 MB, free: 12.98 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 (13): * Single equations (assignments): 12 * 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.0001725/0.1278, allocations: 137.7 kB / 421.4 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.1278, allocations: 7.906 kB / 421.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.518e-05/0.1279, allocations: 17.41 kB / 421.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1279, allocations: 3.984 kB / 421.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1279, allocations: 0 / 421.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1279, allocations: 0 / 421.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007714/0.1287, allocations: 439.4 kB / 421.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1287, allocations: 96 / 421.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.347e-05/0.1288, allocations: 11.94 kB / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1288, allocations: 4 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1289, allocations: 0 / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.1289, allocations: 7.938 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1289, allocations: 0 / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.1293, allocations: 249.8 kB / 422.2 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.784e-05/0.1294, allocations: 97 kB / 422.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.1295, allocations: 7.984 kB / 422.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.1296, allocations: 4 kB / 422.3 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.1297, allocations: 7.984 kB / 422.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.1297, allocations: 4 kB / 422.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.1299, allocations: 140.8 kB / 422.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1299, allocations: 0 / 422.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003937/0.1303, allocations: 35.98 kB / 422.4 MB, free: 11.72 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 (10): * Single equations (assignments): 8 * 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.001949/0.1323, allocations: 1.196 MB / 423.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004656/0.1328, allocations: 171.3 kB / 423.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1328, allocations: 0 / 423.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.1329, allocations: 39.92 kB / 423.8 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.1333, allocations: 27.94 kB / 423.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.1344, allocations: 0.641 MB / 424.5 MB, free: 9.629 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.1347, allocations: 0.7121 MB / 425.2 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000115/0.1349, allocations: 16.89 kB / 425.2 MB, free: 8.871 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.135, allocations: 39.41 kB / 425.3 MB, free: 8.832 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.135, allocations: 4 kB / 425.3 MB, free: 8.828 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.1639, allocations: 3.124 MB / 428.4 MB, free: 5.719 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003481/0.1643, allocations: 250.1 kB / 428.7 MB, free: 5.383 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/2.617, allocations: 0 / 428.7 MB, free: 5.383 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat does not exist to compare? outputFormat=mat