Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01078/0.01078, allocations: 104.8 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001154/0.001153, allocations: 173.7 kB / 15.93 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.645/1.645, allocations: 170.9 MB / 187.5 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2493/0.2493, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004563, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1012, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002947/0.1042, allocations: 1.29 MB / 373.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1055, allocations: 411.4 kB / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.1056, allocations: 0 / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.1059, allocations: 31.83 kB / 374 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.1061, allocations: 27.91 kB / 374.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.1064, allocations: 63.8 kB / 374.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1066, allocations: 47.88 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1068, allocations: 11.97 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.187e-05/0.1069, allocations: 23.92 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.778e-05/0.107, allocations: 23.91 kB / 374.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.107, allocations: 4 kB / 374.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.1072, allocations: 31.88 kB / 374.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.1073, allocations: 11.98 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.1073, allocations: 37.64 kB / 374.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.1076, allocations: 88.11 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1076, allocations: 0 / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1077, allocations: 0 / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.1077, allocations: 0 / 374.4 MB, free: 10.73 MB / 282.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.0007622/0.1084, allocations: 404.7 kB / 374.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.1085, allocations: 12.03 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.2e-05/0.1086, allocations: 30.56 kB / 374.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.1087, allocations: 7.906 kB / 374.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.109, allocations: 202.8 kB / 375 MB, free: 9.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.109, allocations: 4 kB / 375 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.1091, allocations: 4 kB / 375 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1092, allocations: 45.62 kB / 375.1 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1093, allocations: 3.938 kB / 375.1 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1093, allocations: 0 / 375.1 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1093, allocations: 0 / 375.1 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.052e-05/0.1094, allocations: 15.98 kB / 375.1 MB, free: 9.902 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.11, allocations: 272.9 kB / 375.4 MB, free: 9.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.1103, allocations: 46.5 kB / 375.4 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.1103, allocations: 4 kB / 375.4 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.1105, allocations: 55.48 kB / 375.5 MB, free: 9.461 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.274e-06/0.1105, allocations: 0 / 375.5 MB, free: 9.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005983/0.1112, allocations: 117.6 kB / 375.6 MB, free: 9.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.1112, allocations: 51.41 kB / 375.6 MB, free: 9.277 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.1115, allocations: 180.7 kB / 375.8 MB, free: 9.094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.1116, allocations: 29.69 kB / 375.8 MB, free: 9.059 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.778e-05/0.1117, allocations: 96.12 kB / 375.9 MB, free: 8.961 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.1118, allocations: 23.73 kB / 376 MB, free: 8.938 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.1118, allocations: 0 / 376 MB, free: 8.938 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.112, allocations: 318.8 kB / 376.3 MB, free: 8.617 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.715e-05/0.1121, allocations: 19.98 kB / 376.3 MB, free: 8.598 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.693e-05/0.1122, allocations: 16 kB / 376.3 MB, free: 8.582 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.1123, allocations: 61.62 kB / 376.4 MB, free: 8.516 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1123, allocations: 0 / 376.4 MB, free: 8.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003421/0.1127, allocations: 115.3 kB / 376.5 MB, free: 8.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.644e-05/0.1128, allocations: 29.7 kB / 376.5 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1128, allocations: 0 / 376.5 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1128, allocations: 7.938 kB / 376.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.74e-05/0.113, allocations: 15.91 kB / 376.5 MB, free: 8.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.113, allocations: 4 kB / 376.5 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.66e-05/0.1131, allocations: 3.953 kB / 376.5 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.1131, allocations: 8.094 kB / 376.6 MB, free: 8.316 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001588/0.1133, allocations: 131 kB / 376.7 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.1133, allocations: 7.906 kB / 376.7 MB, free: 8.172 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.553e-05/0.1134, allocations: 12.3 kB / 376.7 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1134, allocations: 0 / 376.7 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1135, allocations: 0 / 376.7 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.1135, allocations: 4 kB / 376.7 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005792/0.1141, allocations: 342.5 kB / 377 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1141, allocations: 0 / 377 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.554e-05/0.1142, allocations: 8 kB / 377 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1142, allocations: 0 / 377 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.1142, allocations: 0 / 377 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.1142, allocations: 4 kB / 377 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1142, allocations: 3.953 kB / 377.1 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.1145, allocations: 163.5 kB / 377.2 MB, free: 7.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.641e-05/0.1146, allocations: 85 kB / 377.3 MB, free: 7.469 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.1147, allocations: 4 kB / 377.3 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.1148, allocations: 8 kB / 377.3 MB, free: 7.457 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.1149, allocations: 0 / 377.3 MB, free: 7.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.1149, allocations: 12.12 kB / 377.3 MB, free: 7.445 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002071/0.1152, allocations: 130.6 kB / 377.4 MB, free: 7.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1152, allocations: 3.938 kB / 377.5 MB, free: 7.316 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006044/0.1158, allocations: 24 kB / 377.5 MB, free: 7.293 MB / 282.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00195/0.1178, allocations: 0.9644 MB / 378.4 MB, free: 6.406 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.1181, allocations: 103.3 kB / 378.5 MB, free: 6.293 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1181, allocations: 7.938 kB / 378.5 MB, free: 6.285 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.571e-05/0.1182, allocations: 15.98 kB / 378.6 MB, free: 6.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.1186, allocations: 15.98 kB / 378.6 MB, free: 6.254 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008101/0.1195, allocations: 419.3 kB / 379 MB, free: 5.797 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.1198, allocations: 0.7082 MB / 379.7 MB, free: 5.062 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.58e-05/0.1199, allocations: 11.8 kB / 379.7 MB, free: 5.051 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.273e-05/0.12, allocations: 31.42 kB / 379.7 MB, free: 5.02 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.12, allocations: 0 / 379.7 MB, free: 5.02 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.1481, allocations: 2.513 MB / 382.3 MB, free: 2.539 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003124/0.1484, allocations: 246.2 kB / 382.5 MB, free: 2.203 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/2.488, allocations: 3.938 kB / 382.5 MB, free: 2.199 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat