Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test20",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.01091/0.01092, allocations: 104.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.1.mo): time 0.001175/0.001176, allocations: 166.8 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.784/1.784, allocations: 170.9 MB / 187.5 MB, free: 0.8516 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.2551/0.2551, allocations: 38.09 MB / 265.1 MB, free: 3.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006198/0.0006203, allocations: 12 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09286/0.09353, allocations: 48.72 MB / 372.3 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002922/0.09651, allocations: 1.29 MB / 373.6 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.09786, allocations: 415.4 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.09796, allocations: 4 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.09828, allocations: 31.83 kB / 374 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.09851, allocations: 19.97 kB / 374.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.09885, allocations: 59.8 kB / 374.1 MB, free: 11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.09905, allocations: 51.88 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.09917, allocations: 11.97 kB / 374.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.561e-05/0.09929, allocations: 23.92 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.262e-05/0.09939, allocations: 31.84 kB / 374.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.09942, allocations: 0 / 374.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.0996, allocations: 31.94 kB / 374.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.09966, allocations: 15.92 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.844e-05/0.09976, allocations: 33.7 kB / 374.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.1, allocations: 76.11 kB / 374.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1, allocations: 0 / 374.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1001, allocations: 0 / 374.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1001, allocations: 0 / 374.4 MB, free: 10.72 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.0006648/0.1008, allocations: 412.7 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.1008, allocations: 12.03 kB / 374.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.319e-05/0.1009, allocations: 34.5 kB / 374.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.1009, allocations: 7.906 kB / 374.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.1013, allocations: 198.8 kB / 375 MB, free: 9.969 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1013, allocations: 4 kB / 375 MB, free: 9.965 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.1013, allocations: 4 kB / 375 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1015, allocations: 41.69 kB / 375.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1015, allocations: 0 / 375.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1015, allocations: 0 / 375.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1016, allocations: 8 kB / 375.1 MB, free: 9.906 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.774e-05/0.1017, allocations: 11.98 kB / 375.1 MB, free: 9.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.1022, allocations: 276.8 kB / 375.4 MB, free: 9.574 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.1025, allocations: 38.56 kB / 375.4 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.1025, allocations: 4 kB / 375.4 MB, free: 9.523 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.1027, allocations: 63.48 kB / 375.5 MB, free: 9.449 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.354e-06/0.1027, allocations: 3.938 kB / 375.5 MB, free: 9.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005825/0.1033, allocations: 109.7 kB / 375.6 MB, free: 9.332 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.1034, allocations: 55.41 kB / 375.6 MB, free: 9.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.1037, allocations: 180.8 kB / 375.8 MB, free: 9.082 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.1038, allocations: 25.7 kB / 375.8 MB, free: 9.051 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.061e-05/0.1039, allocations: 96.08 kB / 375.9 MB, free: 8.953 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.1039, allocations: 23.73 kB / 376 MB, free: 8.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.104, allocations: 3.938 kB / 376 MB, free: 8.926 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1042, allocations: 322.8 kB / 376.3 MB, free: 8.602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.205e-05/0.1043, allocations: 19.98 kB / 376.3 MB, free: 8.582 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.999e-05/0.1044, allocations: 16 kB / 376.3 MB, free: 8.566 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.1045, allocations: 49.69 kB / 376.4 MB, free: 8.512 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1045, allocations: 0 / 376.4 MB, free: 8.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003518/0.1049, allocations: 119.2 kB / 376.5 MB, free: 8.383 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.495e-05/0.1049, allocations: 33.7 kB / 376.5 MB, free: 8.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.105, allocations: 3.984 kB / 376.5 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.105, allocations: 0 / 376.5 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1051, allocations: 20.05 kB / 376.5 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1052, allocations: 3.938 kB / 376.5 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.881e-05/0.1053, allocations: 7.953 kB / 376.5 MB, free: 8.309 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.1053, allocations: 4 kB / 376.6 MB, free: 8.305 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.0001664/0.1055, allocations: 126.9 kB / 376.7 MB, free: 8.172 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.1055, allocations: 7.906 kB / 376.7 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.721e-05/0.1056, allocations: 8.312 kB / 376.7 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1056, allocations: 0 / 376.7 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1057, allocations: 0 / 376.7 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1057, allocations: 4 kB / 376.7 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/0.1063, allocations: 342.5 kB / 377 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1063, allocations: 0 / 377 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.169e-05/0.1064, allocations: 8 kB / 377 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1064, allocations: 0 / 377 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1064, allocations: 0 / 377 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1065, allocations: 0 / 377 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.1065, allocations: 4.047 kB / 377 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.1068, allocations: 175.3 kB / 377.2 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/0.1069, allocations: 89 kB / 377.3 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.1069, allocations: 0 / 377.3 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.1071, allocations: 4 kB / 377.3 MB, free: 7.449 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.1072, allocations: 4 kB / 377.3 MB, free: 7.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.1072, allocations: 11.94 kB / 377.3 MB, free: 7.434 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002033/0.1074, allocations: 126.8 kB / 377.4 MB, free: 7.312 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.1075, allocations: 0 / 377.4 MB, free: 7.312 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006295/0.1081, allocations: 32 kB / 377.5 MB, free: 7.281 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.00204/0.1102, allocations: 0.9651 MB / 378.4 MB, free: 6.398 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.1105, allocations: 103.4 kB / 378.5 MB, free: 6.285 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.1105, allocations: 4 kB / 378.5 MB, free: 6.281 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.27e-05/0.1107, allocations: 15.98 kB / 378.6 MB, free: 6.266 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.1111, allocations: 19.92 kB / 378.6 MB, free: 6.246 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.1123, allocations: 423.3 kB / 379 MB, free: 5.785 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.1127, allocations: 0.7004 MB / 379.7 MB, free: 5.059 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.853e-05/0.1128, allocations: 11.86 kB / 379.7 MB, free: 5.047 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.185e-05/0.1129, allocations: 23.42 kB / 379.7 MB, free: 5.023 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1129, allocations: 4 kB / 379.7 MB, free: 5.02 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1166/0.2296, allocations: 2.515 MB / 382.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/0.2299, allocations: 250.3 kB / 382.5 MB, free: 2.195 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/2.676, allocations: 0 / 382.5 MB, free: 2.195 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat