Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test81",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.01075/0.01075, allocations: 108.5 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.001142/0.001142, allocations: 181.4 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.967/1.967, allocations: 194.6 MB / 211.3 MB, free: 11.22 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.3021/0.3021, allocations: 40.04 MB / 296.5 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004657, allocations: 12 kB / 361.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1179, allocations: 54.88 MB / 416 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002585/0.1206, allocations: 1.431 MB / 417.5 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.1238, allocations: 1.504 MB / 419 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.124, allocations: 0 / 419 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.1244, allocations: 39.83 kB / 419 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.1247, allocations: 59.8 kB / 419.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.1251, allocations: 95.7 kB / 419.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.1254, allocations: 115.8 kB / 419.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.71e-05/0.1255, allocations: 13.56 kB / 419.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.1256, allocations: 67.69 kB / 419.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.1259, allocations: 55.77 kB / 419.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.126, allocations: 4 kB / 419.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002759/0.1262, allocations: 71.84 kB / 419.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.1263, allocations: 23.91 kB / 419.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.707e-05/0.1264, allocations: 57.56 kB / 419.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003593/0.1268, allocations: 152 kB / 419.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1268, allocations: 8 kB / 419.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.614e-06/0.1268, allocations: 0 / 419.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1268, allocations: 0 / 419.7 MB, free: 14.86 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008997/0.1277, allocations: 0.556 MB / 420.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.1278, allocations: 8.031 kB / 420.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.172e-05/0.1279, allocations: 34.56 kB / 420.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.983e-05/0.1279, allocations: 11.91 kB / 420.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.1283, allocations: 230.7 kB / 420.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.1284, allocations: 8 kB / 420.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.1284, allocations: 15.94 kB / 420.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.1288, allocations: 97.03 kB / 420.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1288, allocations: 3.938 kB / 420.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.1288, allocations: 3.984 kB / 420.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.1288, allocations: 4 kB / 420.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.129, allocations: 31.92 kB / 420.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.1293, allocations: 230.5 kB / 420.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.1298, allocations: 109.3 kB / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.1298, allocations: 3.984 kB / 421 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003436/0.1302, allocations: 113.1 kB / 421.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.776e-06/0.1302, allocations: 0 / 421.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007029/0.1309, allocations: 169.4 kB / 421.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.767e-05/0.131, allocations: 132.5 kB / 421.4 MB, free: 12.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.1314, allocations: 210.4 kB / 421.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.1314, allocations: 29.7 kB / 421.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.636e-05/0.1315, allocations: 104.4 kB / 421.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.1316, allocations: 31.61 kB / 421.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/0.1316, allocations: 3.938 kB / 421.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1317, allocations: 326.8 kB / 422.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.1319, allocations: 47.97 kB / 422.2 MB, free: 12.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.1322, allocations: 93.12 kB / 422.3 MB, free: 11.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.1325, allocations: 119.3 kB / 422.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1325, allocations: 0 / 422.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006568/0.1332, allocations: 248.7 kB / 422.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.5e-05/0.1332, allocations: 75.34 kB / 422.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.1333, allocations: 4.094 kB / 422.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1333, allocations: 0 / 422.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.1335, allocations: 27.92 kB / 422.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1335, allocations: 0 / 422.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.1337, allocations: 27.78 kB / 422.8 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.1337, allocations: 8 kB / 422.8 MB, free: 11.43 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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (16): * Single equations (assignments): 14 * 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.0001798/0.1339, allocations: 133.8 kB / 422.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.134, allocations: 16.44 kB / 422.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.472e-05/0.1341, allocations: 28.94 kB / 422.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1341, allocations: 0 / 422.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.1341, allocations: 4 kB / 423 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1341, allocations: 0 / 423 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.1344, allocations: 205.6 kB / 423.2 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.1344, allocations: 11.92 kB / 423.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.788e-05/0.1344, allocations: 7.984 kB / 423.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.1345, allocations: 4 kB / 423.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.1345, allocations: 4 kB / 423.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1345, allocations: 3.953 kB / 423.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.1345, allocations: 8 kB / 423.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004953/0.135, allocations: 183.4 kB / 423.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.1352, allocations: 104.9 kB / 423.5 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.1352, allocations: 7.953 kB / 423.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.1354, allocations: 7.984 kB / 423.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.1354, allocations: 15.98 kB / 423.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.1355, allocations: 4 kB / 423.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002043/0.1357, allocations: 144.2 kB / 423.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1357, allocations: 4 kB / 423.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004343/0.1362, allocations: 59.98 kB / 423.7 MB, free: 10.39 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002853/0.139, allocations: 1.411 MB / 425.1 MB, free: 9.031 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006996/0.1398, allocations: 262.7 kB / 425.4 MB, free: 8.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.1398, allocations: 0 / 425.4 MB, free: 8.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.14, allocations: 39.92 kB / 425.4 MB, free: 8.711 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.1404, allocations: 43.59 kB / 425.5 MB, free: 8.668 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.1417, allocations: 0.9775 MB / 426.4 MB, free: 7.633 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.1421, allocations: 0.7205 MB / 427.2 MB, free: 6.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.1423, allocations: 33.89 kB / 427.2 MB, free: 6.852 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.1424, allocations: 51.34 kB / 427.2 MB, free: 6.801 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1424, allocations: 0 / 427.2 MB, free: 6.801 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0367/0.1791, allocations: 4.468 MB / 431.7 MB, free: 2.344 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003846/0.1796, allocations: 246.7 kB / 432 MB, free: 2.012 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/2.595, allocations: 0 / 432 MB, free: 2.012 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat does not exist to compare? outputFormat=mat