Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test26",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.01113/0.01113, allocations: 102.6 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.001191/0.00119, allocations: 165.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.715/1.715, 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.2646/0.2646, allocations: 38.09 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004641/0.0004642, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09031/0.09081, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002322/0.09319, allocations: 1.29 MB / 373.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.0943, allocations: 423.5 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.09439, allocations: 3.938 kB / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.09468, allocations: 23.91 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.09487, allocations: 27.91 kB / 374.1 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.09515, allocations: 67.78 kB / 374.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.09532, allocations: 43.89 kB / 374.2 MB, free: 10.97 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.09544, allocations: 11.97 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.8e-05/0.09553, allocations: 27.92 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.749e-05/0.09561, allocations: 15.92 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.09564, allocations: 7.938 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.09578, allocations: 35.92 kB / 374.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.09584, allocations: 15.97 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.0959, allocations: 37.64 kB / 374.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.09611, allocations: 76.12 kB / 374.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.09613, allocations: 0 / 374.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.09614, allocations: 0 / 374.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.09615, allocations: 0 / 374.4 MB, free: 10.74 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005591/0.09673, allocations: 424.7 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.09679, allocations: 11.97 kB / 374.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/0.09684, allocations: 34.56 kB / 374.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.09689, allocations: 11.81 kB / 374.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.09715, allocations: 195.4 kB / 375 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.09718, allocations: 0 / 375 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.09722, allocations: 4 kB / 375.1 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.09737, allocations: 49.67 kB / 375.1 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.09739, allocations: 0 / 375.1 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.09741, allocations: 4 kB / 375.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.09743, allocations: 0 / 375.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.45e-05/0.0975, allocations: 11.98 kB / 375.1 MB, free: 9.902 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.09792, allocations: 280.8 kB / 375.4 MB, free: 9.578 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.09817, allocations: 42.5 kB / 375.4 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.0982, allocations: 0 / 375.4 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.0984, allocations: 63.48 kB / 375.5 MB, free: 9.453 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.09842, allocations: 0 / 375.5 MB, free: 9.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004756/0.0989, allocations: 117.6 kB / 375.6 MB, free: 9.332 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.09897, allocations: 51.41 kB / 375.7 MB, free: 9.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.09921, allocations: 186.6 kB / 375.8 MB, free: 9.082 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.09925, allocations: 33.7 kB / 375.9 MB, free: 9.043 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.237e-05/0.09933, allocations: 96.08 kB / 376 MB, free: 8.945 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.09938, allocations: 23.78 kB / 376 MB, free: 8.922 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.0994, allocations: 4 kB / 376 MB, free: 8.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.09953, allocations: 326.8 kB / 376.3 MB, free: 8.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.466e-05/0.09961, allocations: 16 kB / 376.3 MB, free: 8.574 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.895e-05/0.09968, allocations: 19.92 kB / 376.3 MB, free: 8.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.636e-05/0.09978, allocations: 45.7 kB / 376.4 MB, free: 8.504 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.09979, allocations: 0 / 376.4 MB, free: 8.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002522/0.1001, allocations: 119.4 kB / 376.5 MB, free: 8.375 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.907e-05/0.1001, allocations: 45.56 kB / 376.6 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1001, allocations: 0 / 376.6 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1002, allocations: 4 kB / 376.6 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.638e-05/0.1003, allocations: 8 kB / 376.6 MB, free: 8.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1003, allocations: 8.078 kB / 376.6 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.487e-05/0.1004, allocations: 8.062 kB / 376.6 MB, free: 8.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.1004, allocations: 0 / 376.6 MB, free: 8.297 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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.0001277/0.1005, allocations: 134.8 kB / 376.7 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.1006, allocations: 11.81 kB / 376.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.796e-05/0.1006, allocations: 8.312 kB / 376.7 MB, free: 8.133 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1006, allocations: 0 / 376.7 MB, free: 8.133 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.1007, allocations: 7.984 kB / 376.7 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1007, allocations: 0 / 376.7 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/0.1012, allocations: 342.5 kB / 377.1 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1012, allocations: 0 / 377.1 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.563e-05/0.1012, allocations: 4 kB / 377.1 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1013, allocations: 0 / 377.1 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.1013, allocations: 7.984 kB / 377.1 MB, free: 7.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.1013, allocations: 0 / 377.1 MB, free: 7.723 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1013, allocations: 0 / 377.1 MB, free: 7.723 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.1015, allocations: 171.4 kB / 377.3 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.1016, allocations: 84.95 kB / 377.3 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.1016, allocations: 8 kB / 377.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.1017, allocations: 0 / 377.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.1018, allocations: 7.984 kB / 377.4 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.1018, allocations: 0 / 377.4 MB, free: 7.422 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001586/0.102, allocations: 139.2 kB / 377.5 MB, free: 7.285 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.102, allocations: 0 / 377.5 MB, free: 7.285 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003765/0.1024, allocations: 32 kB / 377.5 MB, free: 7.254 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 4 * 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.001408/0.1038, allocations: 0.9645 MB / 378.5 MB, free: 6.371 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.1041, allocations: 103.3 kB / 378.6 MB, free: 6.258 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1041, allocations: 0 / 378.6 MB, free: 6.258 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.754e-05/0.1042, allocations: 19.98 kB / 378.6 MB, free: 6.238 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.1045, allocations: 19.88 kB / 378.6 MB, free: 6.219 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008505/0.1054, allocations: 447.4 kB / 379.1 MB, free: 5.734 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.1057, allocations: 0.7004 MB / 379.8 MB, free: 5.008 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.271e-05/0.1058, allocations: 8.141 kB / 379.8 MB, free: 5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.1059, allocations: 31.42 kB / 379.8 MB, free: 4.969 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1059, allocations: 4 kB / 379.8 MB, free: 4.965 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.1311, allocations: 2.569 MB / 382.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003862/0.1315, allocations: 250.2 kB / 382.6 MB, free: 2.09 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/2.434, allocations: 64 / 382.6 MB, free: 2.09 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat does not exist to compare? outputFormat=mat