Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test22",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.01114/0.01114, allocations: 108 kB / 15.06 MB, free: 6.035 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.001202/0.001202, allocations: 182.4 kB / 15.95 MB, free: 5.957 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.932/1.932, 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.2969/0.2969, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006519/0.000652, allocations: 12 kB / 361.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1165, allocations: 54.89 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002394/0.1189, allocations: 1.349 MB / 417.4 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.1206, allocations: 0.7189 MB / 418.1 MB, free: 472 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.773e-05/0.1207, allocations: 0 / 418.1 MB, free: 472 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.121, allocations: 27.91 kB / 418.1 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.1212, allocations: 39.83 kB / 418.2 MB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.1214, allocations: 51.83 kB / 418.2 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1216, allocations: 59.86 kB / 418.3 MB, free: 292 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.976e-05/0.1217, allocations: 11.98 kB / 418.3 MB, free: 280 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.1218, allocations: 35.84 kB / 418.3 MB, free: 244 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.099e-05/0.1219, allocations: 31.84 kB / 418.4 MB, free: 212 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1219, allocations: 0 / 418.4 MB, free: 212 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1221, allocations: 28 kB / 418.4 MB, free: 184 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.1221, allocations: 19.92 kB / 418.4 MB, free: 164 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.1222, allocations: 37.69 kB / 418.4 MB, free: 120 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.1224, allocations: 88.03 kB / 418.5 MB, free: 32 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.1224, allocations: 3.938 kB / 418.5 MB, free: 28 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1224, allocations: 0 / 418.5 MB, free: 28 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1224, allocations: 0 / 418.5 MB, free: 28 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.0006254/0.1231, allocations: 442.4 kB / 419 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1231, allocations: 8.031 kB / 419 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.199e-05/0.1232, allocations: 42.56 kB / 419 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.1232, allocations: 7.906 kB / 419 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.1235, allocations: 194.9 kB / 419.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.1235, allocations: 4 kB / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.1236, allocations: 11.95 kB / 419.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.1238, allocations: 57.66 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.1238, allocations: 3.938 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1238, allocations: 4 kB / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1239, allocations: 0 / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.124, allocations: 19.98 kB / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.1244, allocations: 296.8 kB / 419.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.1247, allocations: 62.61 kB / 419.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.1248, allocations: 11.92 kB / 419.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.125, allocations: 67.52 kB / 419.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.125, allocations: 0 / 419.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007806/0.1258, allocations: 181.1 kB / 419.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.1258, allocations: 51.41 kB / 420 MB, free: 14.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.1261, allocations: 182.2 kB / 420.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.1261, allocations: 29.7 kB / 420.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.1262, allocations: 96.14 kB / 420.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.1263, allocations: 23.64 kB / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.1263, allocations: 8 kB / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1264, allocations: 326.8 kB / 420.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1265, allocations: 31.98 kB / 420.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.1267, allocations: 45.7 kB / 420.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.1268, allocations: 69.69 kB / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1269, allocations: 0 / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003847/0.1273, allocations: 159.2 kB / 420.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/0.1273, allocations: 32.52 kB / 420.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1273, allocations: 4 kB / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1274, allocations: 0 / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1275, allocations: 19.92 kB / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1275, allocations: 0 / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/0.1276, allocations: 8 kB / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.1277, allocations: 8 kB / 421 MB, free: 13.31 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.000126/0.1278, allocations: 125.8 kB / 421.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.1278, allocations: 15.81 kB / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.1279, allocations: 12.72 kB / 421.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.1279, allocations: 4 kB / 421.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1279, allocations: 0 / 421.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1279, allocations: 3.984 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006059/0.1286, allocations: 391.3 kB / 421.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1286, allocations: 0 / 421.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.084e-05/0.1286, allocations: 12.36 kB / 421.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1287, allocations: 4.031 kB / 421.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.1287, allocations: 7.938 kB / 421.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.1287, allocations: 11.94 kB / 421.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1287, allocations: 0 / 421.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.1291, allocations: 214 kB / 421.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/0.1292, allocations: 96.91 kB / 421.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.1292, allocations: 8 kB / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.1293, allocations: 3.984 kB / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.1294, allocations: 4 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.1294, allocations: 8 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.1296, allocations: 136.1 kB / 422 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1296, allocations: 4 kB / 422 MB, free: 12.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003825/0.13, allocations: 28 kB / 422 MB, free: 12.13 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.001792/0.1318, allocations: 1.157 MB / 423.2 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003946/0.1322, allocations: 151.3 kB / 423.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.1322, allocations: 0 / 423.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.1324, allocations: 39.86 kB / 423.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.1327, allocations: 19.94 kB / 423.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009972/0.1337, allocations: 0.6092 MB / 424 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.1341, allocations: 0.7082 MB / 424.7 MB, free: 9.398 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.242e-05/0.1342, allocations: 12.44 kB / 424.7 MB, free: 9.387 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.743e-05/0.1343, allocations: 31.61 kB / 424.8 MB, free: 9.355 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1343, allocations: 3.938 kB / 424.8 MB, free: 9.352 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.1565, allocations: 2.844 MB / 427.6 MB, free: 6.523 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003707/0.1569, allocations: 254.2 kB / 427.9 MB, free: 6.184 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.568/2.725, allocations: 0 / 427.9 MB, free: 6.184 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat