Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test79",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.01039/0.0104, allocations: 107 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.001136/0.001136, allocations: 181.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.959/1.959, allocations: 194.6 MB / 211.3 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.2966/0.2966, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006851/0.0006854, allocations: 16 kB / 361.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1343, allocations: 54.88 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002641/0.137, allocations: 1.477 MB / 417.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.1392, allocations: 0.9565 MB / 418.5 MB, free: 108 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.563e-05/0.1393, allocations: 0 / 418.5 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00053/0.1399, allocations: 195.7 kB / 418.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.1402, allocations: 135.5 kB / 418.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.1408, allocations: 103.7 kB / 418.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004313/0.1412, allocations: 147.7 kB / 419 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.1414, allocations: 29.53 kB / 419.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.1417, allocations: 99.64 kB / 419.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.1421, allocations: 103.7 kB / 419.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.76e-05/0.1421, allocations: 8 kB / 419.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.1424, allocations: 51.86 kB / 419.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1425, allocations: 47.81 kB / 419.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1427, allocations: 65.52 kB / 419.4 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005086/0.1432, allocations: 175.9 kB / 419.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1432, allocations: 0 / 419.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1432, allocations: 4 kB / 419.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1432, allocations: 0 / 419.6 MB, free: 14.96 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001157/0.1444, allocations: 0.622 MB / 420.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.1445, allocations: 8.031 kB / 420.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.937e-05/0.1446, allocations: 34.56 kB / 420.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.1447, allocations: 23.72 kB / 420.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005504/0.1453, allocations: 263 kB / 420.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.1453, allocations: 8 kB / 420.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.887e-05/0.1454, allocations: 19.94 kB / 420.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.1459, allocations: 99.3 kB / 420.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.1459, allocations: 0 / 420.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.1459, allocations: 0 / 420.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.146, allocations: 0 / 420.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.1463, allocations: 47.91 kB / 420.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.1473, allocations: 468.9 kB / 421.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006143/0.1479, allocations: 117.4 kB / 421.3 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.148, allocations: 4 kB / 421.3 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004636/0.1485, allocations: 113.1 kB / 421.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.946e-06/0.1485, allocations: 0 / 421.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001875/0.1504, allocations: 376.5 kB / 421.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.1505, allocations: 81.05 kB / 421.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008855/0.1514, allocations: 424.4 kB / 422.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.586e-05/0.1515, allocations: 33.7 kB / 422.3 MB, free: 12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.1517, allocations: 152.5 kB / 422.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.359e-05/0.1518, allocations: 51.3 kB / 422.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.1518, allocations: 4 kB / 422.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.1521, allocations: 342.8 kB / 422.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.1524, allocations: 60.16 kB / 422.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.1529, allocations: 104.5 kB / 423 MB, free: 11.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/0.1533, allocations: 127.4 kB / 423.1 MB, free: 11.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.1533, allocations: 4 kB / 423.1 MB, free: 11.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001016/0.1543, allocations: 296.5 kB / 423.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.958e-05/0.1545, allocations: 67.39 kB / 423.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1545, allocations: 0 / 423.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.1545, allocations: 8.062 kB / 423.5 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.1548, allocations: 32.3 kB / 423.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1549, allocations: 4 kB / 423.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.1551, allocations: 23.92 kB / 423.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.1552, allocations: 8 kB / 423.6 MB, free: 10.67 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0003246/0.1555, allocations: 169.8 kB / 423.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.922e-05/0.1556, allocations: 27.62 kB / 423.7 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.1558, allocations: 34.61 kB / 423.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.1558, allocations: 4 kB / 423.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.1558, allocations: 0 / 423.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.1559, allocations: 0 / 423.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.1574, allocations: 0.6242 MB / 424.4 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.1575, allocations: 0 / 424.4 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.1577, allocations: 19.94 kB / 424.4 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/0.1577, allocations: 8.062 kB / 424.4 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.1578, allocations: 11.98 kB / 424.4 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.1578, allocations: 0 / 424.4 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.1578, allocations: 3.953 kB / 424.5 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000948/0.1588, allocations: 413.2 kB / 424.9 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.159, allocations: 120.7 kB / 425 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/0.1591, allocations: 0 / 425 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.1595, allocations: 8 kB / 425 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.1596, allocations: 11.98 kB / 425 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.1596, allocations: 11.98 kB / 425 MB, free: 9.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000642/0.1603, allocations: 307 kB / 425.3 MB, free: 8.789 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.1603, allocations: 3.938 kB / 425.3 MB, free: 8.785 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00097/0.1613, allocations: 59.98 kB / 425.4 MB, free: 8.727 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.004629/0.1659, allocations: 1.733 MB / 427.1 MB, free: 7.031 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.167, allocations: 302.6 kB / 427.4 MB, free: 6.711 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1671, allocations: 0 / 427.4 MB, free: 6.711 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003054/0.1674, allocations: 59.92 kB / 427.5 MB, free: 6.652 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008071/0.1682, allocations: 37.02 kB / 427.5 MB, free: 6.617 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.1709, allocations: 1.301 MB / 428.8 MB, free: 5.246 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00066/0.1716, allocations: 0.7672 MB / 429.6 MB, free: 4.453 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002178/0.1718, allocations: 29.84 kB / 429.6 MB, free: 4.426 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.1721, allocations: 79.39 kB / 429.7 MB, free: 4.348 MB / 362.7 MB Notification: Performance of SimCode: time 1.413e-06/0.1721, allocations: 4.312 kB / 429.7 MB, free: 4.344 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03663/0.2088, allocations: 5.431 MB / 435.1 MB, free: 14.91 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003703/0.2092, allocations: 254.3 kB / 435.3 MB, free: 14.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.556/2.765, allocations: 0 / 435.3 MB, free: 14.57 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat