Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test14",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.0111/0.0111, allocations: 104.3 kB / 15.06 MB, free: 6.027 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.001291/0.001291, allocations: 182.3 kB / 15.95 MB, free: 5.953 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 2.154/2.154, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.307/0.307, allocations: 40.04 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004775, allocations: 12 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1189, allocations: 54.89 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002902/0.1218, allocations: 1.584 MB / 417.6 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1237, allocations: 0.8045 MB / 418.4 MB, free: 140 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1238, allocations: 0 / 418.4 MB, free: 140 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.1241, allocations: 27.8 kB / 418.4 MB, free: 112 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.1244, allocations: 51.84 kB / 418.5 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.1247, allocations: 75.88 kB / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.125, allocations: 115.7 kB / 418.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1251, allocations: 21.55 kB / 418.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.1253, allocations: 75.69 kB / 418.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.1255, allocations: 59.73 kB / 418.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.1255, allocations: 4 kB / 418.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.1256, allocations: 31.94 kB / 418.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.1257, allocations: 39.83 kB / 418.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.1258, allocations: 41.64 kB / 419 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.1261, allocations: 140 kB / 419.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1261, allocations: 0 / 419.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1261, allocations: 0 / 419.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1261, allocations: 0 / 419.1 MB, free: 15.46 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001198/0.1273, allocations: 0.5795 MB / 419.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1274, allocations: 8.031 kB / 419.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.481e-05/0.1274, allocations: 38.56 kB / 419.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.085e-05/0.1275, allocations: 15.81 kB / 419.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.1279, allocations: 230.6 kB / 420 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.1279, allocations: 8 kB / 420 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.128, allocations: 11.94 kB / 420 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/0.1287, allocations: 137.6 kB / 420.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1287, allocations: 0 / 420.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.1287, allocations: 0 / 420.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.1287, allocations: 4 kB / 420.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008129/0.1296, allocations: 139.8 kB / 420.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000749/0.1303, allocations: 384.5 kB / 420.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.1314, allocations: 198.5 kB / 420.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.1315, allocations: 4 kB / 420.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006317/0.1321, allocations: 147.2 kB / 421 MB, free: 13.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 3.276e-06/0.1321, allocations: 0 / 421 MB, free: 13.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.001567/0.1337, allocations: 293.4 kB / 421.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.1338, allocations: 59.34 kB / 421.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.1341, allocations: 210.3 kB / 421.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.1342, allocations: 37.69 kB / 421.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.29e-05/0.1343, allocations: 112 kB / 421.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.929e-05/0.1344, allocations: 35.69 kB / 421.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.1344, allocations: 4 kB / 421.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1345, allocations: 334.8 kB / 422 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004849/0.135, allocations: 84.12 kB / 422.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005185/0.1356, allocations: 122.8 kB / 422.2 MB, free: 12.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005319/0.1361, allocations: 143.3 kB / 422.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1361, allocations: 0 / 422.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001304/0.1374, allocations: 328.2 kB / 422.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.404e-05/0.1376, allocations: 63.41 kB / 422.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1376, allocations: 0 / 422.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/0.1376, allocations: 7.984 kB / 422.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.138, allocations: 43.89 kB / 422.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.138, allocations: 0 / 422.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.1384, allocations: 43.83 kB / 422.8 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.1384, allocations: 7.984 kB / 422.9 MB, free: 11.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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.0001977/0.1386, allocations: 125.8 kB / 423 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.1387, allocations: 19.77 kB / 423 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.225e-05/0.1388, allocations: 25.33 kB / 423 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.1388, allocations: 4 kB / 423 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1388, allocations: 4 kB / 423 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1388, allocations: 0 / 423 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.1392, allocations: 229.5 kB / 423.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1392, allocations: 0 / 423.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/0.1396, allocations: 31.97 kB / 423.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.1396, allocations: 7.953 kB / 423.3 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.1396, allocations: 4 kB / 423.3 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.1397, allocations: 0 / 423.3 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1397, allocations: 4 kB / 423.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.1413, allocations: 336.8 kB / 423.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.1415, allocations: 100.9 kB / 423.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.1415, allocations: 15.89 kB / 423.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.1419, allocations: 23.97 kB / 423.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.142, allocations: 19.97 kB / 423.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.142, allocations: 7.938 kB / 423.8 MB, free: 10.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002234/0.1423, allocations: 152.2 kB / 423.9 MB, free: 10.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1423, allocations: 4.062 kB / 423.9 MB, free: 10.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004077/0.1427, allocations: 51.89 kB / 424 MB, free: 10.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003092/0.1458, allocations: 1.169 MB / 425.2 MB, free: 9.035 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.1471, allocations: 318.7 kB / 425.5 MB, free: 8.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/0.1471, allocations: 4 kB / 425.5 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000501/0.1476, allocations: 88 kB / 425.6 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.1481, allocations: 39.7 kB / 425.6 MB, free: 8.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.1496, allocations: 0.8796 MB / 426.5 MB, free: 7.637 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.15, allocations: 0.7204 MB / 427.2 MB, free: 6.891 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001669/0.1502, allocations: 25.42 kB / 427.2 MB, free: 6.863 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.1503, allocations: 43.42 kB / 427.3 MB, free: 6.82 MB / 362.7 MB Notification: Performance of SimCode: time 1.382e-06/0.1503, allocations: 0 / 427.3 MB, free: 6.82 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.1812, allocations: 4.068 MB / 431.3 MB, free: 2.762 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003363/0.1816, allocations: 246.3 kB / 431.6 MB, free: 2.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/2.734, allocations: 0 / 431.6 MB, free: 2.43 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat