Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test49",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.01082/0.01082, allocations: 105.9 kB / 15.06 MB, free: 6.027 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.001194/0.001194, allocations: 180.8 kB / 15.95 MB, free: 5.953 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.887/1.887, allocations: 194.5 MB / 211.2 MB, free: 11.03 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.2675/0.2675, allocations: 40.04 MB / 296.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004577/0.0004579, allocations: 12 kB / 361.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1109, allocations: 54.88 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002383/0.1134, allocations: 1.353 MB / 417.4 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.115, allocations: 0.719 MB / 418.1 MB, free: 464 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.1151, allocations: 0 / 418.1 MB, free: 464 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.1154, allocations: 31.84 kB / 418.1 MB, free: 432 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.1156, allocations: 43.81 kB / 418.2 MB, free: 388 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.1158, allocations: 59.81 kB / 418.2 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.116, allocations: 59.86 kB / 418.3 MB, free: 268 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.949e-05/0.1161, allocations: 8 kB / 418.3 MB, free: 260 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1162, allocations: 43.83 kB / 418.3 MB, free: 216 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.524e-05/0.1163, allocations: 31.86 kB / 418.4 MB, free: 184 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.1164, allocations: 4 kB / 418.4 MB, free: 180 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1165, allocations: 16 kB / 418.4 MB, free: 164 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.1166, allocations: 31.89 kB / 418.4 MB, free: 132 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.1166, allocations: 45.64 kB / 418.5 MB, free: 80 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.1169, allocations: 100 kB / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.1169, allocations: 0 / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1169, allocations: 0 / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1169, allocations: 0 / 418.6 MB, free: 15.98 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.000614/0.1175, allocations: 474.1 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1176, allocations: 8.031 kB / 419 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.1176, allocations: 34.56 kB / 419.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.1177, allocations: 7.906 kB / 419.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.118, allocations: 210.7 kB / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.118, allocations: 4 kB / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.1181, allocations: 7.953 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.1183, allocations: 53.67 kB / 419.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1183, allocations: 0 / 419.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1183, allocations: 0 / 419.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1184, allocations: 4 kB / 419.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.1185, allocations: 19.98 kB / 419.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.1189, allocations: 312.8 kB / 419.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.1192, allocations: 54.69 kB / 419.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.1192, allocations: 7.938 kB / 419.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.1195, allocations: 71.5 kB / 419.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 5.36e-06/0.1195, allocations: 0 / 419.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007487/0.1202, allocations: 185 kB / 420 MB, free: 14.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.1203, allocations: 55.41 kB / 420 MB, free: 14.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.1207, allocations: 262.4 kB / 420.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.1207, allocations: 29.7 kB / 420.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/0.1208, allocations: 112.1 kB / 420.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.1209, allocations: 23.66 kB / 420.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.1209, allocations: 4 kB / 420.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.121, allocations: 326.8 kB / 420.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.1212, allocations: 31.98 kB / 420.8 MB, free: 13.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.1213, allocations: 49.69 kB / 420.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.1215, allocations: 69.64 kB / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1215, allocations: 4 kB / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004363/0.1219, allocations: 167.1 kB / 421.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.525e-05/0.122, allocations: 41.69 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.122, allocations: 0 / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.122, allocations: 384 / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.1222, allocations: 16 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.1222, allocations: 3.984 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.252e-05/0.1223, allocations: 8 kB / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1224, allocations: 4 kB / 421.2 MB, free: 13.11 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.0001616/0.1225, allocations: 145.8 kB / 421.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.1226, allocations: 15.81 kB / 421.3 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.102e-05/0.1226, allocations: 21.39 kB / 421.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1227, allocations: 0 / 421.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.1227, allocations: 0 / 421.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1227, allocations: 0 / 421.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006731/0.1234, allocations: 403.3 kB / 421.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1234, allocations: 8.031 kB / 421.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.1235, allocations: 4 kB / 421.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.1235, allocations: 4 kB / 421.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.1235, allocations: 7.922 kB / 421.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1235, allocations: 0 / 421.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.1235, allocations: 4 kB / 421.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.1239, allocations: 225.8 kB / 422 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.835e-05/0.124, allocations: 100.9 kB / 422.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.124, allocations: 4 kB / 422.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.1242, allocations: 4 kB / 422.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.1242, allocations: 7.984 kB / 422.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.1242, allocations: 0 / 422.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002575/0.1245, allocations: 196.2 kB / 422.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1245, allocations: 0 / 422.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003947/0.1249, allocations: 35.98 kB / 422.3 MB, free: 11.84 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.00193/0.1269, allocations: 1.158 MB / 423.5 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004163/0.1273, allocations: 151.4 kB / 423.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.1274, allocations: 0 / 423.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.1275, allocations: 39.86 kB / 423.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.1278, allocations: 20.12 kB / 423.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.129, allocations: 0.6941 MB / 424.4 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.1294, allocations: 0.716 MB / 425.1 MB, free: 9.012 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.929e-05/0.1295, allocations: 12.42 kB / 425.1 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.1296, allocations: 35.42 kB / 425.2 MB, free: 8.965 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1296, allocations: 0 / 425.2 MB, free: 8.965 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.1568, allocations: 3.176 MB / 428.3 MB, free: 5.801 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003784/0.1573, allocations: 258.2 kB / 428.6 MB, free: 5.457 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/2.543, allocations: 3.938 kB / 428.6 MB, free: 5.453 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat