Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test11",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.01104/0.01105, allocations: 103.5 kB / 15.05 MB, free: 5.551 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.001175, allocations: 169.8 kB / 15.93 MB, free: 5.523 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.712/1.712, allocations: 170.9 MB / 187.6 MB, free: 0.9844 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.2508/0.2508, allocations: 38.09 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004564, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09581/0.0963, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00273/0.09908, allocations: 1.448 MB / 373.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1002, allocations: 439.3 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.338e-05/0.1003, allocations: 8 kB / 374.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.1006, allocations: 27.89 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.1008, allocations: 35.83 kB / 374.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.1011, allocations: 67.8 kB / 374.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.1013, allocations: 71.84 kB / 374.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1014, allocations: 25.38 kB / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.432e-05/0.1015, allocations: 31.86 kB / 374.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.357e-05/0.1016, allocations: 31.84 kB / 374.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1017, allocations: 0 / 374.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.1018, allocations: 31.98 kB / 374.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.1019, allocations: 19.92 kB / 374.5 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.254e-05/0.1019, allocations: 37.64 kB / 374.6 MB, free: 10.56 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.1022, allocations: 104 kB / 374.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1022, allocations: 0 / 374.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1022, allocations: 0 / 374.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1022, allocations: 0 / 374.7 MB, free: 10.46 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006559/0.1029, allocations: 466.3 kB / 375.1 MB, free: 9.941 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1029, allocations: 12.03 kB / 375.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/0.103, allocations: 30.56 kB / 375.2 MB, free: 9.891 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.1031, allocations: 11.91 kB / 375.2 MB, free: 9.879 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1033, allocations: 214.6 kB / 375.4 MB, free: 9.629 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.1034, allocations: 7.938 kB / 375.4 MB, free: 9.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.1034, allocations: 8 kB / 375.4 MB, free: 9.613 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.1037, allocations: 77.61 kB / 375.5 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1037, allocations: 3.938 kB / 375.5 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1037, allocations: 0 / 375.5 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.1037, allocations: 3.984 kB / 375.5 MB, free: 9.523 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.1039, allocations: 39.97 kB / 375.5 MB, free: 9.484 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.1045, allocations: 336.7 kB / 375.8 MB, free: 9.105 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.1049, allocations: 70.61 kB / 375.9 MB, free: 9.027 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.1049, allocations: 0 / 375.9 MB, free: 9.027 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002871/0.1052, allocations: 79.5 kB / 376 MB, free: 8.938 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.1052, allocations: 0 / 376 MB, free: 8.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.000461/0.1057, allocations: 117.5 kB / 376.1 MB, free: 8.816 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.1058, allocations: 55.41 kB / 376.2 MB, free: 8.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.106, allocations: 173.6 kB / 376.3 MB, free: 8.574 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.106, allocations: 25.7 kB / 376.4 MB, free: 8.543 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.1061, allocations: 108.1 kB / 376.5 MB, free: 8.434 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.1061, allocations: 15.72 kB / 376.5 MB, free: 8.418 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.1062, allocations: 4 kB / 376.5 MB, free: 8.414 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1063, allocations: 318.8 kB / 376.8 MB, free: 8.094 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.1064, allocations: 27.98 kB / 376.8 MB, free: 8.066 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.1066, allocations: 49.8 kB / 376.9 MB, free: 8.012 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.1067, allocations: 61.64 kB / 376.9 MB, free: 7.945 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1067, allocations: 0 / 376.9 MB, free: 7.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003814/0.1071, allocations: 155.2 kB / 377.1 MB, free: 7.781 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.335e-05/0.1072, allocations: 37.7 kB / 377.1 MB, free: 7.738 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1072, allocations: 4.031 kB / 377.1 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1072, allocations: 0 / 377.1 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.1074, allocations: 23.92 kB / 377.1 MB, free: 7.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1074, allocations: 0 / 377.1 MB, free: 7.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.013e-05/0.1075, allocations: 7.938 kB / 377.2 MB, free: 7.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.1075, allocations: 7.953 kB / 377.2 MB, free: 7.695 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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.0001283/0.1077, allocations: 130.9 kB / 377.3 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.1077, allocations: 7.906 kB / 377.3 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.1078, allocations: 17.03 kB / 377.3 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1078, allocations: 0 / 377.3 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1078, allocations: 0 / 377.3 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1078, allocations: 7.984 kB / 377.3 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.108, allocations: 197.7 kB / 377.5 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.108, allocations: 7.984 kB / 377.5 MB, free: 7.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.1082, allocations: 11.94 kB / 377.5 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1082, allocations: 3.938 kB / 377.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1082, allocations: 0 / 377.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.1082, allocations: 4 kB / 377.5 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1082, allocations: 7.938 kB / 377.6 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.1087, allocations: 160.9 kB / 377.7 MB, free: 7.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.1088, allocations: 81.02 kB / 377.8 MB, free: 6.977 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.1088, allocations: 4 kB / 377.8 MB, free: 6.973 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/0.1089, allocations: 16.05 kB / 377.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.109, allocations: 4 kB / 377.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.109, allocations: 0 / 377.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001418/0.1092, allocations: 119.2 kB / 377.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1092, allocations: 0 / 377.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003412/0.1095, allocations: 39.83 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: 1 (err1.y) * 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 (7): * Single equations (assignments): 6 * 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.001483/0.111, allocations: 0.8983 MB / 378.9 MB, free: 5.965 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003541/0.1114, allocations: 131.3 kB / 379 MB, free: 5.824 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1114, allocations: 0 / 379 MB, free: 5.824 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.1115, allocations: 32.05 kB / 379 MB, free: 5.793 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.1119, allocations: 19.98 kB / 379 MB, free: 5.773 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009367/0.1128, allocations: 0.6359 MB / 379.7 MB, free: 5.086 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.1131, allocations: 0.7082 MB / 380.4 MB, free: 4.352 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.355e-05/0.1132, allocations: 16.41 kB / 380.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.127e-05/0.1133, allocations: 35.42 kB / 380.4 MB, free: 4.301 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1133, allocations: 0 / 380.4 MB, free: 4.301 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.1361, allocations: 2.759 MB / 383.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003787/0.1365, allocations: 246.2 kB / 383.4 MB, free: 1.242 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.53/2.666, allocations: 8.062 kB / 383.4 MB, free: 1.234 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat does not exist to compare? outputFormat=mat