Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test19",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.01578/0.01578, allocations: 108 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.001804/0.001805, allocations: 180 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.972/1.972, allocations: 194.6 MB / 211.3 MB, free: 11 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.2755/0.2755, allocations: 40.04 MB / 296.5 MB, free: 6.238 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004938, allocations: 12 kB / 361.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1254, allocations: 54.89 MB / 416 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003091/0.1285, allocations: 1.341 MB / 417.4 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.1306, allocations: 0.7228 MB / 418.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1308, allocations: 4 kB / 418.1 MB, free: 452 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.1311, allocations: 23.91 kB / 418.1 MB, free: 428 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.1314, allocations: 35.83 kB / 418.2 MB, free: 392 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.1318, allocations: 55.81 kB / 418.2 MB, free: 336 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.132, allocations: 63.88 kB / 418.3 MB, free: 272 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1321, allocations: 7.984 kB / 418.3 MB, free: 264 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.1323, allocations: 39.84 kB / 418.3 MB, free: 224 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1324, allocations: 27.84 kB / 418.4 MB, free: 196 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.1324, allocations: 4 kB / 418.4 MB, free: 192 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.1326, allocations: 24 kB / 418.4 MB, free: 168 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.779e-05/0.1327, allocations: 15.91 kB / 418.4 MB, free: 152 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.1328, allocations: 41.7 kB / 418.4 MB, free: 104 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.1331, allocations: 84.03 kB / 418.5 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1331, allocations: 7.938 kB / 418.5 MB, free: 12 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1331, allocations: 0 / 418.5 MB, free: 12 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1331, 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.0008216/0.134, allocations: 446.4 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.134, allocations: 8.031 kB / 419 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.938e-05/0.1341, allocations: 34.56 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.1342, allocations: 11.91 kB / 419 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.1346, allocations: 194.9 kB / 419.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.1346, allocations: 8 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.1347, allocations: 3.953 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.135, allocations: 61.66 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.135, allocations: 3.938 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.135, allocations: 0 / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.135, allocations: 0 / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.1352, allocations: 23.98 kB / 419.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006423/0.1359, allocations: 300.7 kB / 419.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.1362, allocations: 66.61 kB / 419.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.1363, allocations: 0 / 419.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000296/0.1366, allocations: 71.45 kB / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.317e-06/0.1366, allocations: 0 / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009865/0.1376, allocations: 177.2 kB / 419.9 MB, free: 14.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.1377, allocations: 59.41 kB / 420 MB, free: 14.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.138, allocations: 178.1 kB / 420.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.1381, allocations: 29.7 kB / 420.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/0.1382, allocations: 96.14 kB / 420.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.1383, allocations: 27.64 kB / 420.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/0.1383, allocations: 4 kB / 420.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1385, allocations: 326.8 kB / 420.6 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.1387, allocations: 27.98 kB / 420.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.1389, allocations: 53.64 kB / 420.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.1391, allocations: 61.69 kB / 420.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.1391, allocations: 0 / 420.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005712/0.1397, allocations: 159.2 kB / 420.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.003e-05/0.1398, allocations: 33.7 kB / 420.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1398, allocations: 0 / 420.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1398, allocations: 0 / 420.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.14, allocations: 27.95 kB / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.1401, allocations: 0 / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.1402, allocations: 8 kB / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.1402, allocations: 4 kB / 421 MB, free: 13.29 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.0001845/0.1404, allocations: 129.8 kB / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.1405, allocations: 11.81 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.297e-05/0.1406, allocations: 12.72 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.1406, allocations: 3.984 kB / 421.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1406, allocations: 0 / 421.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1406, allocations: 4 kB / 421.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008511/0.1415, allocations: 391.3 kB / 421.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.1415, allocations: 3.984 kB / 421.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.978e-05/0.1416, allocations: 11.94 kB / 421.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.1416, allocations: 4 kB / 421.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.1417, allocations: 0 / 421.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.1417, allocations: 3.938 kB / 421.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1417, allocations: 0 / 421.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.1422, allocations: 226 kB / 421.8 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.1423, allocations: 92.91 kB / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.1424, allocations: 7.984 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.1425, allocations: 4 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.1426, allocations: 4 kB / 421.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.1427, allocations: 12.08 kB / 421.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000216/0.1429, allocations: 140 kB / 422 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1429, allocations: 0 / 422 MB, free: 12.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005695/0.1435, allocations: 28 kB / 422.1 MB, free: 12.12 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.002582/0.1461, allocations: 1.157 MB / 423.2 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000549/0.1467, allocations: 151.2 kB / 423.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1467, allocations: 0 / 423.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.1469, allocations: 31.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.0004687/0.1474, allocations: 24.06 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.001368/0.1488, allocations: 0.6091 MB / 424 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.1492, allocations: 0.7121 MB / 424.7 MB, free: 9.391 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.1494, allocations: 12.56 kB / 424.7 MB, free: 9.379 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.1495, allocations: 27.42 kB / 424.8 MB, free: 9.352 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1495, allocations: 4 kB / 424.8 MB, free: 9.348 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04138/0.1909, allocations: 2.839 MB / 427.6 MB, free: 6.52 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004029/0.1914, allocations: 254.2 kB / 427.9 MB, free: 6.18 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.522/2.714, allocations: 4 kB / 427.9 MB, free: 6.176 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat