Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test68",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.016/0.016, allocations: 108.7 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.002018/0.002018, allocations: 180.7 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.97/1.97, 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.2704/0.2704, allocations: 40.04 MB / 296.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004597, allocations: 12 kB / 361.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1167, allocations: 54.88 MB / 416 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002666/0.1194, allocations: 1.427 MB / 417.5 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.1217, allocations: 0.9449 MB / 418.4 MB, free: 144 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.1218, allocations: 4 kB / 418.4 MB, free: 140 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006402/0.1225, allocations: 275.4 kB / 418.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004337/0.123, allocations: 171.7 kB / 418.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.1234, allocations: 95.66 kB / 418.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.1237, allocations: 159.7 kB / 419.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.608e-05/0.1238, allocations: 17.53 kB / 419.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.124, allocations: 111.6 kB / 419.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/0.1243, allocations: 135.7 kB / 419.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.1244, allocations: 4 kB / 419.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.1246, allocations: 55.92 kB / 419.4 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.1248, allocations: 131.6 kB / 419.5 MB, free: 15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.1249, allocations: 85.44 kB / 419.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005227/0.1255, allocations: 291.8 kB / 419.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.1255, allocations: 0 / 419.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1255, allocations: 0 / 419.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1255, allocations: 0 / 419.9 MB, free: 14.63 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.00125/0.1268, allocations: 0.7692 MB / 420.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.1268, allocations: 12.03 kB / 420.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.131e-05/0.1269, allocations: 38.55 kB / 420.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.817e-05/0.127, allocations: 43.44 kB / 420.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008354/0.1279, allocations: 411.1 kB / 421.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.1279, allocations: 8 kB / 421.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.1279, allocations: 11.95 kB / 421.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.1283, allocations: 83.36 kB / 421.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1283, allocations: 0 / 421.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.1283, allocations: 0 / 421.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1283, allocations: 4 kB / 421.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.1285, allocations: 35.92 kB / 421.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.1291, allocations: 390.2 kB / 421.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004414/0.1296, allocations: 109.3 kB / 421.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1296, allocations: 3.938 kB / 421.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003545/0.13, allocations: 109.1 kB / 421.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 4.509e-06/0.13, allocations: 0 / 421.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008371/0.1309, allocations: 204.9 kB / 422.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.1309, allocations: 81.11 kB / 422.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.1327, allocations: 1.003 MB / 423.2 MB, free: 11.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/0.1327, allocations: 33.7 kB / 423.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.133, allocations: 236.3 kB / 423.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.962e-05/0.1331, allocations: 23.72 kB / 423.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.1331, allocations: 3.938 kB / 423.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.1333, allocations: 366.8 kB / 423.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.1336, allocations: 51.97 kB / 423.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.1338, allocations: 75.41 kB / 424 MB, free: 10.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.1341, allocations: 111.4 kB / 424.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1341, allocations: 0 / 424.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007768/0.1349, allocations: 284.2 kB / 424.3 MB, free: 9.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.773e-05/0.135, allocations: 75.41 kB / 424.4 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.135, allocations: 4 kB / 424.4 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.135, allocations: 0 / 424.4 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.1352, allocations: 27.92 kB / 424.5 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1353, allocations: 0 / 424.5 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.1355, allocations: 19.78 kB / 424.5 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.1355, allocations: 12 kB / 424.5 MB, free: 9.711 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0003461/0.1359, allocations: 221.8 kB / 424.7 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.793e-05/0.136, allocations: 51.34 kB / 424.8 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.1361, allocations: 59.72 kB / 424.8 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1361, allocations: 4 kB / 424.8 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.1361, allocations: 0.625 kB / 424.8 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1361, allocations: 3.938 kB / 424.8 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.1366, allocations: 329.5 kB / 425.1 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1366, allocations: 0 / 425.1 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.647e-05/0.1367, allocations: 16 kB / 425.2 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1367, allocations: 0 / 425.2 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.1368, allocations: 7.984 kB / 425.2 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.1368, allocations: 7.953 kB / 425.2 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1368, allocations: 0 / 425.2 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005581/0.1373, allocations: 207 kB / 425.4 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/0.1376, allocations: 148.4 kB / 425.5 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.435e-05/0.1377, allocations: 11.94 kB / 425.5 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.1379, allocations: 11.94 kB / 425.5 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.1379, allocations: 11.98 kB / 425.6 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.138, allocations: 4 kB / 425.6 MB, free: 8.531 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001263/0.1392, allocations: 0.737 MB / 426.3 MB, free: 7.797 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.02e-07/0.1393, allocations: 0 / 426.3 MB, free: 7.797 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004892/0.1398, allocations: 63.98 kB / 426.4 MB, free: 7.734 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.002566/0.1424, allocations: 1.307 MB / 427.7 MB, free: 6.477 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007185/0.1431, allocations: 262.6 kB / 427.9 MB, free: 6.195 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.1431, allocations: 0 / 427.9 MB, free: 6.195 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.1433, allocations: 39.98 kB / 428 MB, free: 6.156 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/0.1439, allocations: 50.27 kB / 428 MB, free: 6.109 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.1467, allocations: 1.812 MB / 429.8 MB, free: 4.219 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/0.1474, allocations: 0.8429 MB / 430.7 MB, free: 3.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002339/0.1476, allocations: 54.27 kB / 430.7 MB, free: 3.297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/0.1479, allocations: 143.3 kB / 430.9 MB, free: 3.156 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1479, allocations: 0 / 430.9 MB, free: 3.156 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08638/0.2343, allocations: 7.865 MB / 438.7 MB, free: 11.3 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003341/0.2347, allocations: 242.3 kB / 439 MB, free: 10.97 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/2.934, allocations: 0 / 439 MB, free: 10.97 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat