Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test50",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.0108/0.0108, allocations: 108.1 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.001248/0.001248, allocations: 181.7 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.888/1.888, allocations: 194.6 MB / 211.3 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.2594/0.2594, allocations: 40.04 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.0004659, allocations: 15.94 kB / 361.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.11, allocations: 54.89 MB / 416 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002497/0.1125, allocations: 1.341 MB / 417.4 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.1151, allocations: 1.282 MB / 418.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.506e-05/0.1152, allocations: 7.938 kB / 418.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.1155, allocations: 31.83 kB / 418.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.1157, allocations: 35.89 kB / 418.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.1159, allocations: 55.83 kB / 418.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1161, allocations: 67.84 kB / 418.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1162, allocations: 15.97 kB / 418.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.976e-05/0.1163, allocations: 35.84 kB / 418.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.1165, allocations: 35.84 kB / 418.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.1166, allocations: 4 kB / 418.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.1167, allocations: 47.91 kB / 419 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.1168, allocations: 15.92 kB / 419 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.1169, allocations: 41.64 kB / 419 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.1171, allocations: 108 kB / 419.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1171, allocations: 0 / 419.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1171, allocations: 0 / 419.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.487e-06/0.1172, allocations: 0 / 419.2 MB, free: 15.39 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006427/0.1178, allocations: 442.5 kB / 419.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1179, allocations: 12.03 kB / 419.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/0.1179, allocations: 30.56 kB / 419.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.118, allocations: 7.906 kB / 419.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.1183, allocations: 207 kB / 419.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.1183, allocations: 11.94 kB / 419.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.1184, allocations: 7.938 kB / 419.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.1186, allocations: 75.33 kB / 419.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1187, allocations: 3.906 kB / 419.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.1187, allocations: 4 kB / 419.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1187, allocations: 0 / 419.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.1188, allocations: 27.97 kB / 420 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.1193, allocations: 312.8 kB / 420.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.1196, allocations: 74.61 kB / 420.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.1197, allocations: 4.062 kB / 420.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.1199, allocations: 71.52 kB / 420.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.1199, allocations: 4 kB / 420.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008451/0.1208, allocations: 197.3 kB / 420.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.1209, allocations: 85.05 kB / 420.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.1211, allocations: 156.8 kB / 420.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.1211, allocations: 37.69 kB / 420.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/0.1212, allocations: 88.14 kB / 421 MB, free: 13.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.1213, allocations: 27.69 kB / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.1213, allocations: 4 kB / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1214, allocations: 330.9 kB / 421.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1216, allocations: 35.92 kB / 421.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.1217, allocations: 66.44 kB / 421.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.1219, allocations: 73.69 kB / 421.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1219, allocations: 0 / 421.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004768/0.1224, allocations: 179.2 kB / 421.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.721e-05/0.1225, allocations: 41.69 kB / 421.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1225, allocations: 0 / 421.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1225, allocations: 0 / 421.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.1227, allocations: 19.98 kB / 421.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1227, allocations: 0 / 421.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.989e-05/0.1228, allocations: 8 kB / 421.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.1228, allocations: 12.41 kB / 421.8 MB, free: 12.51 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 (12): * Single equations (assignments): 11 * 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.0001312/0.123, allocations: 129.8 kB / 421.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.123, allocations: 11.91 kB / 421.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.563e-05/0.1231, allocations: 16.66 kB / 421.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1231, allocations: 0 / 421.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1231, allocations: 0 / 421.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1231, allocations: 0 / 421.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006855/0.1238, allocations: 415.2 kB / 422.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.1238, allocations: 4 kB / 422.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.526e-05/0.1239, allocations: 11.98 kB / 422.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1239, allocations: 4.031 kB / 422.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.124, allocations: 4 kB / 422.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.124, allocations: 4 kB / 422.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.124, allocations: 0 / 422.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.1244, allocations: 229.9 kB / 422.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-05/0.1245, allocations: 104.9 kB / 422.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.1245, allocations: 8 kB / 422.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.1247, allocations: 4 kB / 422.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.1247, allocations: 15.88 kB / 422.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.1248, allocations: 8 kB / 422.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1249, allocations: 111.8 kB / 422.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1249, allocations: 0 / 422.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004165/0.1253, allocations: 43.98 kB / 422.9 MB, free: 11.3 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 (9): * Single equations (assignments): 7 * 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.002079/0.1274, allocations: 1.248 MB / 424.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004555/0.1279, allocations: 159.3 kB / 424.3 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.128, allocations: 192 / 424.3 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.1281, allocations: 36.11 kB / 424.3 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.1284, allocations: 27.88 kB / 424.3 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.1295, allocations: 0.6089 MB / 424.9 MB, free: 9.195 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1298, allocations: 0.7004 MB / 425.6 MB, free: 8.469 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.1299, allocations: 20.55 kB / 425.7 MB, free: 8.449 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.13, allocations: 31.42 kB / 425.7 MB, free: 8.418 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.13, allocations: 0 / 425.7 MB, free: 8.418 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.1583, allocations: 3.234 MB / 428.9 MB, free: 5.199 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003712/0.1587, allocations: 254.8 kB / 429.2 MB, free: 4.859 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.362/2.521, allocations: 3.938 kB / 429.2 MB, free: 4.855 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat