Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test51",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.01112/0.01112, allocations: 109.3 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.001231/0.001231, allocations: 180.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.939/1.939, allocations: 194.6 MB / 211.3 MB, free: 10.97 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.267/0.267, allocations: 40.04 MB / 296.5 MB, free: 6.23 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004841, allocations: 19.98 kB / 361.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1299, allocations: 54.89 MB / 416 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.00244/0.1324, allocations: 1.345 MB / 417.4 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.1341, allocations: 0.7228 MB / 418.1 MB, free: 460 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.241e-05/0.1342, allocations: 3.938 kB / 418.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.1345, allocations: 27.89 kB / 418.1 MB, free: 428 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.1347, allocations: 39.88 kB / 418.2 MB, free: 388 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.135, allocations: 55.83 kB / 418.2 MB, free: 332 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.1352, allocations: 63.86 kB / 418.3 MB, free: 268 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1353, allocations: 7.984 kB / 418.3 MB, free: 260 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.1354, allocations: 35.86 kB / 418.3 MB, free: 224 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.892e-05/0.1355, allocations: 35.83 kB / 418.4 MB, free: 188 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.1356, allocations: 4 kB / 418.4 MB, free: 184 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1357, allocations: 24 kB / 418.4 MB, free: 160 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.1358, allocations: 15.92 kB / 418.4 MB, free: 144 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.307e-05/0.1359, allocations: 45.62 kB / 418.5 MB, free: 92 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.1361, allocations: 96.08 kB / 418.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1361, allocations: 0 / 418.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1361, allocations: 0 / 418.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1361, allocations: 0 / 418.6 MB, free: 15.99 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.0006477/0.1368, allocations: 458.2 kB / 419 MB, free: 15.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1369, allocations: 8.031 kB / 419 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.682e-05/0.1369, allocations: 34.56 kB / 419 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.137, allocations: 15.91 kB / 419.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.1373, allocations: 211.5 kB / 419.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1373, allocations: 4 kB / 419.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.1374, allocations: 11.95 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.1376, allocations: 53.67 kB / 419.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1376, allocations: 3.984 kB / 419.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.1376, allocations: 4 kB / 419.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1377, allocations: 0 / 419.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.1378, allocations: 15.98 kB / 419.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.1383, allocations: 308.7 kB / 419.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.1386, allocations: 62.61 kB / 419.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.1386, allocations: 0 / 419.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.1389, allocations: 75.39 kB / 419.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.736e-06/0.1389, allocations: 0 / 419.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008985/0.1398, allocations: 181.2 kB / 420 MB, free: 14.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.1399, allocations: 51.41 kB / 420 MB, free: 14.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.1402, allocations: 226.2 kB / 420.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.1403, allocations: 33.7 kB / 420.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.1404, allocations: 100.1 kB / 420.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.1404, allocations: 23.7 kB / 420.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.311e-05/0.1404, allocations: 8 kB / 420.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1406, allocations: 326.8 kB / 420.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.1407, allocations: 39.92 kB / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.1409, allocations: 45.69 kB / 420.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.1411, allocations: 61.7 kB / 420.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1411, allocations: 0 / 420.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004164/0.1415, allocations: 159.1 kB / 421 MB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/0.1416, allocations: 37.69 kB / 421.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1416, allocations: 0 / 421.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1416, allocations: 8.031 kB / 421.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.1418, allocations: 12 kB / 421.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.1418, allocations: 3.984 kB / 421.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.627e-05/0.1419, allocations: 8 kB / 421.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.1419, allocations: 4 kB / 421.1 MB, free: 13.19 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.0001982/0.1421, allocations: 145.7 kB / 421.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.1422, allocations: 7.906 kB / 421.2 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.715e-05/0.1422, allocations: 13.41 kB / 421.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.1423, allocations: 4 kB / 421.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1423, allocations: 4 kB / 421.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1423, allocations: 0 / 421.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006915/0.143, allocations: 395.7 kB / 421.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.143, allocations: 4 kB / 421.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.749e-05/0.1431, allocations: 8 kB / 421.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/0.1431, allocations: 4 kB / 421.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.1431, allocations: 0 / 421.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1432, allocations: 3.938 kB / 421.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.1432, allocations: 8.031 kB / 421.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.1436, allocations: 217.9 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.635e-05/0.1437, allocations: 100.8 kB / 422 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.1437, allocations: 11.98 kB / 422 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.1438, allocations: 0 / 422 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.1439, allocations: 8 kB / 422 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.144, allocations: 8.078 kB / 422 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002093/0.1442, allocations: 171.1 kB / 422.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1442, allocations: 0 / 422.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003834/0.1446, allocations: 24 kB / 422.2 MB, free: 11.97 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.001939/0.1465, allocations: 1.16 MB / 423.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004464/0.147, allocations: 147.4 kB / 423.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.147, allocations: 0 / 423.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.1472, allocations: 31.91 kB / 423.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.1476, allocations: 28 kB / 423.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.1487, allocations: 0.6501 MB / 424.2 MB, free: 9.934 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.1491, allocations: 0.7121 MB / 424.9 MB, free: 9.195 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.806e-05/0.1492, allocations: 16.56 kB / 424.9 MB, free: 9.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.894e-05/0.1493, allocations: 35.42 kB / 425 MB, free: 9.145 MB / 362.7 MB Notification: Performance of SimCode: time 9.81e-07/0.1493, allocations: 0 / 425 MB, free: 9.145 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.1707, allocations: 3.006 MB / 428 MB, free: 6.152 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004438/0.1712, allocations: 250.2 kB / 428.2 MB, free: 5.816 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/2.494, allocations: 0 / 428.2 MB, free: 5.816 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat