Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test48",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.01077/0.01077, allocations: 108.4 kB / 15.06 MB, free: 6.023 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.001186/0.001186, allocations: 181.2 kB / 15.95 MB, free: 5.957 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.907/1.907, allocations: 194.5 MB / 211.3 MB, free: 11.25 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.2639/0.2639, allocations: 40.05 MB / 296.5 MB, free: 6.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006793/0.0006796, allocations: 12 kB / 361.2 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.113, allocations: 54.88 MB / 416 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002445/0.1155, allocations: 1.341 MB / 417.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.1172, allocations: 0.7267 MB / 418.1 MB, free: 496 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.1173, allocations: 0 / 418.1 MB, free: 496 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.1176, allocations: 23.92 kB / 418.1 MB, free: 472 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.1178, allocations: 51.73 kB / 418.2 MB, free: 420 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.118, allocations: 51.83 kB / 418.2 MB, free: 368 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.1182, allocations: 63.86 kB / 418.3 MB, free: 304 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1183, allocations: 11.97 kB / 418.3 MB, free: 292 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1185, allocations: 39.84 kB / 418.3 MB, free: 252 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.392e-05/0.1186, allocations: 35.91 kB / 418.4 MB, free: 216 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.1186, allocations: 0 / 418.4 MB, free: 216 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.1187, allocations: 27.94 kB / 418.4 MB, free: 188 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.1188, allocations: 31.89 kB / 418.4 MB, free: 156 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.219e-05/0.1189, allocations: 37.64 kB / 418.5 MB, free: 112 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.1191, allocations: 96.03 kB / 418.6 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1191, allocations: 0 / 418.6 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1191, allocations: 0 / 418.6 MB, free: 16 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1191, allocations: 4 kB / 418.6 MB, free: 12 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.0006694/0.1198, allocations: 474.1 kB / 419 MB, free: 15.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1199, allocations: 12.03 kB / 419 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.967e-05/0.1199, allocations: 38.56 kB / 419.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.12, allocations: 11.91 kB / 419.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.1203, allocations: 202.8 kB / 419.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.1203, allocations: 0 / 419.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.1204, allocations: 11.95 kB / 419.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.1206, allocations: 53.61 kB / 419.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1206, allocations: 4 kB / 419.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.1206, allocations: 8 kB / 419.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1206, allocations: 0 / 419.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.1208, allocations: 19.98 kB / 419.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.1213, allocations: 300.9 kB / 419.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.1215, allocations: 62.56 kB / 419.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.1216, allocations: 3.984 kB / 419.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.1218, allocations: 71.52 kB / 419.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.1219, allocations: 0 / 419.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.00079/0.1227, allocations: 189 kB / 420 MB, free: 14.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.1227, allocations: 51.41 kB / 420 MB, free: 14.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.1231, allocations: 258.5 kB / 420.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.1231, allocations: 29.7 kB / 420.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.961e-05/0.1232, allocations: 116.1 kB / 420.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.1233, allocations: 23.64 kB / 420.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-06/0.1233, allocations: 4 kB / 420.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1234, allocations: 330.8 kB / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.1235, allocations: 27.98 kB / 420.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.1237, allocations: 53.62 kB / 420.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.1239, allocations: 61.7 kB / 420.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1239, allocations: 7.938 kB / 420.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004058/0.1243, allocations: 163.2 kB / 421.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.079e-05/0.1244, allocations: 48.44 kB / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1244, allocations: 0 / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1244, allocations: 0 / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.1245, allocations: 12 kB / 421.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.1246, allocations: 4 kB / 421.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.265e-05/0.1247, allocations: 7.984 kB / 421.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.1247, allocations: 8 kB / 421.2 MB, free: 13.13 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.000147/0.1249, allocations: 141.8 kB / 421.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.1249, allocations: 11.81 kB / 421.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.856e-05/0.125, allocations: 17.41 kB / 421.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.125, allocations: 0 / 421.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.125, allocations: 4.375 kB / 421.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.125, allocations: 3.984 kB / 421.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006261/0.1257, allocations: 399.3 kB / 421.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1257, allocations: 8.031 kB / 421.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.241e-05/0.1257, allocations: 11.94 kB / 421.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1258, allocations: 3.938 kB / 421.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.1258, allocations: 11.98 kB / 421.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1258, allocations: 0 / 421.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1258, allocations: 0 / 421.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.1262, allocations: 225.9 kB / 422 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.594e-05/0.1263, allocations: 100.9 kB / 422.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.1263, allocations: 4 kB / 422.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1264, allocations: 0 / 422.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.1265, allocations: 7.984 kB / 422.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.1265, allocations: 8 kB / 422.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002338/0.1268, allocations: 200.1 kB / 422.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1268, allocations: 0 / 422.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004038/0.1272, allocations: 31.98 kB / 422.3 MB, free: 11.86 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.001804/0.129, allocations: 1.156 MB / 423.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003894/0.1294, allocations: 155.3 kB / 423.6 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1294, allocations: 3.938 kB / 423.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.1296, allocations: 23.94 kB / 423.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.1299, allocations: 28.12 kB / 423.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.131, allocations: 0.6901 MB / 424.4 MB, free: 9.781 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.1314, allocations: 0.7199 MB / 425.1 MB, free: 9.035 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.465e-05/0.1315, allocations: 8.438 kB / 425.1 MB, free: 9.027 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.637e-05/0.1316, allocations: 43.41 kB / 425.2 MB, free: 8.984 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1316, allocations: 0 / 425.2 MB, free: 8.984 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.1609, allocations: 3.158 MB / 428.3 MB, free: 5.84 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003292/0.1613, allocations: 254.2 kB / 428.6 MB, free: 5.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/2.491, allocations: 0 / 428.6 MB, free: 5.5 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat