Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test8",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.01084/0.01085, allocations: 102.7 kB / 15.05 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.1.mo): time 0.001177/0.001177, allocations: 173.3 kB / 15.94 MB, free: 5.961 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.672/1.672, allocations: 170.9 MB / 187.5 MB, free: 1.008 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.2514/0.2514, allocations: 38.09 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006371/0.0006373, allocations: 16 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09236/0.09303, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002418/0.09551, allocations: 1.29 MB / 373.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.09659, allocations: 419.4 kB / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.678e-05/0.09667, allocations: 0 / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.09706, allocations: 95.73 kB / 374.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.0973, allocations: 59.86 kB / 374.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.0976, allocations: 59.78 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.09779, allocations: 63.86 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.0979, allocations: 15.98 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.022e-05/0.098, allocations: 35.89 kB / 374.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.09814, allocations: 43.89 kB / 374.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.09818, allocations: 7.984 kB / 374.4 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.09833, allocations: 35.88 kB / 374.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/0.09839, allocations: 15.97 kB / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.618e-05/0.09847, allocations: 41.64 kB / 374.5 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.0987, allocations: 92.09 kB / 374.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.09872, allocations: 0 / 374.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.09873, allocations: 0 / 374.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.09874, allocations: 4 kB / 374.6 MB, free: 10.57 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006696/0.09942, allocations: 444.4 kB / 375 MB, free: 10.08 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/0.0995, allocations: 12.03 kB / 375 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.069e-05/0.09958, allocations: 34.56 kB / 375 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.84e-05/0.09966, allocations: 7.906 kB / 375 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.1001, allocations: 202.8 kB / 375.2 MB, free: 9.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.1002, allocations: 0 / 375.2 MB, free: 9.777 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.1002, allocations: 4 kB / 375.2 MB, free: 9.773 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.1004, allocations: 57.67 kB / 375.3 MB, free: 9.711 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.1005, allocations: 7.938 kB / 375.3 MB, free: 9.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1005, allocations: 0 / 375.3 MB, free: 9.703 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1005, allocations: 0 / 375.3 MB, free: 9.703 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.1007, allocations: 23.92 kB / 375.3 MB, free: 9.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.1013, allocations: 304.8 kB / 375.6 MB, free: 9.332 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.1014, allocations: 42.56 kB / 375.7 MB, free: 9.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.772e-05/0.1015, allocations: 8 kB / 375.7 MB, free: 9.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.1017, allocations: 63.44 kB / 375.7 MB, free: 9.199 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.124e-06/0.1017, allocations: 0 / 375.7 MB, free: 9.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005677/0.1023, allocations: 137.2 kB / 375.9 MB, free: 9.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.1024, allocations: 55.41 kB / 375.9 MB, free: 8.992 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.1027, allocations: 227.4 kB / 376.2 MB, free: 8.758 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.1028, allocations: 29.7 kB / 376.2 MB, free: 8.723 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.568e-05/0.1029, allocations: 116 kB / 376.3 MB, free: 8.605 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.1029, allocations: 15.8 kB / 376.3 MB, free: 8.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.658e-05/0.1029, allocations: 4 kB / 376.3 MB, free: 8.586 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1031, allocations: 326.8 kB / 376.6 MB, free: 8.258 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.1032, allocations: 20 kB / 376.7 MB, free: 8.238 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.431e-05/0.1033, allocations: 23.98 kB / 376.7 MB, free: 8.215 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.1034, allocations: 53.7 kB / 376.7 MB, free: 8.156 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.1034, allocations: 0 / 376.7 MB, free: 8.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003011/0.1037, allocations: 139.2 kB / 376.9 MB, free: 8.008 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.1038, allocations: 37.7 kB / 376.9 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1038, allocations: 0 / 376.9 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1038, allocations: 0 / 376.9 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1039, allocations: 11.98 kB / 376.9 MB, free: 7.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.104, allocations: 0 / 376.9 MB, free: 7.953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.611e-05/0.104, allocations: 8 kB / 376.9 MB, free: 7.945 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.1041, allocations: 4.094 kB / 376.9 MB, free: 7.941 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 (8): * Single equations (assignments): 7 * 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.0001518/0.1042, allocations: 138.7 kB / 377.1 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.1043, allocations: 15.81 kB / 377.1 MB, free: 7.781 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.469e-05/0.1044, allocations: 21.39 kB / 377.1 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.1044, allocations: 7.984 kB / 377.1 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1044, allocations: 0 / 377.1 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1044, allocations: 0 / 377.1 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/0.1049, allocations: 362.5 kB / 377.5 MB, free: 7.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1049, allocations: 4.5 kB / 377.5 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.105, allocations: 7.984 kB / 377.5 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.105, allocations: 0 / 377.5 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.105, allocations: 4 kB / 377.5 MB, free: 7.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.1051, allocations: 8 kB / 377.5 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1051, allocations: 3.938 kB / 377.5 MB, free: 7.316 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.1053, allocations: 187.3 kB / 377.7 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.1054, allocations: 85.02 kB / 377.8 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.1055, allocations: 0 / 377.8 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.987e-05/0.1056, allocations: 4 kB / 377.8 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.1056, allocations: 3.984 kB / 377.8 MB, free: 7.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.1057, allocations: 4 kB / 377.8 MB, free: 7.004 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002231/0.1059, allocations: 183.5 kB / 377.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1059, allocations: 0 / 377.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003478/0.1063, allocations: 27.94 kB / 378 MB, free: 6.797 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 (6): * Single equations (assignments): 5 * 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.001486/0.1078, allocations: 0.987 MB / 379 MB, free: 5.895 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003582/0.1082, allocations: 111.4 kB / 379.1 MB, free: 5.773 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1082, allocations: 0 / 379.1 MB, free: 5.773 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.1083, allocations: 19.94 kB / 379.1 MB, free: 5.754 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005462/0.1089, allocations: 20.17 kB / 379.1 MB, free: 5.734 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.1105, allocations: 0.4966 MB / 379.6 MB, free: 5.188 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.1111, allocations: 0.7199 MB / 380.3 MB, free: 4.441 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.1112, allocations: 20.8 kB / 380.3 MB, free: 4.422 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.1114, allocations: 35.41 kB / 380.4 MB, free: 4.387 MB / 282.7 MB Notification: Performance of SimCode: time 2.014e-06/0.1114, allocations: 4 kB / 380.4 MB, free: 4.383 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.1406, allocations: 2.909 MB / 383.3 MB, free: 1.504 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003454/0.141, allocations: 245.2 kB / 383.5 MB, free: 1.168 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/2.605, allocations: 0 / 383.5 MB, free: 1.168 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat