Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test3",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.01538/0.01539, allocations: 110.6 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.002301/0.002302, allocations: 178.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 2.178/2.178, allocations: 194.6 MB / 211.3 MB, free: 10.99 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.2756/0.2756, allocations: 40.04 MB / 296.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.000471, allocations: 12 kB / 361.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1191, allocations: 54.89 MB / 416 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002597/0.1217, allocations: 1.353 MB / 417.4 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.1235, allocations: 0.719 MB / 418.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.918e-05/0.1236, allocations: 0 / 418.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.1239, allocations: 15.92 kB / 418.1 MB, free: 440 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.1241, allocations: 39.81 kB / 418.2 MB, free: 400 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.1244, allocations: 51.83 kB / 418.2 MB, free: 348 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.1246, allocations: 67.8 kB / 418.3 MB, free: 280 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1247, allocations: 12 kB / 418.3 MB, free: 268 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1248, allocations: 35.83 kB / 418.3 MB, free: 232 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.811e-05/0.1249, allocations: 27.86 kB / 418.4 MB, free: 204 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.125, allocations: 0 / 418.4 MB, free: 204 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1251, allocations: 24 kB / 418.4 MB, free: 180 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.1251, allocations: 15.92 kB / 418.4 MB, free: 164 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.1252, allocations: 37.7 kB / 418.4 MB, free: 120 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.1254, allocations: 88.02 kB / 418.5 MB, free: 32 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.1254, allocations: 0 / 418.5 MB, free: 32 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1255, allocations: 4 kB / 418.5 MB, free: 28 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1255, allocations: 0 / 418.5 MB, free: 28 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007113/0.1262, allocations: 434.4 kB / 418.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1263, allocations: 8.031 kB / 418.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.077e-05/0.1263, allocations: 34.55 kB / 419 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.1264, allocations: 7.906 kB / 419 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.1267, allocations: 199 kB / 419.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.1267, allocations: 3.953 kB / 419.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.1267, allocations: 4 kB / 419.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.127, allocations: 57.67 kB / 419.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.127, allocations: 0 / 419.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.127, allocations: 3.984 kB / 419.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.127, allocations: 4 kB / 419.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.1272, allocations: 27.91 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.1277, allocations: 292.8 kB / 419.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.1279, allocations: 62.67 kB / 419.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.128, allocations: 3.938 kB / 419.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/0.1282, allocations: 75.45 kB / 419.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.1282, allocations: 0 / 419.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000794/0.129, allocations: 169.3 kB / 419.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.1291, allocations: 59.41 kB / 419.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1293, allocations: 156.8 kB / 420.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.1294, allocations: 29.7 kB / 420.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.1294, allocations: 99.98 kB / 420.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.1295, allocations: 27.69 kB / 420.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-06/0.1295, allocations: 0 / 420.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1297, allocations: 326.8 kB / 420.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.1298, allocations: 27.98 kB / 420.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.13, allocations: 53.64 kB / 420.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.1301, allocations: 65.69 kB / 420.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1302, allocations: 0 / 420.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003945/0.1306, allocations: 163.2 kB / 420.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.984e-05/0.1306, allocations: 37.7 kB / 420.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1306, allocations: 0 / 420.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1307, allocations: 0 / 420.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1308, allocations: 15.98 kB / 420.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.1308, allocations: 7.969 kB / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.145e-05/0.1309, allocations: 8 kB / 420.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.131, allocations: 4 kB / 420.9 MB, free: 13.35 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 (11): * Single equations (assignments): 10 * 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.0001439/0.1311, allocations: 129.8 kB / 421.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.1312, allocations: 7.906 kB / 421.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.337e-05/0.1312, allocations: 12.72 kB / 421.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1313, allocations: 0 / 421.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1313, allocations: 0 / 421.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1313, allocations: 3.984 kB / 421.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006323/0.1319, allocations: 383.3 kB / 421.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1319, allocations: 4 kB / 421.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.134e-05/0.132, allocations: 11.98 kB / 421.5 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.132, allocations: 0 / 421.5 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.1321, allocations: 7.938 kB / 421.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.1321, allocations: 4 kB / 421.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1321, allocations: 0 / 421.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.1324, allocations: 225.8 kB / 421.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.179e-05/0.1325, allocations: 93 kB / 421.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.1326, allocations: 0 / 421.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.1327, allocations: 4 kB / 421.8 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.1328, allocations: 11.94 kB / 421.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.1328, allocations: 4 kB / 421.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.1329, allocations: 119.8 kB / 421.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.133, allocations: 0 / 421.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003846/0.1333, allocations: 35.98 kB / 422 MB, free: 12.2 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 (8): * Single equations (assignments): 6 * 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.001871/0.1352, allocations: 1.158 MB / 423.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004111/0.1357, allocations: 147.3 kB / 423.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1357, allocations: 0 / 423.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1358, allocations: 35.91 kB / 423.3 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.1362, allocations: 23.94 kB / 423.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009492/0.1372, allocations: 0.5857 MB / 423.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.1375, allocations: 0.7004 MB / 424.6 MB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.1376, allocations: 16.56 kB / 424.6 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.947e-05/0.1377, allocations: 31.42 kB / 424.7 MB, free: 9.461 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1377, allocations: 0 / 424.7 MB, free: 9.461 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.1627, allocations: 2.732 MB / 427.4 MB, free: 6.742 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003996/0.1632, allocations: 249.1 kB / 427.6 MB, free: 6.406 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/2.555, allocations: 4.062 kB / 427.6 MB, free: 6.402 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat