Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test10",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.01084/0.01084, allocations: 103.7 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.001149/0.001149, allocations: 167.3 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.629/1.629, allocations: 170.9 MB / 187.5 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.3308/0.3308, allocations: 38.1 MB / 265.1 MB, free: 3.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000665/0.0006651, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09338/0.0941, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.00264/0.0968, allocations: 1.452 MB / 373.7 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.09795, allocations: 443.3 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.599e-05/0.09805, allocations: 8 kB / 374.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.09832, allocations: 27.89 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.09852, allocations: 31.84 kB / 374.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.0988, allocations: 71.78 kB / 374.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.099, allocations: 63.86 kB / 374.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.09913, allocations: 25.36 kB / 374.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.045e-05/0.09924, allocations: 39.86 kB / 374.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.87e-05/0.09934, allocations: 31.84 kB / 374.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.09937, allocations: 0 / 374.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.09951, allocations: 31.98 kB / 374.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.09957, allocations: 15.92 kB / 374.5 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.09963, allocations: 41.64 kB / 374.6 MB, free: 10.56 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.0999, allocations: 100 kB / 374.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.09991, allocations: 0 / 374.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.09992, allocations: 0 / 374.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.09994, 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.0006738/0.1006, allocations: 470.3 kB / 375.1 MB, free: 9.941 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1007, allocations: 8.031 kB / 375.1 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.624e-05/0.1007, allocations: 34.56 kB / 375.2 MB, free: 9.891 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.1008, allocations: 11.91 kB / 375.2 MB, free: 9.879 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.1011, allocations: 211.4 kB / 375.4 MB, free: 9.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1011, allocations: 4 kB / 375.4 MB, free: 9.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.1012, allocations: 11.94 kB / 375.4 MB, free: 9.617 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.1014, allocations: 73.61 kB / 375.5 MB, free: 9.539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1014, allocations: 3.938 kB / 375.5 MB, free: 9.535 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.1015, allocations: 7.984 kB / 375.5 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1015, allocations: 0 / 375.5 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.1017, allocations: 35.98 kB / 375.5 MB, free: 9.492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006072/0.1023, allocations: 340.7 kB / 375.8 MB, free: 9.109 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.1027, allocations: 70.61 kB / 375.9 MB, free: 9.031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1027, allocations: 0 / 375.9 MB, free: 9.031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.103, allocations: 79.5 kB / 376 MB, free: 8.941 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.103, allocations: 0 / 376 MB, free: 8.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004544/0.1034, allocations: 113.7 kB / 376.1 MB, free: 8.824 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.1035, allocations: 55.41 kB / 376.2 MB, free: 8.758 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.1037, allocations: 169.6 kB / 376.3 MB, free: 8.586 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.1038, allocations: 29.7 kB / 376.3 MB, free: 8.551 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.1039, allocations: 104.1 kB / 376.5 MB, free: 8.445 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.1039, allocations: 19.7 kB / 376.5 MB, free: 8.426 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-06/0.1039, allocations: 8 kB / 376.5 MB, free: 8.418 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1041, allocations: 318.8 kB / 376.8 MB, free: 8.098 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.1042, allocations: 31.98 kB / 376.8 MB, free: 8.066 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.1044, allocations: 49.73 kB / 376.9 MB, free: 8.012 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.1045, allocations: 61.69 kB / 376.9 MB, free: 7.945 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1046, allocations: 0 / 376.9 MB, free: 7.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003826/0.105, allocations: 151.1 kB / 377.1 MB, free: 7.785 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/0.105, allocations: 33.7 kB / 377.1 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.105, allocations: 32 / 377.1 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1051, allocations: 4 kB / 377.1 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1052, allocations: 23.92 kB / 377.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1052, allocations: 4.062 kB / 377.1 MB, free: 7.715 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.942e-05/0.1053, allocations: 11.94 kB / 377.2 MB, free: 7.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.1054, 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.0001292/0.1055, allocations: 126.9 kB / 377.3 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.1055, allocations: 7.906 kB / 377.3 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.935e-05/0.1056, allocations: 20.72 kB / 377.3 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1056, allocations: 0 / 377.3 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1056, allocations: 4 kB / 377.3 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1056, allocations: 3.984 kB / 377.3 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.1059, allocations: 201.5 kB / 377.5 MB, free: 7.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.1059, allocations: 192 / 377.5 MB, free: 7.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.106, allocations: 15.94 kB / 377.5 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.106, allocations: 3.938 kB / 377.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1061, allocations: 0 / 377.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.1061, allocations: 4 kB / 377.5 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1061, allocations: 7.938 kB / 377.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/0.1066, allocations: 156.9 kB / 377.7 MB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.1066, allocations: 81.02 kB / 377.8 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.1067, allocations: 4.031 kB / 377.8 MB, free: 6.977 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1068, allocations: 12.05 kB / 377.8 MB, free: 6.965 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.1068, allocations: 8 kB / 377.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1069, allocations: 0 / 377.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.107, allocations: 119.2 kB / 377.9 MB, free: 6.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.107, allocations: 4 kB / 377.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003091/0.1073, allocations: 31.83 kB / 378 MB, free: 6.805 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.001599/0.109, allocations: 0.9124 MB / 378.9 MB, free: 5.965 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003534/0.1093, allocations: 127.3 kB / 379 MB, free: 5.828 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1093, allocations: 0 / 379 MB, free: 5.828 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.1095, allocations: 36.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.0002976/0.1098, 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.001002/0.1108, 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.0003533/0.1112, allocations: 0.7082 MB / 380.4 MB, free: 4.352 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.285e-05/0.1113, allocations: 16.56 kB / 380.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.515e-05/0.1114, allocations: 35.42 kB / 380.4 MB, free: 4.301 MB / 282.7 MB Notification: Performance of SimCode: time 9.01e-07/0.1114, allocations: 0 / 380.4 MB, free: 4.301 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.1343, allocations: 2.749 MB / 383.2 MB, free: 1.586 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003705/0.1347, allocations: 254.2 kB / 383.4 MB, free: 1.242 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/2.652, allocations: 4 kB / 383.4 MB, free: 1.238 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat does not exist to compare? outputFormat=mat