Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test23",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.01077/0.01078, allocations: 103.4 kB / 15.06 MB, free: 6.023 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.001138/0.001138, 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.74/1.74, allocations: 170.9 MB / 187.6 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.2594/0.2594, allocations: 38.09 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005607/0.0005608, allocations: 20 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08964/0.09023, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002318/0.0926, allocations: 1.29 MB / 373.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.09371, allocations: 423.4 kB / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-05/0.09378, allocations: 0 / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.09405, allocations: 27.84 kB / 374 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.09423, allocations: 23.97 kB / 374.1 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.09448, allocations: 67.78 kB / 374.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.09465, allocations: 43.89 kB / 374.2 MB, free: 10.97 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.867e-05/0.09476, allocations: 15.97 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.012e-05/0.09485, allocations: 23.92 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.09493, allocations: 19.86 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.09495, allocations: 4 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.09509, allocations: 39.91 kB / 374.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.927e-05/0.09514, allocations: 7.984 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.0952, allocations: 37.64 kB / 374.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.09542, allocations: 84.12 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.09543, allocations: 0 / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.09544, allocations: 0 / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.09545, allocations: 0 / 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.0005404/0.09601, allocations: 416.7 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.09606, allocations: 8.031 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.09612, allocations: 42.5 kB / 374.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.09617, allocations: 11.81 kB / 374.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.09642, allocations: 194.3 kB / 375 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.09645, allocations: 4 kB / 375 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.0965, allocations: 4 kB / 375.1 MB, free: 9.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.09664, allocations: 45.67 kB / 375.1 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.09666, allocations: 0 / 375.1 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.09668, allocations: 0 / 375.1 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.0967, allocations: 3.938 kB / 375.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.779e-05/0.09677, allocations: 15.98 kB / 375.1 MB, free: 9.898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.09719, allocations: 284.8 kB / 375.4 MB, free: 9.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.09745, allocations: 42.56 kB / 375.4 MB, free: 9.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.09749, allocations: 0 / 375.4 MB, free: 9.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.09766, allocations: 59.48 kB / 375.5 MB, free: 9.449 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 3.516e-06/0.09767, allocations: 0 / 375.5 MB, free: 9.449 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004448/0.09813, allocations: 113.3 kB / 375.6 MB, free: 9.332 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.09819, allocations: 55.41 kB / 375.7 MB, free: 9.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.09843, allocations: 189.8 kB / 375.8 MB, free: 9.074 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.09847, allocations: 29.7 kB / 375.9 MB, free: 9.039 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.774e-05/0.09856, allocations: 100.1 kB / 376 MB, free: 8.938 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.0986, allocations: 23.72 kB / 376 MB, free: 8.914 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.09862, allocations: 4 kB / 376 MB, free: 8.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.09876, allocations: 326.8 kB / 376.3 MB, free: 8.582 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.09883, allocations: 12 kB / 376.3 MB, free: 8.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.715e-05/0.09891, allocations: 19.98 kB / 376.3 MB, free: 8.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.838e-05/0.09901, allocations: 49.7 kB / 376.4 MB, free: 8.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.09902, allocations: 0 / 376.4 MB, free: 8.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002434/0.09927, allocations: 119.5 kB / 376.5 MB, free: 8.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.09933, allocations: 41.69 kB / 376.6 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.09934, allocations: 0 / 376.6 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.09936, allocations: 0 / 376.6 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.134e-05/0.09944, allocations: 8 kB / 376.6 MB, free: 8.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.09946, allocations: 3.938 kB / 376.6 MB, free: 8.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.87e-05/0.09953, allocations: 4 kB / 376.6 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.09955, allocations: 3.984 kB / 376.6 MB, free: 8.301 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.000124/0.09969, allocations: 134.9 kB / 376.7 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.09972, allocations: 15.75 kB / 376.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.09979, allocations: 12.31 kB / 376.7 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.0998, allocations: 0 / 376.7 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.09981, allocations: 3.984 kB / 376.7 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.09982, allocations: 0 / 376.7 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.1003, allocations: 342.5 kB / 377.1 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1003, allocations: 0 / 377.1 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.1003, allocations: 8 kB / 377.1 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1003, allocations: 0 / 377.1 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.1004, allocations: 7.984 kB / 377.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1004, allocations: 0 / 377.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1004, allocations: 0 / 377.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.1006, allocations: 171.3 kB / 377.3 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.1007, allocations: 81.02 kB / 377.3 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.1007, allocations: 4 kB / 377.3 MB, free: 7.434 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.84e-05/0.1008, allocations: 7.984 kB / 377.3 MB, free: 7.426 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.1009, allocations: 8 kB / 377.4 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1009, allocations: 192 / 377.4 MB, free: 7.418 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001594/0.1011, allocations: 139.2 kB / 377.5 MB, free: 7.281 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1011, allocations: 0 / 377.5 MB, free: 7.281 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003523/0.1014, allocations: 24 kB / 377.5 MB, free: 7.258 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.00142/0.1029, allocations: 0.9786 MB / 378.5 MB, free: 6.363 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.1031, allocations: 99.39 kB / 378.6 MB, free: 6.254 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1031, allocations: 0 / 378.6 MB, free: 6.254 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.077e-05/0.1032, allocations: 19.98 kB / 378.6 MB, free: 6.234 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.1035, allocations: 19.94 kB / 378.6 MB, free: 6.215 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007927/0.1043, allocations: 439.4 kB / 379.1 MB, free: 5.738 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.1046, allocations: 0.7083 MB / 379.8 MB, free: 5.004 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.229e-05/0.1047, allocations: 7.938 kB / 379.8 MB, free: 4.996 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.178e-05/0.1048, allocations: 27.42 kB / 379.8 MB, free: 4.969 MB / 282.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1048, allocations: 0 / 379.8 MB, free: 4.969 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04125/0.146, allocations: 2.567 MB / 382.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002851/0.1464, allocations: 250.2 kB / 382.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.365/2.511, allocations: 64 / 382.6 MB, free: 2.094 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat does not exist to compare? outputFormat=mat