Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test39",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.01115/0.01115, allocations: 107.6 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.001276/0.001276, allocations: 180.6 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.968/1.968, 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.2706/0.2706, allocations: 40.04 MB / 296.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005215/0.0005217, allocations: 12 kB / 361.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1139, allocations: 54.88 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002327/0.1163, allocations: 1.314 MB / 417.3 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.1179, allocations: 0.7034 MB / 418.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.465e-05/0.118, allocations: 0 / 418.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.1184, allocations: 55.84 kB / 418.1 MB, free: 464 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.1186, allocations: 43.83 kB / 418.1 MB, free: 420 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.1189, allocations: 51.88 kB / 418.2 MB, free: 368 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.1191, allocations: 55.86 kB / 418.3 MB, free: 312 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.582e-05/0.1191, allocations: 11.94 kB / 418.3 MB, free: 300 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.1193, allocations: 43.83 kB / 418.3 MB, free: 256 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1194, allocations: 31.91 kB / 418.3 MB, free: 224 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.1194, allocations: 11.92 kB / 418.4 MB, free: 212 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.782e-05/0.1195, allocations: 19.94 kB / 418.4 MB, free: 192 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.1196, allocations: 11.98 kB / 418.4 MB, free: 180 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.1197, allocations: 37.64 kB / 418.4 MB, free: 136 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.1199, allocations: 76.11 kB / 418.5 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1199, allocations: 0 / 418.5 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1199, allocations: 4 kB / 418.5 MB, free: 56 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.1199, allocations: 0 / 418.5 MB, free: 56 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006114/0.1205, allocations: 438.3 kB / 418.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1206, allocations: 8.031 kB / 418.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.1206, allocations: 34.56 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.1207, allocations: 7.906 kB / 419 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.121, allocations: 202.9 kB / 419.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.121, allocations: 3.984 kB / 419.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.1211, allocations: 7.953 kB / 419.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.1213, allocations: 53.67 kB / 419.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1213, allocations: 0 / 419.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1213, allocations: 4 kB / 419.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1213, allocations: 0 / 419.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.905e-05/0.1214, allocations: 15.98 kB / 419.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.1217, allocations: 185.6 kB / 419.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.122, allocations: 58.55 kB / 419.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.122, allocations: 0 / 419.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.1223, allocations: 67.44 kB / 419.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.893e-06/0.1223, allocations: 0 / 419.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004191/0.1227, allocations: 105.4 kB / 419.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.1228, allocations: 55.41 kB / 419.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.123, allocations: 178.2 kB / 419.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.1231, allocations: 29.7 kB / 419.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.1231, allocations: 100.1 kB / 420 MB, free: 14.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.1232, allocations: 11.81 kB / 420 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/0.1232, allocations: 4 kB / 420 MB, free: 14.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1233, allocations: 322.8 kB / 420.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.1234, allocations: 23.98 kB / 420.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1236, allocations: 37.7 kB / 420.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.1237, allocations: 65.58 kB / 420.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1238, allocations: 0 / 420.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003569/0.1241, allocations: 131.2 kB / 420.6 MB, free: 13.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.26e-05/0.1242, allocations: 45.64 kB / 420.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1242, allocations: 0 / 420.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1242, allocations: 0 / 420.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1244, allocations: 15.94 kB / 420.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1244, allocations: 0 / 420.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.256e-05/0.1245, allocations: 11.88 kB / 420.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1245, allocations: 11.98 kB / 420.7 MB, free: 13.6 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 (8): * Single equations (assignments): 7 * 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.0001378/0.1247, allocations: 121.8 kB / 420.8 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.1247, allocations: 7.906 kB / 420.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.296e-05/0.1248, allocations: 16.25 kB / 420.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1248, allocations: 4 kB / 420.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1248, allocations: 0 / 420.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1248, allocations: 0 / 420.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.125, allocations: 181.6 kB / 421 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.125, allocations: 0 / 421 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.1251, allocations: 8 kB / 421 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1251, allocations: 0 / 421 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.1251, allocations: 4 kB / 421 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1251, allocations: 3.953 kB / 421 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1251, allocations: 0 / 421 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.1254, allocations: 109 kB / 421.1 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.383e-05/0.1255, allocations: 96.91 kB / 421.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.1256, allocations: 0 / 421.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.263e-05/0.1257, allocations: 8 kB / 421.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.1257, allocations: 7.938 kB / 421.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.1257, allocations: 8.359 kB / 421.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001602/0.1259, allocations: 136.1 kB / 421.4 MB, free: 12.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1259, allocations: 4 kB / 421.4 MB, free: 12.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003059/0.1262, allocations: 20 kB / 421.4 MB, free: 12.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001619/0.1279, allocations: 0.9446 MB / 422.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003865/0.1283, allocations: 131.4 kB / 422.5 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1283, allocations: 0 / 422.5 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.986e-05/0.1284, allocations: 19.94 kB / 422.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.1287, allocations: 19.94 kB / 422.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009424/0.1297, allocations: 0.5772 MB / 423.1 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.13, allocations: 0.705 MB / 423.8 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.907e-05/0.1301, allocations: 16.66 kB / 423.8 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.792e-05/0.1302, allocations: 23.44 kB / 423.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1302, allocations: 0 / 423.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.1564, allocations: 2.553 MB / 426.4 MB, free: 7.773 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003863/0.1568, allocations: 246.2 kB / 426.6 MB, free: 7.441 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/2.478, allocations: 0 / 426.6 MB, free: 7.441 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat