Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test4",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.01108/0.01109, allocations: 106.3 kB / 15.06 MB, free: 5.551 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.001266/0.001266, allocations: 178.1 kB / 15.95 MB, free: 5.516 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.096/2.096, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.2648/0.2648, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004904, allocations: 12 kB / 361.1 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1183, allocations: 54.88 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002545/0.1209, allocations: 1.353 MB / 417.4 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.1226, allocations: 0.7229 MB / 418.1 MB, free: 464 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.1227, allocations: 0 / 418.1 MB, free: 464 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.123, allocations: 67.78 kB / 418.2 MB, free: 396 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.1232, allocations: 59.78 kB / 418.2 MB, free: 336 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.1235, allocations: 55.83 kB / 418.3 MB, free: 280 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.1237, allocations: 67.84 kB / 418.3 MB, free: 212 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.1238, allocations: 15.98 kB / 418.4 MB, free: 196 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1239, allocations: 43.83 kB / 418.4 MB, free: 152 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.124, allocations: 43.83 kB / 418.4 MB, free: 108 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1241, allocations: 0 / 418.4 MB, free: 108 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1242, allocations: 24 kB / 418.5 MB, free: 84 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.1242, allocations: 23.91 kB / 418.5 MB, free: 60 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.287e-05/0.1243, allocations: 41.64 kB / 418.5 MB, free: 12 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.1245, allocations: 100 kB / 418.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1245, allocations: 0 / 418.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1246, allocations: 0 / 418.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.1246, allocations: 0 / 418.6 MB, free: 15.91 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.0005819/0.1252, allocations: 450.3 kB / 419.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1252, allocations: 8.031 kB / 419.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.549e-05/0.1253, allocations: 34.56 kB / 419.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.1253, allocations: 11.91 kB / 419.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.1256, allocations: 203.6 kB / 419.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.1256, allocations: 8 kB / 419.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.1257, allocations: 7.953 kB / 419.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.1259, allocations: 57.61 kB / 419.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1259, allocations: 0 / 419.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1259, allocations: 0 / 419.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1259, allocations: 0 / 419.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.126, allocations: 19.98 kB / 419.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.1265, allocations: 312.7 kB / 419.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.1268, allocations: 58.61 kB / 419.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.1268, allocations: 7.938 kB / 419.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.127, allocations: 63.52 kB / 419.8 MB, free: 14.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.127, allocations: 0 / 419.8 MB, free: 14.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007324/0.1278, allocations: 185.2 kB / 420 MB, free: 14.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.1278, allocations: 55.41 kB / 420.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.1281, allocations: 203.1 kB / 420.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.1281, allocations: 25.7 kB / 420.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/0.1282, allocations: 104.1 kB / 420.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.1283, allocations: 27.64 kB / 420.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.1283, allocations: 4 kB / 420.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1284, allocations: 326.8 kB / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.1286, allocations: 35.98 kB / 420.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.1287, allocations: 41.7 kB / 420.8 MB, free: 13.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.1289, allocations: 73.58 kB / 420.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1289, allocations: 0 / 420.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003801/0.1293, allocations: 163.2 kB / 421.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.486e-05/0.1293, allocations: 33.7 kB / 421.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1294, allocations: 3.938 kB / 421.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1294, allocations: 8.031 kB / 421.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.1295, allocations: 15.98 kB / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1296, allocations: 0 / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.924e-05/0.1297, allocations: 8 kB / 421.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.1297, allocations: 4 kB / 421.1 MB, free: 13.14 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.0001355/0.1298, allocations: 133.8 kB / 421.3 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.1299, allocations: 11.91 kB / 421.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.1299, allocations: 17.39 kB / 421.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1299, allocations: 0 / 421.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.13, allocations: 4.375 kB / 421.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.13, allocations: 0 / 421.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006152/0.1306, allocations: 403.2 kB / 421.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.1306, allocations: 4 kB / 421.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.917e-05/0.1307, allocations: 11.94 kB / 421.7 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.1307, allocations: 0 / 421.7 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1307, allocations: 7.938 kB / 421.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1308, allocations: 0 / 421.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1308, allocations: 4.031 kB / 421.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.1311, allocations: 217.9 kB / 421.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-05/0.1312, allocations: 100.9 kB / 422 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.1313, allocations: 0 / 422 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.1314, allocations: 8 kB / 422 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.1314, allocations: 7.984 kB / 422 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.1315, allocations: 4 kB / 422.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001913/0.1317, allocations: 167.1 kB / 422.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.1317, allocations: 0 / 422.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.132, allocations: 28 kB / 422.2 MB, free: 11.93 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.001791/0.1338, allocations: 1.159 MB / 423.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003794/0.1343, allocations: 151.3 kB / 423.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.1343, allocations: 0 / 423.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.1344, allocations: 35.86 kB / 423.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.1348, allocations: 28.06 kB / 423.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1358, allocations: 0.6264 MB / 424.2 MB, free: 9.914 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.1361, allocations: 0.7121 MB / 424.9 MB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.849e-05/0.1362, allocations: 12.44 kB / 425 MB, free: 9.164 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.65e-05/0.1363, allocations: 35.42 kB / 425 MB, free: 9.129 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1363, allocations: 0 / 425 MB, free: 9.129 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.1596, allocations: 2.948 MB / 427.9 MB, free: 6.195 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003264/0.16, allocations: 257 kB / 428.2 MB, free: 5.852 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/2.512, allocations: 0 / 428.2 MB, free: 5.852 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat