Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test8",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.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.001207/0.001207, 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 2.006/2.006, allocations: 194.5 MB / 211.2 MB, free: 11.08 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.2661/0.2661, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.000485, allocations: 16 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1296, allocations: 54.88 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003025/0.1327, allocations: 1.349 MB / 417.4 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.1348, allocations: 0.7189 MB / 418.1 MB, free: 472 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.62e-05/0.1349, allocations: 0 / 418.1 MB, free: 472 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004205/0.1354, allocations: 95.78 kB / 418.2 MB, free: 376 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.1357, allocations: 67.78 kB / 418.3 MB, free: 308 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.136, allocations: 51.83 kB / 418.3 MB, free: 256 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.1362, allocations: 75.83 kB / 418.4 MB, free: 180 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1364, allocations: 19.97 kB / 418.4 MB, free: 160 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1365, allocations: 51.83 kB / 418.5 MB, free: 108 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.1367, allocations: 51.81 kB / 418.5 MB, free: 56 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.1367, allocations: 4 kB / 418.5 MB, free: 52 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.1369, allocations: 20 kB / 418.5 MB, free: 32 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.945e-05/0.137, allocations: 23.91 kB / 418.5 MB, free: 8 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.442e-05/0.1371, allocations: 45.64 kB / 418.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.1374, allocations: 104 kB / 418.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.1374, allocations: 0 / 418.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1374, allocations: 0 / 418.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1374, allocations: 4 kB / 418.7 MB, free: 15.85 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008208/0.1383, allocations: 466.2 kB / 419.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.1383, allocations: 8.031 kB / 419.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.511e-05/0.1384, allocations: 38.55 kB / 419.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.908e-05/0.1385, allocations: 15.81 kB / 419.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.1389, allocations: 206.8 kB / 419.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.139, allocations: 8 kB / 419.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.139, allocations: 7.953 kB / 419.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.1393, allocations: 73.58 kB / 419.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.1394, allocations: 3.906 kB / 419.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.1394, allocations: 0 / 419.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.1394, allocations: 4 kB / 419.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.1396, allocations: 27.98 kB / 419.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007304/0.1404, allocations: 312.8 kB / 419.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.1408, allocations: 78.61 kB / 419.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.1409, allocations: 4.078 kB / 419.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003884/0.1413, allocations: 79.42 kB / 420 MB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 3.276e-06/0.1413, allocations: 0 / 420 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.001167/0.1425, allocations: 209 kB / 420.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.1426, allocations: 51.41 kB / 420.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005129/0.1431, allocations: 258 kB / 420.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/0.1432, allocations: 33.7 kB / 420.5 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.1433, allocations: 104.1 kB / 420.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.309e-05/0.1434, allocations: 31.62 kB / 420.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.1435, allocations: 4 kB / 420.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.1437, allocations: 330.8 kB / 421 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.1439, allocations: 31.98 kB / 421 MB, free: 13.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.1442, allocations: 53.7 kB / 421.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.1445, allocations: 69.69 kB / 421.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1445, allocations: 0 / 421.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007113/0.1452, allocations: 183.1 kB / 421.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.191e-05/0.1453, allocations: 44.66 kB / 421.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1453, allocations: 0 / 421.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1454, allocations: 0 / 421.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.1456, allocations: 23.92 kB / 421.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.1457, allocations: 0 / 421.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.1458, allocations: 8.031 kB / 421.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.1459, allocations: 4 kB / 421.4 MB, free: 12.88 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 (12): * Single equations (assignments): 11 * 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.0002304/0.1461, allocations: 137.8 kB / 421.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.1462, allocations: 19.81 kB / 421.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.452e-05/0.1463, allocations: 21.39 kB / 421.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1463, allocations: 3.938 kB / 421.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1463, allocations: 0 / 421.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1464, allocations: 0 / 421.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.1474, allocations: 423.3 kB / 422 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1475, allocations: 0 / 422 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.1476, allocations: 11.98 kB / 422 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/0.1476, allocations: 4 kB / 422 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.1477, allocations: 0 / 422 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.1477, allocations: 3.938 kB / 422 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1477, allocations: 4 kB / 422 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005942/0.1483, allocations: 242 kB / 422.3 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.1485, allocations: 108.9 kB / 422.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.352e-05/0.1486, allocations: 4 kB / 422.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.1488, allocations: 4 kB / 422.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.1488, allocations: 7.984 kB / 422.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.1489, allocations: 4 kB / 422.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004446/0.1494, allocations: 188.4 kB / 422.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.1494, allocations: 0 / 422.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006539/0.1501, allocations: 32 kB / 422.6 MB, free: 11.57 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 (9): * Single equations (assignments): 7 * 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.003056/0.1531, allocations: 1.172 MB / 423.8 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007072/0.1539, allocations: 167.3 kB / 423.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1539, allocations: 0 / 423.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.1542, allocations: 35.92 kB / 424 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.1547, allocations: 24.25 kB / 424 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.1566, allocations: 0.6863 MB / 424.7 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.1572, allocations: 0.716 MB / 425.4 MB, free: 8.727 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.1574, allocations: 16.55 kB / 425.4 MB, free: 8.711 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.1576, allocations: 43.42 kB / 425.5 MB, free: 8.668 MB / 362.7 MB Notification: Performance of SimCode: time 1.753e-06/0.1576, allocations: 4 kB / 425.5 MB, free: 8.664 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.1825, allocations: 3.243 MB / 428.7 MB, free: 5.434 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007001/0.1833, allocations: 253.2 kB / 429 MB, free: 5.094 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.522/2.706, allocations: 3.938 kB / 429 MB, free: 5.09 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat