Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test46",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.01101/0.01102, allocations: 106 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.001202/0.001202, allocations: 166.4 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.627/1.627, allocations: 170.9 MB / 187.5 MB, free: 0.8633 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.2475/0.2475, allocations: 38.09 MB / 265.1 MB, free: 3.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004633/0.0004634, allocations: 16 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09248/0.09297, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002488/0.09552, allocations: 1.29 MB / 373.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.09662, allocations: 427.4 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.0967, allocations: 0 / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.09698, allocations: 23.84 kB / 374 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.0972, allocations: 39.88 kB / 374.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.09749, allocations: 63.8 kB / 374.1 MB, free: 11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.09766, allocations: 43.94 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.09779, allocations: 19.97 kB / 374.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.792e-05/0.09788, allocations: 27.86 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.032e-05/0.09797, allocations: 27.91 kB / 374.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.098, allocations: 0 / 374.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.09814, allocations: 31.94 kB / 374.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.0982, allocations: 23.91 kB / 374.3 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.024e-05/0.0983, allocations: 37.64 kB / 374.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.09853, allocations: 92.09 kB / 374.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.09854, allocations: 0 / 374.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.09856, allocations: 4 kB / 374.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.09857, allocations: 0 / 374.4 MB, free: 10.69 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.0005899/0.09917, allocations: 436.5 kB / 374.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.09923, allocations: 12.03 kB / 374.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.09928, allocations: 30.56 kB / 374.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.09934, allocations: 11.89 kB / 374.9 MB, free: 10.15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.09962, allocations: 202.8 kB / 375.1 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.09965, allocations: 0 / 375.1 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.09969, allocations: 12 kB / 375.1 MB, free: 9.898 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.09983, allocations: 41.69 kB / 375.2 MB, free: 9.852 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.09986, allocations: 0 / 375.2 MB, free: 9.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.09988, allocations: 0 / 375.2 MB, free: 9.852 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.09989, allocations: 0 / 375.2 MB, free: 9.852 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.621e-05/0.09997, allocations: 19.92 kB / 375.2 MB, free: 9.832 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.1004, allocations: 296.7 kB / 375.5 MB, free: 9.492 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.1007, allocations: 42.56 kB / 375.5 MB, free: 9.441 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.1007, allocations: 0 / 375.5 MB, free: 9.441 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.1009, allocations: 59.48 kB / 375.6 MB, free: 9.371 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.1009, allocations: 0 / 375.6 MB, free: 9.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004909/0.1014, allocations: 121.5 kB / 375.7 MB, free: 9.246 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.1015, allocations: 51.41 kB / 375.7 MB, free: 9.184 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.1018, allocations: 247.4 kB / 376 MB, free: 8.926 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1018, allocations: 29.7 kB / 376 MB, free: 8.891 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.102, allocations: 116 kB / 376.1 MB, free: 8.773 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.102, allocations: 3.906 kB / 376.1 MB, free: 8.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/0.102, allocations: 4 kB / 376.1 MB, free: 8.766 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1022, allocations: 334.7 kB / 376.5 MB, free: 8.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.036e-05/0.1023, allocations: 15.98 kB / 376.5 MB, free: 8.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.391e-05/0.1023, allocations: 20 kB / 376.5 MB, free: 8.395 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.454e-05/0.1024, allocations: 41.7 kB / 376.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1024, allocations: 4 kB / 376.5 MB, free: 8.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002535/0.1027, allocations: 131.1 kB / 376.7 MB, free: 8.203 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.1028, allocations: 33.7 kB / 376.7 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1028, allocations: 0 / 376.7 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1028, allocations: 0 / 376.7 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.121e-05/0.1029, allocations: 11.98 kB / 376.7 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.1029, allocations: 7.938 kB / 376.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.03e-05/0.103, allocations: 3.984 kB / 376.7 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.103, allocations: 4 kB / 376.7 MB, free: 8.137 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.0001424/0.1032, allocations: 138.8 kB / 376.9 MB, free: 7.992 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.1032, allocations: 15.91 kB / 376.9 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.1033, allocations: 21 kB / 376.9 MB, free: 7.957 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.1033, allocations: 7.984 kB / 376.9 MB, free: 7.949 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1033, allocations: 0 / 376.9 MB, free: 7.949 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1033, allocations: 0 / 376.9 MB, free: 7.949 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.1038, allocations: 350.5 kB / 377.2 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1038, allocations: 0 / 377.2 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.1039, allocations: 4 kB / 377.2 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1039, allocations: 0 / 377.2 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1039, allocations: 4 kB / 377.3 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1039, allocations: 4 kB / 377.3 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1039, allocations: 160 / 377.3 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.1042, allocations: 171.3 kB / 377.4 MB, free: 7.355 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.1042, allocations: 92.91 kB / 377.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.1043, allocations: 0 / 377.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.724e-05/0.1044, allocations: 8 kB / 377.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.1044, allocations: 0 / 377.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.1044, allocations: 11.98 kB / 377.5 MB, free: 7.227 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002221/0.1047, allocations: 189.1 kB / 377.7 MB, free: 7.043 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1047, allocations: 0 / 377.7 MB, free: 7.043 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000364/0.1051, allocations: 27.94 kB / 377.7 MB, free: 7.016 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.001397/0.1065, allocations: 0.9686 MB / 378.7 MB, free: 6.129 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.1067, allocations: 107.3 kB / 378.8 MB, free: 6.012 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1067, allocations: 0 / 378.8 MB, free: 6.012 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.148e-05/0.1068, allocations: 19.98 kB / 378.8 MB, free: 5.992 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.1071, allocations: 16.12 kB / 378.9 MB, free: 5.977 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009359/0.1081, allocations: 0.501 MB / 379.4 MB, free: 5.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.1085, allocations: 0.7199 MB / 380.1 MB, free: 4.684 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.882e-05/0.1086, allocations: 15.92 kB / 380.1 MB, free: 4.668 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.114e-05/0.1087, allocations: 35.42 kB / 380.1 MB, free: 4.633 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1087, allocations: 0 / 380.1 MB, free: 4.633 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.133, allocations: 2.835 MB / 383 MB, free: 1.828 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003927/0.1334, allocations: 246.2 kB / 383.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/2.501, allocations: 0 / 383.2 MB, free: 1.492 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat