Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test42",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: 108 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.001187/0.001187, allocations: 183.2 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.91/1.91, allocations: 194.6 MB / 211.3 MB, free: 11.19 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.2586/0.2586, allocations: 40.04 MB / 296.5 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004723, allocations: 19.98 kB / 361.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1098, allocations: 54.89 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002394/0.1123, allocations: 1.353 MB / 417.4 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1141, allocations: 0.7228 MB / 418.1 MB, free: 468 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.162e-05/0.1142, allocations: 0 / 418.1 MB, free: 468 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.1145, allocations: 27.89 kB / 418.1 MB, free: 440 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.1148, allocations: 39.83 kB / 418.2 MB, free: 400 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.115, allocations: 51.81 kB / 418.2 MB, free: 348 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.1152, allocations: 67.86 kB / 418.3 MB, free: 280 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.1153, allocations: 8 kB / 418.3 MB, free: 272 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1154, allocations: 39.84 kB / 418.3 MB, free: 232 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.443e-05/0.1155, allocations: 23.84 kB / 418.4 MB, free: 208 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1155, allocations: 4 kB / 418.4 MB, free: 204 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1156, allocations: 27.98 kB / 418.4 MB, free: 176 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.748e-05/0.1157, allocations: 15.92 kB / 418.4 MB, free: 160 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.48e-05/0.1158, allocations: 41.64 kB / 418.4 MB, free: 112 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.116, allocations: 96.03 kB / 418.5 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.116, allocations: 0 / 418.5 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.116, allocations: 0 / 418.5 MB, free: 16 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1161, allocations: 0 / 418.5 MB, free: 16 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.0006089/0.1167, allocations: 446.4 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1167, allocations: 12.03 kB / 419 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.899e-05/0.1168, allocations: 30.56 kB / 419 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.1168, allocations: 11.81 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.1171, allocations: 198.9 kB / 419.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.1172, allocations: 7.984 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.1172, allocations: 7.953 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.1174, allocations: 57.61 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1174, allocations: 4 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1175, allocations: 0 / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1175, allocations: 0 / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.1176, allocations: 19.98 kB / 419.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.118, allocations: 300.8 kB / 419.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.1183, allocations: 62.62 kB / 419.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1183, allocations: 0 / 419.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.1185, allocations: 71.5 kB / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.1186, allocations: 0 / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007303/0.1193, allocations: 181.2 kB / 419.9 MB, free: 14.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.1194, allocations: 51.41 kB / 420 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.1196, allocations: 191.3 kB / 420.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.1197, allocations: 29.7 kB / 420.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.912e-05/0.1198, allocations: 104 kB / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.1198, allocations: 27.64 kB / 420.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.1198, allocations: 4 kB / 420.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.12, allocations: 326.8 kB / 420.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.1201, allocations: 31.98 kB / 420.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.1202, allocations: 49.7 kB / 420.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.1204, allocations: 65.62 kB / 420.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1204, allocations: 4 kB / 420.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004159/0.1209, allocations: 159.3 kB / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.1209, allocations: 29.7 kB / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1209, allocations: 0 / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.121, allocations: 4 kB / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.1211, allocations: 23.95 kB / 421 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1211, allocations: 0 / 421 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.06e-05/0.1212, allocations: 8.375 kB / 421 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.1213, allocations: 4 kB / 421 MB, free: 13.28 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.0001392/0.1214, allocations: 129.8 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.1215, allocations: 11.81 kB / 421.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.767e-05/0.1215, allocations: 21.39 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.1215, allocations: 3.984 kB / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.1216, allocations: 8 kB / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1216, allocations: 0 / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006466/0.1222, allocations: 395.3 kB / 421.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.1223, allocations: 0 / 421.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.191e-05/0.1223, allocations: 11.94 kB / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.1223, allocations: 7.938 kB / 421.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.1224, allocations: 4 kB / 421.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1224, allocations: 0 / 421.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1224, allocations: 4.031 kB / 421.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.1227, allocations: 221.9 kB / 421.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-05/0.1228, allocations: 96.91 kB / 421.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.1229, allocations: 0 / 421.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.123, allocations: 4 kB / 421.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.1231, allocations: 11.98 kB / 421.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.1231, allocations: 8 kB / 421.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001626/0.1233, allocations: 148.8 kB / 422.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1233, allocations: 0 / 422.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003795/0.1237, allocations: 24 kB / 422.1 MB, free: 12.09 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.001851/0.1255, allocations: 1.154 MB / 423.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004035/0.126, allocations: 155.2 kB / 423.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.126, allocations: 0 / 423.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.1261, allocations: 35.92 kB / 423.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.1265, allocations: 28 kB / 423.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009762/0.1275, allocations: 0.6217 MB / 424.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.1278, allocations: 0.7082 MB / 424.8 MB, free: 9.344 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.642e-05/0.1279, allocations: 8.438 kB / 424.8 MB, free: 9.336 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.365e-05/0.128, allocations: 35.42 kB / 424.8 MB, free: 9.301 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.128, allocations: 192 / 424.8 MB, free: 9.301 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.1571, allocations: 2.908 MB / 427.8 MB, free: 6.406 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003202/0.1575, allocations: 246.3 kB / 428 MB, free: 6.074 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/2.603, allocations: 0 / 428 MB, free: 6.074 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat