Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test59",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.01089/0.0109, allocations: 108.2 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.001264/0.001264, allocations: 182 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.917/1.917, allocations: 194.5 MB / 211.3 MB, free: 11.04 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.2589/0.2589, allocations: 40.05 MB / 296.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004622, allocations: 16 kB / 361.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1117, allocations: 54.88 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002427/0.1141, allocations: 1.349 MB / 417.4 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.1167, allocations: 1.29 MB / 418.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/0.1168, allocations: 0 / 418.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.1171, allocations: 31.83 kB / 418.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.1173, allocations: 35.89 kB / 418.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.1175, allocations: 51.83 kB / 418.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.1177, allocations: 63.84 kB / 418.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.1178, allocations: 12 kB / 418.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1179, allocations: 35.84 kB / 418.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.1181, allocations: 31.84 kB / 418.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.1181, allocations: 4 kB / 418.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.1183, allocations: 47.91 kB / 419 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.098e-05/0.1183, allocations: 15.92 kB / 419 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.749e-05/0.1184, allocations: 37.69 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.1187, allocations: 96.02 kB / 419.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.1187, allocations: 4 kB / 419.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1187, allocations: 4 kB / 419.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1187, allocations: 0 / 419.1 MB, free: 15.42 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000644/0.1194, allocations: 438.5 kB / 419.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1194, allocations: 11.97 kB / 419.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/0.1195, allocations: 30.56 kB / 419.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.1195, allocations: 7.906 kB / 419.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.1198, allocations: 205.7 kB / 419.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.1199, allocations: 0 / 419.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.1199, allocations: 7.953 kB / 419.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.1201, allocations: 75.39 kB / 419.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1201, allocations: 3.938 kB / 419.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.1202, allocations: 3.984 kB / 419.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1202, allocations: 3.938 kB / 419.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.1203, allocations: 23.92 kB / 419.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.1208, allocations: 300.8 kB / 420.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.121, allocations: 50.69 kB / 420.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1211, allocations: 4 kB / 420.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.1213, allocations: 71.44 kB / 420.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.1213, allocations: 0 / 420.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007299/0.122, allocations: 177.4 kB / 420.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.1221, allocations: 81.11 kB / 420.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.1223, allocations: 146.1 kB / 420.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.1224, allocations: 29.7 kB / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.927e-05/0.1224, allocations: 92.12 kB / 420.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.85e-05/0.1225, allocations: 23.66 kB / 420.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.1225, allocations: 4 kB / 420.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1227, allocations: 322.8 kB / 421.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.1228, allocations: 31.98 kB / 421.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.123, allocations: 58.5 kB / 421.3 MB, free: 13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.1232, allocations: 65.69 kB / 421.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1232, allocations: 0 / 421.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004109/0.1236, allocations: 163.2 kB / 421.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/0.1237, allocations: 37.69 kB / 421.5 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1237, allocations: 0 / 421.5 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1237, allocations: 4.062 kB / 421.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.1239, allocations: 19.94 kB / 421.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1239, allocations: 0 / 421.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.153e-05/0.124, allocations: 8 kB / 421.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.124, allocations: 7.984 kB / 421.6 MB, free: 12.68 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.000138/0.1242, allocations: 125.2 kB / 421.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.1242, allocations: 11.81 kB / 421.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.1243, allocations: 12.72 kB / 421.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1243, allocations: 0 / 421.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.1243, allocations: 7.984 kB / 421.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.1243, allocations: 0 / 421.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006445/0.125, allocations: 399.2 kB / 422.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.125, allocations: 0 / 422.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.1251, allocations: 8 kB / 422.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1251, allocations: 0 / 422.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1251, allocations: 0 / 422.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1251, allocations: 8.031 kB / 422.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1251, allocations: 7.969 kB / 422.2 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.1255, allocations: 217.9 kB / 422.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.325e-05/0.1256, allocations: 93 kB / 422.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.1257, allocations: 8 kB / 422.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.1258, allocations: 0 / 422.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.1258, allocations: 19.92 kB / 422.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.1259, allocations: 4 kB / 422.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.126, allocations: 107.3 kB / 422.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.126, allocations: 0 / 422.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003781/0.1264, allocations: 39.98 kB / 422.6 MB, free: 11.53 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.002122/0.1285, allocations: 1.254 MB / 423.9 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003703/0.1289, allocations: 147.3 kB / 424 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1289, allocations: 0 / 424 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.1291, allocations: 39.91 kB / 424.1 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.1294, allocations: 15.98 kB / 424.1 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009252/0.1303, allocations: 0.5815 MB / 424.7 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.1307, allocations: 0.6965 MB / 425.4 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.924e-05/0.1308, allocations: 12.55 kB / 425.4 MB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.641e-05/0.1309, allocations: 27.42 kB / 425.4 MB, free: 8.703 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1309, allocations: 4 kB / 425.4 MB, free: 8.699 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.1575, allocations: 3.075 MB / 428.5 MB, free: 5.641 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003864/0.158, allocations: 250.7 kB / 428.7 MB, free: 5.305 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/2.645, allocations: 0 / 428.7 MB, free: 5.305 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat does not exist to compare? outputFormat=mat