Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test57",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.01081/0.01081, allocations: 110.8 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.001205/0.001205, allocations: 180.1 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.86/1.86, allocations: 194.5 MB / 211.3 MB, free: 11.09 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.2555/0.2555, allocations: 40.04 MB / 296.5 MB, free: 6.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004696, allocations: 15.98 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.111, allocations: 54.89 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002366/0.1134, allocations: 1.353 MB / 417.4 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.1158, allocations: 1.29 MB / 418.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.184e-05/0.1159, allocations: 0 / 418.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.1162, allocations: 27.84 kB / 418.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.1164, allocations: 39.88 kB / 418.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.1166, allocations: 51.83 kB / 418.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.1168, allocations: 59.86 kB / 418.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.645e-05/0.1169, allocations: 15.98 kB / 418.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.706e-05/0.117, allocations: 31.86 kB / 418.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.1172, allocations: 31.84 kB / 418.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.1172, allocations: 4 kB / 418.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.1174, allocations: 43.92 kB / 419 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.287e-05/0.1174, allocations: 19.91 kB / 419 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.1175, allocations: 29.7 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.1177, allocations: 104 kB / 419.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.1177, allocations: 0 / 419.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1178, allocations: 8 kB / 419.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1178, allocations: 0 / 419.1 MB, free: 15.41 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.000605/0.1184, allocations: 442.5 kB / 419.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1184, allocations: 8.031 kB / 419.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.1185, allocations: 34.56 kB / 419.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.1185, allocations: 7.906 kB / 419.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.1188, allocations: 202.9 kB / 419.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.1188, allocations: 0 / 419.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.1189, allocations: 7.953 kB / 419.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.1191, allocations: 71.39 kB / 419.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1191, allocations: 0 / 419.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.1192, allocations: 7.938 kB / 419.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1192, allocations: 3.938 kB / 419.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.1193, allocations: 19.98 kB / 419.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.1198, allocations: 292.8 kB / 420.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.12, allocations: 62.61 kB / 420.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.1201, allocations: 4 kB / 420.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.1203, allocations: 63.52 kB / 420.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.1203, allocations: 3.938 kB / 420.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007453/0.1211, allocations: 181.2 kB / 420.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.1211, allocations: 81.11 kB / 420.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.1213, allocations: 146.1 kB / 420.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.1214, allocations: 25.7 kB / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.1214, allocations: 92.14 kB / 420.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.1215, allocations: 27.64 kB / 420.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.1215, allocations: 4 kB / 420.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1216, allocations: 322.8 kB / 421.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.1218, allocations: 28 kB / 421.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.1219, allocations: 58.55 kB / 421.3 MB, free: 13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.1221, allocations: 65.64 kB / 421.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1221, allocations: 0 / 421.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003908/0.1225, allocations: 155.3 kB / 421.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/0.1226, allocations: 37.7 kB / 421.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1226, allocations: 0 / 421.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1226, allocations: 4.062 kB / 421.5 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.1228, allocations: 23.92 kB / 421.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1228, allocations: 0 / 421.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.998e-05/0.1229, allocations: 4 kB / 421.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.1229, allocations: 8 kB / 421.6 MB, free: 12.69 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.0001262/0.123, allocations: 129.2 kB / 421.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.1231, allocations: 11.81 kB / 421.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.776e-05/0.1231, allocations: 12.72 kB / 421.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1231, allocations: 3.984 kB / 421.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.1232, allocations: 4.375 kB / 421.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1232, allocations: 0 / 421.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006281/0.1238, allocations: 403.2 kB / 422.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1238, allocations: 0 / 422.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.094e-05/0.1239, allocations: 11.98 kB / 422.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1239, allocations: 0 / 422.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1239, allocations: 3.938 kB / 422.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.124, allocations: 4 kB / 422.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.124, allocations: 4.031 kB / 422.2 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.1243, allocations: 210 kB / 422.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.94e-05/0.1244, allocations: 93 kB / 422.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.1245, allocations: 4 kB / 422.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.1246, allocations: 7.984 kB / 422.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.1246, allocations: 11.95 kB / 422.5 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.1247, allocations: 4 kB / 422.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001203/0.1248, allocations: 107.3 kB / 422.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1248, allocations: 3.938 kB / 422.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004045/0.1252, allocations: 43.98 kB / 422.6 MB, free: 11.53 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.002054/0.1273, allocations: 1.255 MB / 423.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003924/0.1277, allocations: 151.3 kB / 424 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1277, allocations: 0 / 424 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.1279, allocations: 35.92 kB / 424.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.1282, allocations: 24.02 kB / 424.1 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009244/0.1291, allocations: 0.5854 MB / 424.7 MB, free: 9.461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.1294, allocations: 0.6965 MB / 425.4 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.024e-05/0.1295, allocations: 8.562 kB / 425.4 MB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.537e-05/0.1296, allocations: 27.42 kB / 425.4 MB, free: 8.703 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1296, allocations: 0 / 425.4 MB, free: 8.703 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.1604, allocations: 3.075 MB / 428.5 MB, free: 5.645 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003631/0.1608, allocations: 250.7 kB / 428.7 MB, free: 5.309 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/2.603, allocations: 3.938 kB / 428.7 MB, free: 5.305 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat