Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test35",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.01079/0.01079, 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.001211/0.001212, 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 2.127/2.127, allocations: 194.5 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.2692/0.2692, allocations: 40.04 MB / 296.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000453/0.000453, allocations: 12 kB / 361.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1141, allocations: 54.89 MB / 416 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002462/0.1166, allocations: 1.349 MB / 417.4 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.1183, allocations: 0.7267 MB / 418.1 MB, free: 452 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.482e-05/0.1184, allocations: 0 / 418.1 MB, free: 452 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.1187, allocations: 75.81 kB / 418.2 MB, free: 376 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.119, allocations: 59.8 kB / 418.2 MB, free: 316 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.1192, allocations: 55.81 kB / 418.3 MB, free: 260 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.1194, allocations: 71.84 kB / 418.4 MB, free: 188 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.251e-05/0.1195, allocations: 8 kB / 418.4 MB, free: 180 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1196, allocations: 47.83 kB / 418.4 MB, free: 132 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1198, allocations: 43.83 kB / 418.5 MB, free: 88 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.1198, allocations: 4 kB / 418.5 MB, free: 84 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.1199, allocations: 27.98 kB / 418.5 MB, free: 56 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.12, allocations: 23.91 kB / 418.5 MB, free: 32 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.904e-05/0.1201, allocations: 37.64 kB / 418.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.1203, allocations: 96.03 kB / 418.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.1203, allocations: 0 / 418.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1204, allocations: 4 kB / 418.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1204, allocations: 0 / 418.7 MB, free: 15.89 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.0006591/0.121, allocations: 458.3 kB / 419.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1211, allocations: 8.031 kB / 419.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.107e-05/0.1212, allocations: 42.55 kB / 419.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.1212, allocations: 7.906 kB / 419.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.1215, allocations: 199.6 kB / 419.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.1216, allocations: 0 / 419.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.1216, allocations: 11.95 kB / 419.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.1218, allocations: 57.61 kB / 419.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1218, allocations: 4 kB / 419.4 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.1219, allocations: 7.984 kB / 419.4 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1219, allocations: 0 / 419.4 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.122, allocations: 19.98 kB / 419.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.1225, allocations: 304.7 kB / 419.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.1228, allocations: 62.62 kB / 419.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.1228, allocations: 4 kB / 419.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.123, allocations: 75.48 kB / 419.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.1231, allocations: 0 / 419.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007527/0.1238, allocations: 173.2 kB / 420.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.1239, allocations: 55.41 kB / 420.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.1243, allocations: 234.2 kB / 420.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.1243, allocations: 25.7 kB / 420.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1244, allocations: 108.1 kB / 420.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.1245, allocations: 19.7 kB / 420.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-06/0.1245, allocations: 4 kB / 420.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1247, allocations: 330.8 kB / 420.8 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1248, allocations: 27.98 kB / 420.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.1249, allocations: 49.64 kB / 420.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.1251, allocations: 65.69 kB / 421 MB, free: 13.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1251, allocations: 0 / 421 MB, free: 13.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004028/0.1255, allocations: 159.1 kB / 421.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.1256, allocations: 37.7 kB / 421.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.1256, allocations: 3.984 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1256, allocations: 4 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.1258, allocations: 15.98 kB / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1258, allocations: 4.031 kB / 421.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.485e-05/0.1259, allocations: 4 kB / 421.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.1259, allocations: 8 kB / 421.2 MB, free: 13.09 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.0001813/0.1261, allocations: 137.7 kB / 421.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.1262, allocations: 7.906 kB / 421.3 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.898e-05/0.1262, allocations: 17.39 kB / 421.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1263, allocations: 4 kB / 421.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1263, allocations: 0 / 421.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1263, allocations: 4 kB / 421.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006434/0.1269, allocations: 399.3 kB / 421.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.127, allocations: 4 kB / 421.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.192e-05/0.127, allocations: 15.88 kB / 421.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.127, allocations: 0 / 421.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1271, allocations: 3.984 kB / 421.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1271, allocations: 4 kB / 421.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1271, allocations: 0 / 421.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.1275, allocations: 221.9 kB / 422 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.571e-05/0.1276, allocations: 96.91 kB / 422.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.1276, allocations: 4 kB / 422.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.1278, allocations: 4 kB / 422.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.1278, allocations: 11.92 kB / 422.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.1278, allocations: 8 kB / 422.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002206/0.1281, allocations: 167.2 kB / 422.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1281, allocations: 96 / 422.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003716/0.1285, allocations: 31.94 kB / 422.3 MB, free: 11.86 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.001836/0.1303, allocations: 1.153 MB / 423.5 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000379/0.1307, allocations: 151.2 kB / 423.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1307, allocations: 0 / 423.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.1309, allocations: 31.92 kB / 423.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.1312, allocations: 24.06 kB / 423.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.1323, allocations: 0.6501 MB / 424.3 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.1326, allocations: 0.7082 MB / 425 MB, free: 9.102 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.334e-05/0.1327, allocations: 12.61 kB / 425 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.916e-05/0.1328, allocations: 43.36 kB / 425.1 MB, free: 9.047 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.1328, allocations: 0 / 425.1 MB, free: 9.047 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.1563, allocations: 3.006 MB / 428.1 MB, free: 6.055 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003978/0.1567, allocations: 250.2 kB / 428.3 MB, free: 5.719 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/2.472, allocations: 0 / 428.3 MB, free: 5.719 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat