Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test38",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.01068/0.01068, allocations: 103.5 kB / 15.05 MB, free: 5.953 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.001144/0.001144, allocations: 174 kB / 15.93 MB, free: 5.91 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.584/1.584, allocations: 170.9 MB / 187.5 MB, free: 0.9961 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.2428/0.2428, allocations: 38.1 MB / 265.1 MB, free: 3.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004386, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09281/0.09327, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002968/0.09631, allocations: 1.255 MB / 373.6 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.09768, allocations: 403.5 kB / 373.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.09777, allocations: 3.938 kB / 374 MB, free: 11.17 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003746/0.09816, allocations: 51.86 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.09843, allocations: 43.88 kB / 374 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.09873, allocations: 55.81 kB / 374.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.09893, allocations: 51.86 kB / 374.2 MB, free: 10.97 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.596e-05/0.09902, allocations: 7.984 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.772e-05/0.09913, allocations: 27.91 kB / 374.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.09927, allocations: 31.91 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.0993, allocations: 0 / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.09944, allocations: 16 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.09951, allocations: 19.92 kB / 374.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.09958, allocations: 29.7 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.09983, allocations: 80.05 kB / 374.4 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.09985, allocations: 3.938 kB / 374.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.09987, allocations: 0 / 374.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.09988, allocations: 0 / 374.4 MB, free: 10.75 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0006537/0.1005, allocations: 392.9 kB / 374.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.1006, allocations: 8.031 kB / 374.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.45e-05/0.1007, allocations: 34.56 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.1008, allocations: 3.906 kB / 374.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.1012, allocations: 194.8 kB / 375 MB, free: 10.03 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.1012, allocations: 7.984 kB / 375 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.1013, allocations: 4 kB / 375 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.1015, allocations: 37.69 kB / 375 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1015, allocations: 0 / 375 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1015, allocations: 0 / 375 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1015, allocations: 4 kB / 375 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.496e-05/0.1016, allocations: 11.94 kB / 375 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.102, allocations: 177.6 kB / 375.2 MB, free: 9.738 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.1021, allocations: 26.58 kB / 375.2 MB, free: 9.703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.1022, allocations: 8 kB / 375.3 MB, free: 9.695 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.1024, allocations: 59.33 kB / 375.3 MB, free: 9.625 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.927e-06/0.1025, allocations: 0 / 375.3 MB, free: 9.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.000349/0.1028, allocations: 65.53 kB / 375.4 MB, free: 9.555 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.1029, allocations: 51.41 kB / 375.4 MB, free: 9.492 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.1033, allocations: 172.8 kB / 375.6 MB, free: 9.316 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.1033, allocations: 29.7 kB / 375.6 MB, free: 9.281 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1035, allocations: 96.12 kB / 375.7 MB, free: 9.184 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.1035, allocations: 11.83 kB / 375.7 MB, free: 9.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.1036, allocations: 4 kB / 375.7 MB, free: 9.168 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.1038, allocations: 318.8 kB / 376 MB, free: 8.848 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.491e-05/0.1039, allocations: 12 kB / 376.1 MB, free: 8.836 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.436e-05/0.104, allocations: 19.98 kB / 376.1 MB, free: 8.816 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1041, allocations: 41.66 kB / 376.1 MB, free: 8.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.1042, allocations: 0 / 376.1 MB, free: 8.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00035/0.1045, allocations: 111.2 kB / 376.2 MB, free: 8.648 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.034e-05/0.1046, allocations: 37.69 kB / 376.3 MB, free: 8.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1047, allocations: 0 / 376.3 MB, free: 8.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.1047, allocations: 0 / 376.3 MB, free: 8.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.1049, allocations: 4 kB / 376.3 MB, free: 8.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.1049, allocations: 4 kB / 376.3 MB, free: 8.598 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.105, allocations: 3.906 kB / 376.3 MB, free: 8.594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.1051, allocations: 4.125 kB / 376.3 MB, free: 8.59 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 (5): * Single equations (assignments): 4 * 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.0001855/0.1053, allocations: 127 kB / 376.4 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.1053, allocations: 11.91 kB / 376.4 MB, free: 8.445 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.029e-05/0.1054, allocations: 20.23 kB / 376.4 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1054, allocations: 0 / 376.4 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.1054, allocations: 0 / 376.4 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1055, allocations: 0 / 376.4 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.1057, allocations: 173.6 kB / 376.6 MB, free: 8.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.1058, allocations: 3.953 kB / 376.6 MB, free: 8.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.1058, allocations: 7.938 kB / 376.6 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1058, allocations: 0 / 376.6 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1059, allocations: 0 / 376.6 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1059, allocations: 4.078 kB / 376.6 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/0.1059, allocations: 3.984 kB / 376.6 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.1062, allocations: 88.95 kB / 376.7 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-05/0.1063, allocations: 88.97 kB / 376.8 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.1063, allocations: 0 / 376.8 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.43e-05/0.1064, allocations: 0 / 376.8 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.1065, allocations: 11.98 kB / 376.8 MB, free: 7.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1065, allocations: 3.938 kB / 376.8 MB, free: 7.953 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002003/0.1067, allocations: 134.6 kB / 376.9 MB, free: 7.824 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.1067, allocations: 0 / 376.9 MB, free: 7.824 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004297/0.1072, allocations: 20 kB / 377 MB, free: 7.805 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 (3): * Single equations (assignments): 2 * 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.001653/0.1088, allocations: 0.8467 MB / 377.8 MB, free: 7.027 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.1092, allocations: 95.39 kB / 377.9 MB, free: 6.922 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1092, allocations: 0 / 377.9 MB, free: 6.922 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.623e-05/0.1093, allocations: 11.94 kB / 377.9 MB, free: 6.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.1096, allocations: 15.98 kB / 377.9 MB, free: 6.895 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009433/0.1106, allocations: 399.6 kB / 378.3 MB, free: 6.457 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.111, allocations: 0.7004 MB / 379 MB, free: 5.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.018e-05/0.1111, allocations: 8.188 kB / 379 MB, free: 5.723 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.755e-05/0.1112, allocations: 27.42 kB / 379.1 MB, free: 5.695 MB / 282.7 MB Notification: Performance of SimCode: time 1.382e-06/0.1113, allocations: 0 / 379.1 MB, free: 5.695 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.1388, allocations: 2.265 MB / 381.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003147/0.1392, allocations: 250.2 kB / 381.6 MB, free: 3.133 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/2.493, allocations: 4 kB / 381.6 MB, free: 3.129 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat