Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test32",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.01129/0.0113, allocations: 107.1 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.001219/0.001219, allocations: 182.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.919/1.919, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.2638/0.2638, allocations: 40.04 MB / 296.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004704, allocations: 12 kB / 361.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1136, allocations: 54.88 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002426/0.1161, allocations: 1.357 MB / 417.4 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.1178, allocations: 0.7189 MB / 418.1 MB, free: 468 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.645e-05/0.1179, allocations: 4 kB / 418.1 MB, free: 464 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.1182, allocations: 15.92 kB / 418.1 MB, free: 448 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.1184, allocations: 39.81 kB / 418.2 MB, free: 408 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.1186, allocations: 55.81 kB / 418.2 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.1188, allocations: 59.88 kB / 418.3 MB, free: 292 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.657e-05/0.1189, allocations: 15.98 kB / 418.3 MB, free: 276 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.896e-05/0.119, allocations: 35.84 kB / 418.3 MB, free: 240 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.941e-05/0.1191, allocations: 23.86 kB / 418.3 MB, free: 216 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1192, allocations: 4 kB / 418.4 MB, free: 212 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1193, allocations: 23.98 kB / 418.4 MB, free: 188 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.1193, allocations: 23.91 kB / 418.4 MB, free: 164 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.1194, allocations: 37.7 kB / 418.4 MB, free: 120 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.1196, allocations: 80.05 kB / 418.5 MB, free: 40 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.1196, allocations: 0 / 418.5 MB, free: 40 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1196, allocations: 4 kB / 418.5 MB, free: 36 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1197, allocations: 0 / 418.5 MB, free: 36 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.0006093/0.1203, allocations: 450.4 kB / 419 MB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1203, allocations: 8.031 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.1204, allocations: 38.55 kB / 419 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.1204, allocations: 11.91 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.1207, allocations: 198.8 kB / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.1207, allocations: 0 / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.1208, allocations: 15.95 kB / 419.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.121, allocations: 53.67 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.121, allocations: 4 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.121, allocations: 3.984 kB / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.121, allocations: 0 / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.1212, allocations: 23.92 kB / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.1216, allocations: 292.8 kB / 419.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.1219, allocations: 62.61 kB / 419.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.1219, allocations: 3.984 kB / 419.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.1222, allocations: 67.45 kB / 419.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.1222, allocations: 0 / 419.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007403/0.1229, allocations: 181.1 kB / 419.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.123, allocations: 63.39 kB / 420 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.1232, allocations: 178.2 kB / 420.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.1233, allocations: 25.7 kB / 420.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.1234, allocations: 104.1 kB / 420.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.1234, allocations: 19.66 kB / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.1234, allocations: 7.938 kB / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1236, allocations: 326.8 kB / 420.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1237, allocations: 27.98 kB / 420.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.1238, allocations: 49.7 kB / 420.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.124, allocations: 69.69 kB / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.124, allocations: 0 / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003807/0.1244, allocations: 155.2 kB / 420.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.1245, allocations: 37.69 kB / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1245, allocations: 80 / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1245, allocations: 0 / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.1247, allocations: 19.94 kB / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1247, allocations: 8.016 kB / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.515e-05/0.1248, allocations: 8 kB / 421 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.1248, allocations: 7.984 kB / 421 MB, free: 13.3 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.000129/0.1249, allocations: 125.8 kB / 421.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.125, allocations: 15.81 kB / 421.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/0.125, allocations: 16.7 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1251, allocations: 0 / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1251, allocations: 0 / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1251, allocations: 384 / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006106/0.1257, allocations: 395.3 kB / 421.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.1257, allocations: 4 kB / 421.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.1258, allocations: 8 kB / 421.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1258, allocations: 3.938 kB / 421.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.1258, allocations: 8 kB / 421.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1259, allocations: 0 / 421.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1259, allocations: 3.938 kB / 421.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.1262, allocations: 218 kB / 421.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.817e-05/0.1263, allocations: 100.9 kB / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.1263, allocations: 0 / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.1265, allocations: 4 kB / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.1265, allocations: 7.984 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.1266, allocations: 12 kB / 421.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.1267, allocations: 132.1 kB / 422 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1267, allocations: 0 / 422 MB, free: 12.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003892/0.1271, allocations: 31.98 kB / 422.1 MB, free: 12.13 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.001774/0.1289, allocations: 1.158 MB / 423.2 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003819/0.1293, allocations: 151.3 kB / 423.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1293, allocations: 7.938 kB / 423.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.1295, allocations: 24 kB / 423.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.1298, allocations: 19.94 kB / 423.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009464/0.1308, allocations: 0.6209 MB / 424 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.1311, allocations: 0.7082 MB / 424.7 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.121e-05/0.1312, allocations: 16.41 kB / 424.8 MB, free: 9.379 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.1313, allocations: 23.44 kB / 424.8 MB, free: 9.355 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1313, allocations: 0 / 424.8 MB, free: 9.355 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.1593, allocations: 2.851 MB / 427.6 MB, free: 6.52 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004737/0.1598, allocations: 250.2 kB / 427.9 MB, free: 6.184 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/2.642, allocations: 0 / 427.9 MB, free: 6.184 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat