Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test23",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.01128/0.01128, allocations: 106.7 kB / 15.06 MB, free: 6.031 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.001321/0.001321, allocations: 180.2 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 2.127/2.127, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.2817/0.2817, allocations: 40.03 MB / 296.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.0004751, allocations: 12 kB / 361.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1209, allocations: 54.88 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002532/0.1235, allocations: 1.353 MB / 417.4 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.1252, allocations: 0.7267 MB / 418.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.614e-05/0.1253, allocations: 0 / 418.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.1255, allocations: 15.92 kB / 418.1 MB, free: 440 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.1257, allocations: 43.81 kB / 418.2 MB, free: 396 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.126, allocations: 55.81 kB / 418.2 MB, free: 340 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.1262, allocations: 59.88 kB / 418.3 MB, free: 280 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.217e-05/0.1263, allocations: 11.98 kB / 418.3 MB, free: 268 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.969e-05/0.1264, allocations: 39.84 kB / 418.3 MB, free: 228 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.548e-05/0.1265, allocations: 23.86 kB / 418.4 MB, free: 204 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.1265, allocations: 0 / 418.4 MB, free: 204 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1266, allocations: 27.98 kB / 418.4 MB, free: 176 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.897e-05/0.1267, allocations: 23.91 kB / 418.4 MB, free: 152 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.1267, allocations: 37.64 kB / 418.4 MB, free: 108 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.127, allocations: 92.03 kB / 418.5 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.127, allocations: 4 kB / 418.5 MB, free: 12 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.127, allocations: 0 / 418.5 MB, free: 12 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.127, allocations: 0 / 418.5 MB, free: 12 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.0006308/0.1276, allocations: 446.4 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1277, allocations: 8.031 kB / 419 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.579e-05/0.1277, allocations: 30.56 kB / 419 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.1278, allocations: 19.81 kB / 419 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.1281, allocations: 202.9 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.1282, allocations: 4 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.1282, allocations: 11.95 kB / 419.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.1284, allocations: 57.61 kB / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1284, allocations: 0 / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1284, allocations: 0 / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.1285, allocations: 0 / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.1286, allocations: 19.98 kB / 419.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.129, allocations: 292.9 kB / 419.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.1293, allocations: 70.59 kB / 419.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.1294, allocations: 7.938 kB / 419.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.1296, allocations: 63.52 kB / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.1296, allocations: 0 / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007595/0.1304, allocations: 181.1 kB / 419.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.1304, allocations: 59.39 kB / 420 MB, free: 14.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.1307, allocations: 191.3 kB / 420.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.1307, allocations: 25.7 kB / 420.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.1308, allocations: 100 kB / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.1309, allocations: 27.64 kB / 420.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.1309, allocations: 4 kB / 420.3 MB, free: 14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1311, allocations: 326.8 kB / 420.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1312, allocations: 31.92 kB / 420.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.1313, allocations: 53.64 kB / 420.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.1315, allocations: 73.62 kB / 420.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1315, allocations: 0 / 420.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004176/0.1319, allocations: 159.3 kB / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.132, allocations: 33.7 kB / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.132, allocations: 3.984 kB / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1321, allocations: 0 / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.1322, allocations: 19.94 kB / 421 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1322, allocations: 4.031 kB / 421 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.531e-05/0.1323, allocations: 4 kB / 421 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.1324, allocations: 11.98 kB / 421 MB, free: 13.26 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.0001377/0.1325, allocations: 125.8 kB / 421.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.1325, allocations: 11.81 kB / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.76e-05/0.1326, allocations: 17.39 kB / 421.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1326, allocations: 0 / 421.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.1326, allocations: 4 kB / 421.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1327, allocations: 4 kB / 421.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006511/0.1333, allocations: 395.7 kB / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1333, allocations: 0 / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.313e-05/0.1334, allocations: 12 kB / 421.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1334, allocations: 3.938 kB / 421.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.1335, allocations: 7.938 kB / 421.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.1335, allocations: 7.984 kB / 421.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1335, allocations: 0 / 421.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.1338, allocations: 214 kB / 421.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.101e-05/0.1339, allocations: 96.91 kB / 421.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.134, allocations: 4 kB / 421.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1341, allocations: 0 / 421.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.1342, allocations: 7.984 kB / 421.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.1342, allocations: 12 kB / 421.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001783/0.1344, allocations: 148.8 kB / 422.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.1344, allocations: 0 / 422.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003688/0.1348, allocations: 24 kB / 422.1 MB, free: 12.08 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.001895/0.1367, allocations: 1.158 MB / 423.3 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003917/0.1371, allocations: 151.3 kB / 423.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.1371, allocations: 0 / 423.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.1372, allocations: 31.86 kB / 423.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1376, allocations: 31.88 kB / 423.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.1389, allocations: 0.6218 MB / 424.1 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.1394, allocations: 0.7121 MB / 424.8 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.1395, allocations: 16.41 kB / 424.8 MB, free: 9.316 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.1396, allocations: 31.42 kB / 424.8 MB, free: 9.285 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1396, allocations: 4 kB / 424.8 MB, free: 9.281 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06514/0.2048, allocations: 2.9 MB / 427.7 MB, free: 6.395 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004352/0.2053, allocations: 250.1 kB / 428 MB, free: 6.059 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/2.641, allocations: 0 / 428 MB, free: 6.059 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat does not exist to compare? outputFormat=mat