Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01068/0.01069, allocations: 104.4 kB / 15.05 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.1.mo): time 0.002123/0.002122, allocations: 170.2 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.664/1.664, allocations: 170.9 MB / 187.5 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2716/0.2716, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006802/0.0006807, allocations: 16 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1196, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003348/0.123, allocations: 1.444 MB / 373.7 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1244, allocations: 447.2 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1245, allocations: 0 / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.1249, allocations: 23.89 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.1251, allocations: 43.83 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.1255, allocations: 67.8 kB / 374.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.1258, allocations: 71.84 kB / 374.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.1259, allocations: 21.38 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1261, allocations: 35.84 kB / 374.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1262, allocations: 23.86 kB / 374.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.1263, allocations: 4 kB / 374.5 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.1264, allocations: 31.98 kB / 374.5 MB, free: 10.63 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.482e-05/0.1265, allocations: 23.91 kB / 374.5 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.271e-05/0.1266, allocations: 41.64 kB / 374.6 MB, free: 10.56 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.1269, allocations: 92.03 kB / 374.6 MB, free: 10.47 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1269, allocations: 0 / 374.6 MB, free: 10.47 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.549e-06/0.127, allocations: 3.984 kB / 374.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.127, allocations: 4 kB / 374.7 MB, free: 10.46 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008725/0.1279, allocations: 458.3 kB / 375.1 MB, free: 9.957 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.1279, allocations: 12.03 kB / 375.1 MB, free: 9.945 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.507e-05/0.128, allocations: 42.55 kB / 375.2 MB, free: 9.895 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.1281, allocations: 7.906 kB / 375.2 MB, free: 9.887 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.1284, allocations: 215.4 kB / 375.4 MB, free: 9.637 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.1285, allocations: 8 kB / 375.4 MB, free: 9.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.1285, allocations: 4 kB / 375.4 MB, free: 9.625 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.1289, allocations: 69.61 kB / 375.5 MB, free: 9.551 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1289, allocations: 3.938 kB / 375.5 MB, free: 9.547 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.1289, allocations: 4 kB / 375.5 MB, free: 9.543 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1289, allocations: 7.938 kB / 375.5 MB, free: 9.535 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.1292, allocations: 43.97 kB / 375.5 MB, free: 9.492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007747/0.13, allocations: 324.7 kB / 375.8 MB, free: 9.125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006696/0.1307, allocations: 74.61 kB / 375.9 MB, free: 9.043 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.548e-05/0.1308, allocations: 4.125 kB / 375.9 MB, free: 9.039 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004207/0.1312, allocations: 83.34 kB / 376 MB, free: 8.945 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 3.987e-06/0.1313, allocations: 4 kB / 376 MB, free: 8.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007603/0.1321, allocations: 117.5 kB / 376.1 MB, free: 8.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.1321, allocations: 51.41 kB / 376.2 MB, free: 8.758 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.1325, allocations: 167.5 kB / 376.3 MB, free: 8.586 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.1325, allocations: 25.7 kB / 376.3 MB, free: 8.555 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.1327, allocations: 104.1 kB / 376.4 MB, free: 8.449 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.563e-05/0.1328, allocations: 23.72 kB / 376.5 MB, free: 8.426 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/0.1328, allocations: 0 / 376.5 MB, free: 8.426 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.133, allocations: 326.8 kB / 376.8 MB, free: 8.098 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.1332, allocations: 23.98 kB / 376.8 MB, free: 8.074 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.1335, allocations: 49.8 kB / 376.9 MB, free: 8.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.1337, allocations: 65.69 kB / 376.9 MB, free: 7.949 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1338, allocations: 0 / 376.9 MB, free: 7.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006744/0.1345, allocations: 155.1 kB / 377.1 MB, free: 7.785 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.376e-05/0.1346, allocations: 29.7 kB / 377.1 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1346, allocations: 4 kB / 377.1 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1346, allocations: 0 / 377.1 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.1349, allocations: 19.92 kB / 377.1 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.1349, allocations: 4 kB / 377.1 MB, free: 7.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.1351, allocations: 11.97 kB / 377.1 MB, free: 7.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.1351, allocations: 11.95 kB / 377.2 MB, free: 7.699 MB / 282.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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.000199/0.1353, allocations: 126.9 kB / 377.3 MB, free: 7.566 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.1354, allocations: 7.906 kB / 377.3 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.613e-05/0.1355, allocations: 12.72 kB / 377.3 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1355, allocations: 0 / 377.3 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/0.1355, allocations: 4 kB / 377.3 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1355, allocations: 0 / 377.3 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.1359, allocations: 209.5 kB / 377.5 MB, free: 7.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1359, allocations: 0 / 377.5 MB, free: 7.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.1362, allocations: 15.98 kB / 377.5 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1362, allocations: 3.938 kB / 377.5 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.1362, allocations: 0 / 377.5 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1362, allocations: 192 / 377.5 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.1363, allocations: 3.938 kB / 377.5 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.137, allocations: 156.9 kB / 377.7 MB, free: 7.094 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.1372, allocations: 97.02 kB / 377.8 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.1372, allocations: 0 / 377.8 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.1374, allocations: 8 kB / 377.8 MB, free: 6.973 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.1375, allocations: 3.984 kB / 377.8 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.1375, allocations: 4 kB / 377.8 MB, free: 6.965 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002136/0.1377, allocations: 122.4 kB / 377.9 MB, free: 6.848 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.1378, allocations: 4 kB / 377.9 MB, free: 6.844 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005517/0.1383, allocations: 31.84 kB / 378 MB, free: 6.812 MB / 282.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002384/0.1407, allocations: 0.9143 MB / 378.9 MB, free: 5.969 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000571/0.1414, allocations: 131.3 kB / 379 MB, free: 5.828 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1414, allocations: 0 / 379 MB, free: 5.828 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.1416, allocations: 27.98 kB / 379 MB, free: 5.801 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.1421, allocations: 27.97 kB / 379 MB, free: 5.773 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.1434, allocations: 0.6398 MB / 379.7 MB, free: 5.082 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.1438, allocations: 0.7082 MB / 380.4 MB, free: 4.348 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.195e-05/0.1439, allocations: 12.42 kB / 380.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.594e-05/0.144, allocations: 31.42 kB / 380.4 MB, free: 4.305 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.144, allocations: 0 / 380.4 MB, free: 4.305 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.1678, allocations: 2.762 MB / 383.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/0.168, allocations: 250.2 kB / 383.4 MB, free: 1.238 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/2.598, allocations: 0 / 383.4 MB, free: 1.238 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat does not exist to compare? outputFormat=mat