Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test22",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.01086/0.01086, allocations: 104.6 kB / 15.06 MB, free: 6.031 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.001187/0.001187, allocations: 171.1 kB / 15.93 MB, free: 5.965 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.737/1.737, allocations: 170.9 MB / 187.6 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.2538/0.2538, allocations: 38.09 MB / 265.1 MB, free: 3.988 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006266/0.0006268, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09177/0.09244, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.00261/0.09511, allocations: 1.283 MB / 373.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.09625, allocations: 419.4 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.09635, allocations: 7.938 kB / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.09663, allocations: 19.91 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.09684, allocations: 27.91 kB / 374.1 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.09714, allocations: 67.78 kB / 374.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.09731, allocations: 51.88 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.09743, allocations: 7.984 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.799e-05/0.09753, allocations: 23.92 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.19e-05/0.09762, allocations: 23.91 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.09765, allocations: 3.938 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.09783, allocations: 31.94 kB / 374.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.09789, allocations: 11.98 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.594e-05/0.09797, allocations: 37.64 kB / 374.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.0982, allocations: 84.09 kB / 374.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.09822, allocations: 0 / 374.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.09823, allocations: 0 / 374.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.09825, allocations: 4 kB / 374.4 MB, free: 10.73 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.0005977/0.09886, allocations: 404.7 kB / 374.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.09892, allocations: 8.031 kB / 374.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.802e-05/0.09898, allocations: 30.56 kB / 374.8 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.09903, allocations: 7.906 kB / 374.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.0993, allocations: 202.8 kB / 375 MB, free: 9.992 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.09933, allocations: 8 kB / 375 MB, free: 9.984 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.09936, allocations: 4 kB / 375 MB, free: 9.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.09951, allocations: 41.69 kB / 375.1 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.09954, allocations: 0 / 375.1 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.09956, allocations: 0 / 375.1 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.09957, allocations: 4 kB / 375.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.761e-05/0.09965, allocations: 11.98 kB / 375.1 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.1001, allocations: 276.8 kB / 375.4 MB, free: 9.598 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.1004, allocations: 46.5 kB / 375.4 MB, free: 9.543 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.1004, allocations: 4 kB / 375.4 MB, free: 9.539 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.1006, allocations: 59.47 kB / 375.5 MB, free: 9.469 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.004e-06/0.1006, allocations: 0 / 375.5 MB, free: 9.469 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004833/0.1011, allocations: 113.3 kB / 375.6 MB, free: 9.352 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.1011, allocations: 55.41 kB / 375.6 MB, free: 9.285 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.1014, allocations: 184.7 kB / 375.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1014, allocations: 25.7 kB / 375.8 MB, free: 9.066 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.1015, allocations: 92.14 kB / 375.9 MB, free: 8.973 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.1016, allocations: 23.73 kB / 376 MB, free: 8.949 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.1016, allocations: 0 / 376 MB, free: 8.949 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1017, allocations: 318.8 kB / 376.3 MB, free: 8.629 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.814e-05/0.1018, allocations: 15.98 kB / 376.3 MB, free: 8.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.1019, allocations: 23.94 kB / 376.3 MB, free: 8.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.102, allocations: 53.69 kB / 376.4 MB, free: 8.531 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.102, allocations: 0 / 376.4 MB, free: 8.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002549/0.1023, allocations: 115.3 kB / 376.5 MB, free: 8.406 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.1023, allocations: 33.7 kB / 376.5 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1024, allocations: 0 / 376.5 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1024, allocations: 0 / 376.5 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.1025, allocations: 15.92 kB / 376.5 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1025, allocations: 3.938 kB / 376.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.415e-05/0.1026, allocations: 12.02 kB / 376.5 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.1026, allocations: 4.281 kB / 376.5 MB, free: 8.332 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.0001378/0.1028, allocations: 126.9 kB / 376.7 MB, free: 8.199 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.1028, allocations: 11.89 kB / 376.7 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.039e-05/0.1029, allocations: 16.34 kB / 376.7 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1029, allocations: 0 / 376.7 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1029, allocations: 0 / 376.7 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.1029, allocations: 0 / 376.7 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004892/0.1034, allocations: 342.5 kB / 377 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1034, allocations: 0 / 377 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/0.1035, allocations: 12 kB / 377 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1035, allocations: 0 / 377 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1035, allocations: 0 / 377 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1035, allocations: 0 / 377 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.1035, allocations: 3.953 kB / 377 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.1038, allocations: 167.4 kB / 377.2 MB, free: 7.582 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.1038, allocations: 85.02 kB / 377.3 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.1039, allocations: 0 / 377.3 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.104, allocations: 12 kB / 377.3 MB, free: 7.469 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.1041, allocations: 7.922 kB / 377.3 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.1041, allocations: 7.953 kB / 377.3 MB, free: 7.453 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001438/0.1042, allocations: 126.8 kB / 377.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1042, allocations: 0 / 377.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003513/0.1046, allocations: 28 kB / 377.5 MB, free: 7.305 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.001523/0.1061, allocations: 0.9682 MB / 378.4 MB, free: 6.418 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.1065, allocations: 103.3 kB / 378.5 MB, free: 6.305 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1065, allocations: 0 / 378.5 MB, free: 6.305 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.269e-05/0.1066, allocations: 19.98 kB / 378.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.1069, allocations: 19.92 kB / 378.6 MB, free: 6.266 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008542/0.1078, allocations: 427.3 kB / 379 MB, free: 5.801 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.1081, allocations: 0.7004 MB / 379.7 MB, free: 5.074 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.404e-05/0.1082, allocations: 15.8 kB / 379.7 MB, free: 5.059 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.68e-05/0.1083, allocations: 23.42 kB / 379.7 MB, free: 5.035 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1083, allocations: 4 kB / 379.7 MB, free: 5.031 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.1373, allocations: 2.511 MB / 382.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002538/0.1376, allocations: 254.2 kB / 382.5 MB, free: 2.207 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.509/2.647, allocations: 3.938 kB / 382.5 MB, free: 2.203 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat