Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test54",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.01076/0.01077, allocations: 108.5 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.001189/0.001189, allocations: 181.3 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.996/1.996, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.2652/0.2652, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004724, allocations: 16 kB / 361.1 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1119, allocations: 54.89 MB / 416 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002354/0.1143, allocations: 1.357 MB / 417.4 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.1159, allocations: 0.7189 MB / 418.1 MB, free: 444 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.664e-05/0.116, allocations: 0 / 418.1 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.1163, allocations: 23.91 kB / 418.1 MB, free: 420 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.1165, allocations: 43.81 kB / 418.2 MB, free: 376 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.1167, allocations: 55.81 kB / 418.2 MB, free: 320 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.1169, allocations: 59.88 kB / 418.3 MB, free: 260 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.826e-05/0.117, allocations: 7.984 kB / 418.3 MB, free: 252 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1171, allocations: 43.84 kB / 418.3 MB, free: 208 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.007e-05/0.1172, allocations: 27.86 kB / 418.4 MB, free: 180 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.1172, allocations: 0 / 418.4 MB, free: 180 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1174, allocations: 27.98 kB / 418.4 MB, free: 152 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.331e-05/0.1174, allocations: 23.91 kB / 418.4 MB, free: 128 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.697e-05/0.1175, allocations: 45.62 kB / 418.5 MB, free: 76 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.1177, allocations: 92.03 kB / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1178, allocations: 0 / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1178, allocations: 0 / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1178, allocations: 0 / 418.6 MB, free: 15.98 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006302/0.1184, allocations: 458.3 kB / 419 MB, free: 15.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.1185, allocations: 12.03 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.1185, allocations: 34.55 kB / 419 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.1186, allocations: 7.906 kB / 419.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.1189, allocations: 207.6 kB / 419.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.1189, allocations: 4 kB / 419.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.119, allocations: 11.94 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.1192, allocations: 57.61 kB / 419.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1192, allocations: 4 kB / 419.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1192, allocations: 0 / 419.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1192, allocations: 0 / 419.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.1194, allocations: 19.98 kB / 419.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.1199, allocations: 304.7 kB / 419.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.1202, allocations: 66.56 kB / 419.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.1202, allocations: 3.984 kB / 419.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.1205, allocations: 63.52 kB / 419.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.1205, allocations: 3.938 kB / 419.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007646/0.1213, allocations: 181.2 kB / 420 MB, free: 14.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.1213, allocations: 55.39 kB / 420 MB, free: 14.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.1216, allocations: 226.2 kB / 420.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.1217, allocations: 33.69 kB / 420.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/0.1218, allocations: 104.1 kB / 420.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.1218, allocations: 23.7 kB / 420.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.1218, allocations: 0 / 420.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.122, allocations: 326.8 kB / 420.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1221, allocations: 31.98 kB / 420.7 MB, free: 13.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.1222, allocations: 49.64 kB / 420.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.1224, allocations: 69.69 kB / 420.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1224, allocations: 0 / 420.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003891/0.1228, allocations: 159.1 kB / 421 MB, free: 13.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.696e-05/0.1229, allocations: 37.7 kB / 421.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1229, allocations: 0 / 421.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1229, allocations: 3.984 kB / 421.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.1231, allocations: 12 kB / 421.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1231, allocations: 4 kB / 421.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.1232, allocations: 4 kB / 421.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.1232, allocations: 8.406 kB / 421.1 MB, free: 13.19 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.0001595/0.1234, allocations: 137.7 kB / 421.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.1234, allocations: 7.906 kB / 421.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.417e-05/0.1235, allocations: 21.39 kB / 421.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1235, allocations: 0 / 421.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.1235, allocations: 4 kB / 421.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1235, allocations: 3.938 kB / 421.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006686/0.1242, allocations: 399.3 kB / 421.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1242, allocations: 0 / 421.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.457e-05/0.1243, allocations: 15.92 kB / 421.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1243, allocations: 3.938 kB / 421.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.1244, allocations: 8 kB / 421.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1244, allocations: 0 / 421.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1244, allocations: 0 / 421.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.1248, allocations: 221.9 kB / 421.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.601e-05/0.1249, allocations: 96.91 kB / 422 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.1249, allocations: 0 / 422 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.125, allocations: 7.984 kB / 422 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.1251, allocations: 11.92 kB / 422 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.1251, allocations: 8 kB / 422 MB, free: 12.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001982/0.1253, allocations: 163.3 kB / 422.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1254, allocations: 7.938 kB / 422.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003666/0.1257, allocations: 32 kB / 422.2 MB, free: 11.95 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.001828/0.1276, allocations: 1.153 MB / 423.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004014/0.128, allocations: 147.3 kB / 423.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.128, allocations: 3.938 kB / 423.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.1281, allocations: 35.92 kB / 423.5 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.1285, allocations: 19.94 kB / 423.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.1295, allocations: 0.6463 MB / 424.2 MB, free: 9.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.1299, allocations: 0.7121 MB / 424.9 MB, free: 9.191 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.546e-05/0.13, allocations: 16.55 kB / 424.9 MB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.528e-05/0.1301, allocations: 35.42 kB / 425 MB, free: 9.141 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1301, allocations: 0 / 425 MB, free: 9.141 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.1554, allocations: 2.998 MB / 428 MB, free: 6.156 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003988/0.1559, allocations: 254.2 kB / 428.2 MB, free: 5.816 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/2.461, allocations: 4 kB / 428.2 MB, free: 5.812 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat does not exist to compare? outputFormat=mat