Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test10",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.01126/0.01127, 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.00123/0.00123, allocations: 181.3 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.929/1.929, allocations: 194.6 MB / 211.3 MB, free: 11.23 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.3378/0.3378, allocations: 40.04 MB / 296.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00069/0.0006902, allocations: 12 kB / 361.2 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1151, allocations: 54.88 MB / 416 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002774/0.1179, allocations: 1.514 MB / 417.5 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.1208, allocations: 0.75 MB / 418.3 MB, free: 288 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.121, allocations: 3.938 kB / 418.3 MB, free: 284 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.1213, allocations: 19.92 kB / 418.3 MB, free: 264 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.1216, allocations: 43.86 kB / 418.4 MB, free: 220 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.1219, allocations: 55.83 kB / 418.4 MB, free: 164 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.1221, allocations: 87.83 kB / 418.5 MB, free: 76 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1222, allocations: 21.44 kB / 418.5 MB, free: 52 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.1223, allocations: 47.78 kB / 418.6 MB, free: 4 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.1225, allocations: 35.78 kB / 418.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.1225, allocations: 0 / 418.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.1226, allocations: 35.91 kB / 418.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/0.1227, allocations: 19.92 kB / 418.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.1228, allocations: 49.64 kB / 418.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.123, allocations: 100 kB / 418.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.123, allocations: 0 / 418.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1231, allocations: 0 / 418.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1231, allocations: 0 / 418.8 MB, free: 15.76 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007531/0.1238, allocations: 499.9 kB / 419.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1239, allocations: 8.031 kB / 419.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.036e-05/0.124, allocations: 38.56 kB / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.124, allocations: 11.91 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.1244, allocations: 219.4 kB / 419.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.1244, allocations: 4 kB / 419.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.1245, allocations: 11.95 kB / 419.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.1248, allocations: 81.66 kB / 419.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1248, allocations: 0 / 419.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1248, allocations: 4 kB / 419.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1249, allocations: 3.984 kB / 419.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.1251, allocations: 51.97 kB / 419.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/0.1258, allocations: 360.5 kB / 420.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.1263, allocations: 90.67 kB / 420.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1263, allocations: 0 / 420.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003083/0.1267, allocations: 95.23 kB / 420.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.964e-06/0.1267, allocations: 0 / 420.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006102/0.1273, allocations: 149.5 kB / 420.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.1273, allocations: 51.41 kB / 420.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.1276, allocations: 171.3 kB / 420.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.1276, allocations: 25.7 kB / 420.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.1277, allocations: 108 kB / 420.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.1278, allocations: 31.55 kB / 420.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.1278, allocations: 8 kB / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1279, allocations: 326.8 kB / 421.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.1281, allocations: 39.97 kB / 421.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.1284, allocations: 66.44 kB / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.1286, allocations: 73.69 kB / 421.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1286, allocations: 0 / 421.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005224/0.1291, allocations: 179.2 kB / 421.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.84e-05/0.1292, allocations: 33.7 kB / 421.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1292, allocations: 4 kB / 421.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1292, allocations: 0 / 421.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.1294, allocations: 24.05 kB / 421.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.1295, allocations: 7.984 kB / 421.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.1296, allocations: 15.84 kB / 421.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.1296, allocations: 11.98 kB / 421.5 MB, free: 12.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001414/0.1298, allocations: 125.7 kB / 421.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.1298, allocations: 11.81 kB / 421.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.529e-05/0.1299, allocations: 21.39 kB / 421.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.1299, allocations: 8 kB / 421.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.1299, allocations: 0 / 421.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1299, allocations: 0 / 421.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.1302, allocations: 210.2 kB / 421.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.1302, allocations: 0 / 421.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.1303, allocations: 11.98 kB / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1304, allocations: 0 / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.1304, allocations: 8 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.1304, allocations: 3.938 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1304, allocations: 0 / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.131, allocations: 192.8 kB / 422.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.92e-05/0.1312, allocations: 97.03 kB / 422.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.1312, allocations: 3.938 kB / 422.2 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.1313, allocations: 8 kB / 422.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.1314, allocations: 12.05 kB / 422.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.1314, allocations: 4 kB / 422.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001472/0.1316, allocations: 132.9 kB / 422.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1316, allocations: 0 / 422.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003536/0.132, allocations: 32.12 kB / 422.4 MB, free: 11.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001961/0.1339, allocations: 1.017 MB / 423.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004898/0.1345, allocations: 171.2 kB / 423.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.1345, allocations: 0 / 423.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.1347, allocations: 39.92 kB / 423.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.135, allocations: 32.09 kB / 423.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.1362, allocations: 0.8121 MB / 424.5 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.1366, allocations: 0.716 MB / 425.2 MB, free: 8.961 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.1367, allocations: 12.55 kB / 425.2 MB, free: 8.945 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.873e-05/0.1369, allocations: 35.42 kB / 425.2 MB, free: 8.91 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1369, allocations: 0 / 425.2 MB, free: 8.91 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02941/0.1663, allocations: 3.04 MB / 428.3 MB, free: 5.883 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003486/0.1667, allocations: 250.9 kB / 428.5 MB, free: 5.547 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.631/2.798, allocations: 3.938 kB / 428.5 MB, free: 5.543 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat does not exist to compare? outputFormat=mat