Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test31",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.01674/0.01674, allocations: 107.5 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.001873/0.001873, allocations: 179.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 1.956/1.956, allocations: 194.5 MB / 211.3 MB, free: 11.07 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.3002/0.3002, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.0004527, allocations: 12 kB / 361.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1113, allocations: 54.88 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002344/0.1137, allocations: 1.353 MB / 417.4 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1153, allocations: 0.719 MB / 418.1 MB, free: 468 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.1154, allocations: 0 / 418.1 MB, free: 468 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.1156, allocations: 19.86 kB / 418.1 MB, free: 448 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.1158, allocations: 39.83 kB / 418.2 MB, free: 408 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.116, allocations: 59.81 kB / 418.2 MB, free: 348 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.1162, allocations: 59.86 kB / 418.3 MB, free: 288 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.1163, allocations: 11.98 kB / 418.3 MB, free: 276 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.666e-05/0.1164, allocations: 39.83 kB / 418.3 MB, free: 236 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.522e-05/0.1165, allocations: 23.86 kB / 418.4 MB, free: 212 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1166, allocations: 4 kB / 418.4 MB, free: 208 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1167, allocations: 24 kB / 418.4 MB, free: 184 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.1167, allocations: 23.91 kB / 418.4 MB, free: 160 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.1168, allocations: 37.7 kB / 418.4 MB, free: 116 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.117, allocations: 84.03 kB / 418.5 MB, free: 32 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.117, allocations: 3.938 kB / 418.5 MB, free: 28 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.117, allocations: 0 / 418.5 MB, free: 28 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.117, 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.0005854/0.1176, allocations: 446.4 kB / 419 MB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1177, allocations: 8.031 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.1177, allocations: 34.56 kB / 419 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.1178, allocations: 11.91 kB / 419 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.1181, allocations: 202.9 kB / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.1181, allocations: 4 kB / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.1182, allocations: 11.95 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.1184, allocations: 53.67 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1184, allocations: 3.938 kB / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1184, allocations: 0 / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1184, allocations: 0 / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1185, allocations: 19.98 kB / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.119, allocations: 300.8 kB / 419.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.1193, allocations: 58.61 kB / 419.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1193, allocations: 3.938 kB / 419.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.1196, allocations: 67.52 kB / 419.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.1196, allocations: 4 kB / 419.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007909/0.1204, allocations: 181.1 kB / 419.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.1205, allocations: 59.39 kB / 420 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.1207, allocations: 174.2 kB / 420.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.1208, allocations: 33.69 kB / 420.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.1208, allocations: 96.14 kB / 420.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.1209, allocations: 27.64 kB / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-06/0.1209, allocations: 0 / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.121, allocations: 330.8 kB / 420.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1212, allocations: 31.98 kB / 420.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1213, allocations: 41.7 kB / 420.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.1215, allocations: 69.64 kB / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1215, allocations: 0 / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003951/0.1219, allocations: 159.2 kB / 420.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.968e-05/0.122, allocations: 36.67 kB / 420.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.122, allocations: 4.031 kB / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.122, allocations: 4 kB / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.1222, allocations: 19.92 kB / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1222, allocations: 0 / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.155e-05/0.1223, allocations: 8 kB / 421 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.1223, allocations: 4.375 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.0001367/0.1225, allocations: 133.8 kB / 421.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.1225, allocations: 11.81 kB / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.214e-05/0.1226, allocations: 16.72 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1226, allocations: 0 / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1226, allocations: 4 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.1226, allocations: 7.984 kB / 421.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006709/0.1233, allocations: 383.3 kB / 421.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1233, allocations: 0 / 421.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.45e-05/0.1234, allocations: 11.98 kB / 421.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.1234, allocations: 4 kB / 421.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.1235, allocations: 11.97 kB / 421.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.1235, allocations: 3.938 kB / 421.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.1235, allocations: 4 kB / 421.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.1238, allocations: 210 kB / 421.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-05/0.1239, allocations: 100.9 kB / 421.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.124, allocations: 0 / 421.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1241, allocations: 11.98 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.1242, allocations: 4 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.1242, allocations: 8 kB / 421.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001658/0.1244, allocations: 136.1 kB / 422 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1244, allocations: 0 / 422 MB, free: 12.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003775/0.1248, 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.002016/0.1268, allocations: 1.164 MB / 423.2 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004382/0.1273, allocations: 147.3 kB / 423.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.1273, allocations: 0 / 423.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.1274, allocations: 39.92 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.000341/0.1278, allocations: 23.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.001029/0.1289, 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.0003242/0.1292, allocations: 0.7082 MB / 424.7 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.489e-05/0.1293, allocations: 12.44 kB / 424.7 MB, free: 9.383 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.038e-05/0.1294, allocations: 31.42 kB / 424.8 MB, free: 9.352 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1294, allocations: 0 / 424.8 MB, free: 9.352 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.1573, allocations: 2.845 MB / 427.6 MB, free: 6.52 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003687/0.1577, allocations: 250.2 kB / 427.9 MB, free: 6.184 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/2.464, allocations: 4.062 kB / 427.9 MB, free: 6.18 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat