Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test9",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.0159/0.01591, allocations: 104.1 kB / 15.05 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.00185/0.001849, allocations: 170.8 kB / 15.93 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.662/1.662, allocations: 170.9 MB / 187.6 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.2543/0.2543, allocations: 38.09 MB / 265.1 MB, free: 3.98 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007661/0.0007667, allocations: 16 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09047/0.09128, allocations: 48.7 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003042/0.09439, allocations: 1.294 MB / 373.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.09582, allocations: 419.4 kB / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.794e-05/0.09593, allocations: 0 / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004065/0.09635, allocations: 75.77 kB / 374.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.09665, allocations: 51.86 kB / 374.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.09701, allocations: 55.8 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.09723, allocations: 55.92 kB / 374.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.09736, allocations: 15.98 kB / 374.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.0975, allocations: 39.83 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.09764, allocations: 35.89 kB / 374.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.09768, allocations: 0 / 374.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.09786, allocations: 31.94 kB / 374.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.09794, allocations: 19.92 kB / 374.4 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.09802, allocations: 37.64 kB / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.09831, allocations: 84.09 kB / 374.5 MB, free: 10.63 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.09833, allocations: 0 / 374.5 MB, free: 10.63 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.09835, allocations: 4 kB / 374.5 MB, free: 10.63 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.09837, allocations: 0 / 374.5 MB, free: 10.63 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.0007171/0.0991, allocations: 420.6 kB / 374.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.09917, allocations: 8.031 kB / 374.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.568e-05/0.09924, allocations: 34.56 kB / 374.9 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.0993, allocations: 7.906 kB / 375 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.09964, allocations: 199.5 kB / 375.2 MB, free: 9.871 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.09967, allocations: 0 / 375.2 MB, free: 9.871 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.09972, allocations: 4 kB / 375.2 MB, free: 9.867 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.09991, allocations: 53.61 kB / 375.2 MB, free: 9.809 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.09994, allocations: 0 / 375.2 MB, free: 9.809 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.09996, allocations: 4 kB / 375.2 MB, free: 9.805 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.09998, allocations: 0 / 375.2 MB, free: 9.805 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.513e-05/0.1001, allocations: 11.98 kB / 375.2 MB, free: 9.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005288/0.1006, allocations: 276.9 kB / 375.5 MB, free: 9.473 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.1009, allocations: 46.5 kB / 375.5 MB, free: 9.418 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.101, allocations: 0 / 375.5 MB, free: 9.418 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.1012, allocations: 63.42 kB / 375.6 MB, free: 9.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.114e-06/0.1012, allocations: 0 / 375.6 MB, free: 9.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008018/0.102, allocations: 125.2 kB / 375.7 MB, free: 9.215 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.1021, allocations: 55.41 kB / 375.8 MB, free: 9.148 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003303/0.1024, allocations: 190.2 kB / 376 MB, free: 8.953 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.1025, allocations: 25.7 kB / 376 MB, free: 8.922 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/0.1026, allocations: 108.1 kB / 376.1 MB, free: 8.812 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.1027, allocations: 15.81 kB / 376.1 MB, free: 8.797 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/0.1027, allocations: 0 / 376.1 MB, free: 8.797 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1029, allocations: 326.8 kB / 376.4 MB, free: 8.469 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.551e-05/0.103, allocations: 19.98 kB / 376.4 MB, free: 8.449 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.1031, allocations: 16 kB / 376.5 MB, free: 8.434 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1032, allocations: 53.69 kB / 376.5 MB, free: 8.375 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1032, allocations: 0 / 376.5 MB, free: 8.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000333/0.1035, allocations: 119.2 kB / 376.6 MB, free: 8.246 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.334e-05/0.1036, allocations: 33.7 kB / 376.7 MB, free: 8.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1036, allocations: 0 / 376.7 MB, free: 8.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1037, allocations: 4 kB / 376.7 MB, free: 8.203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1038, allocations: 11.98 kB / 376.7 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1038, allocations: 3.938 kB / 376.7 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.715e-05/0.1039, allocations: 64 / 376.7 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.1039, allocations: 12 kB / 376.7 MB, free: 8.176 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.0001667/0.1041, allocations: 134.8 kB / 376.8 MB, free: 8.035 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.1042, allocations: 7.906 kB / 376.8 MB, free: 8.027 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.273e-05/0.1043, allocations: 16.31 kB / 376.9 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1043, allocations: 0 / 376.9 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1043, allocations: 0 / 376.9 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1043, allocations: 96 / 376.9 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006128/0.1049, allocations: 346.4 kB / 377.2 MB, free: 7.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.105, allocations: 0 / 377.2 MB, free: 7.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.769e-05/0.105, allocations: 7.938 kB / 377.2 MB, free: 7.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.105, allocations: 0 / 377.2 MB, free: 7.605 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.1051, allocations: 8 kB / 377.2 MB, free: 7.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1051, allocations: 4 kB / 377.2 MB, free: 7.594 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.1051, allocations: 3.984 kB / 377.2 MB, free: 7.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.1054, allocations: 167.4 kB / 377.4 MB, free: 7.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.121e-05/0.1055, allocations: 85.02 kB / 377.5 MB, free: 7.309 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.1055, allocations: 0 / 377.5 MB, free: 7.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.1057, allocations: 0 / 377.5 MB, free: 7.309 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.1058, allocations: 7.984 kB / 377.5 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.1058, allocations: 4 kB / 377.5 MB, free: 7.297 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002363/0.106, allocations: 156 kB / 377.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1061, allocations: 0 / 377.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005471/0.1066, allocations: 31.94 kB / 377.7 MB, free: 7.113 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.001949/0.1086, allocations: 0.9678 MB / 378.6 MB, free: 6.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003217/0.1089, allocations: 99.39 kB / 378.7 MB, free: 6.121 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.109, allocations: 0 / 378.7 MB, free: 6.121 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.65e-05/0.1091, allocations: 23.92 kB / 378.7 MB, free: 6.098 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.1095, allocations: 19.92 kB / 378.8 MB, free: 6.078 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1107, allocations: 444.3 kB / 379.2 MB, free: 5.598 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.1112, allocations: 0.7121 MB / 379.9 MB, free: 4.859 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.397e-05/0.1113, allocations: 12 kB / 379.9 MB, free: 4.848 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.1114, allocations: 23.42 kB / 379.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of SimCode: time 1.393e-06/0.1114, allocations: 0 / 379.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06884/0.1803, allocations: 2.621 MB / 382.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003822/0.1807, allocations: 249.2 kB / 382.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/2.661, allocations: 0 / 382.8 MB, free: 1.891 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat