Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test11",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.01126, allocations: 106.3 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.001259/0.001259, allocations: 185.6 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.911/1.911, allocations: 194.6 MB / 211.3 MB, free: 11.28 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.285/0.285, allocations: 40.04 MB / 296.5 MB, free: 6.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004729, allocations: 12 kB / 361.1 MB, free: 9.566 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1169, allocations: 54.89 MB / 416 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003016/0.12, allocations: 1.514 MB / 417.5 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.1218, allocations: 0.75 MB / 418.3 MB, free: 292 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.122, allocations: 3.938 kB / 418.3 MB, free: 288 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.1223, allocations: 23.91 kB / 418.3 MB, free: 264 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.1225, allocations: 31.89 kB / 418.4 MB, free: 232 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.1228, allocations: 67.8 kB / 418.4 MB, free: 164 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.123, allocations: 83.83 kB / 418.5 MB, free: 80 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1232, allocations: 21.45 kB / 418.5 MB, free: 56 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.1233, allocations: 47.77 kB / 418.6 MB, free: 8 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.1234, allocations: 35.78 kB / 418.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.1235, allocations: 7.938 kB / 418.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.1236, allocations: 24 kB / 418.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.1237, allocations: 27.89 kB / 418.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.1237, allocations: 41.64 kB / 418.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.124, allocations: 100.1 kB / 418.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.124, allocations: 0 / 418.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.124, allocations: 0 / 418.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.124, allocations: 0 / 418.8 MB, free: 15.77 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.0007141/0.1247, allocations: 0.4921 MB / 419.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1248, allocations: 12.03 kB / 419.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.618e-05/0.1249, allocations: 34.56 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.1249, allocations: 15.91 kB / 419.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.1253, allocations: 211.5 kB / 419.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.1253, allocations: 4 kB / 419.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.1253, allocations: 11.95 kB / 419.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.1257, allocations: 81.64 kB / 419.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1257, allocations: 0 / 419.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.1257, allocations: 4 kB / 419.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1257, allocations: 4 kB / 419.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002361/0.126, allocations: 51.97 kB / 419.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006456/0.1266, allocations: 352.5 kB / 420.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.1271, allocations: 98.59 kB / 420.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.1272, allocations: 4 kB / 420.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003038/0.1275, allocations: 87.3 kB / 420.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.264e-06/0.1275, allocations: 0 / 420.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000607/0.1281, allocations: 149.5 kB / 420.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.1282, allocations: 59.39 kB / 420.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.1284, allocations: 171.3 kB / 420.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.1284, allocations: 25.7 kB / 420.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.947e-05/0.1285, allocations: 104 kB / 420.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/0.1286, allocations: 35.55 kB / 420.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.1286, allocations: 7.938 kB / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1288, allocations: 330.8 kB / 421.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.1289, allocations: 35.98 kB / 421.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.1291, allocations: 62.48 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.1294, allocations: 73.69 kB / 421.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1294, allocations: 4 kB / 421.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005278/0.13, allocations: 171.2 kB / 421.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/0.13, allocations: 44.5 kB / 421.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.13, allocations: 0 / 421.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1301, allocations: 4 kB / 421.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.1303, allocations: 24.05 kB / 421.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.1303, allocations: 0 / 421.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.1304, allocations: 15.84 kB / 421.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.1304, allocations: 8 kB / 421.5 MB, free: 12.76 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.0001505/0.1306, allocations: 133.7 kB / 421.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.1307, allocations: 11.81 kB / 421.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.757e-05/0.1307, allocations: 17.41 kB / 421.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1307, allocations: 4.469 kB / 421.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1307, allocations: 0 / 421.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1308, allocations: 3.984 kB / 421.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.131, allocations: 205.7 kB / 421.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.131, allocations: 0 / 421.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.1312, allocations: 23.92 kB / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1312, allocations: 0 / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.1312, allocations: 0 / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.1312, allocations: 4 kB / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1312, allocations: 0 / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005979/0.1318, allocations: 192.8 kB / 422.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.153e-05/0.1319, allocations: 96.97 kB / 422.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.132, allocations: 7.984 kB / 422.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1321, allocations: 4 kB / 422.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.1322, allocations: 12.05 kB / 422.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.1322, allocations: 8 kB / 422.3 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001437/0.1324, allocations: 128.9 kB / 422.4 MB, free: 11.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1324, allocations: 0 / 422.4 MB, free: 11.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003246/0.1327, allocations: 32.11 kB / 422.4 MB, free: 11.8 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.001919/0.1346, allocations: 1.021 MB / 423.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005034/0.1352, allocations: 171.3 kB / 423.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1352, allocations: 0 / 423.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.1354, allocations: 39.92 kB / 423.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.1357, allocations: 28.11 kB / 423.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.1368, allocations: 0.8082 MB / 424.5 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.1371, allocations: 0.716 MB / 425.2 MB, free: 8.973 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.1373, allocations: 16.55 kB / 425.2 MB, free: 8.953 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.761e-05/0.1374, allocations: 35.42 kB / 425.2 MB, free: 8.918 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1374, allocations: 0 / 425.2 MB, free: 8.918 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.1674, allocations: 3.032 MB / 428.3 MB, free: 5.898 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003772/0.1678, allocations: 254.9 kB / 428.5 MB, free: 5.559 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.599/2.766, allocations: 0 / 428.5 MB, free: 5.559 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat does not exist to compare? outputFormat=mat