Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.216/2.216, allocations: 209.2 MB / 224.8 MB, free: 0.7461 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004379/0.0004378, allocations: 16 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1083, allocations: 48.71 MB / 331.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4112/0.5195, allocations: 76.08 MB / 407.5 MB, free: 8.883 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.5199, allocations: 76.84 kB / 407.5 MB, free: 8.809 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02198/0.5419, allocations: 4.962 MB / 412.5 MB, free: 3.867 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5419, allocations: 3.938 kB / 412.5 MB, free: 3.863 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.542, allocations: 4 kB / 412.5 MB, free: 3.859 MB / 330.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.0006056/0.5426, allocations: 420 kB / 412.9 MB, free: 3.398 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.5426, allocations: 8.031 kB / 412.9 MB, free: 3.391 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.548e-05/0.5427, allocations: 34.56 kB / 413 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.5428, allocations: 11.84 kB / 413 MB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.543, allocations: 198.8 kB / 413.2 MB, free: 3.102 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.5431, allocations: 0 / 413.2 MB, free: 3.102 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.5431, allocations: 8 kB / 413.2 MB, free: 3.094 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.5433, allocations: 55.39 kB / 413.2 MB, free: 3.027 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.5433, allocations: 0 / 413.2 MB, free: 3.027 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.5433, allocations: 0 / 413.2 MB, free: 3.027 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5433, allocations: 8 kB / 413.2 MB, free: 3.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.179e-05/0.5434, allocations: 15.98 kB / 413.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.5439, allocations: 288.8 kB / 413.5 MB, free: 2.672 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.5441, allocations: 38.56 kB / 413.6 MB, free: 2.625 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.5442, allocations: 0 / 413.6 MB, free: 2.625 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.5443, allocations: 63.48 kB / 413.6 MB, free: 2.551 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/0.5444, allocations: 0 / 413.6 MB, free: 2.551 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005667/0.5449, allocations: 125.3 kB / 413.7 MB, free: 2.422 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.545, allocations: 77.11 kB / 413.8 MB, free: 2.328 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.5452, allocations: 132.8 kB / 414 MB, free: 2.191 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.5453, allocations: 29.7 kB / 414 MB, free: 2.156 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.475e-05/0.5453, allocations: 154.6 kB / 414.1 MB, free: 2.004 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.5454, allocations: 19.75 kB / 414.1 MB, free: 1.984 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-06/0.5454, allocations: 0 / 414.1 MB, free: 1.984 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.5455, allocations: 318.8 kB / 414.5 MB, free: 1.664 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.327e-05/0.5456, allocations: 23.94 kB / 414.5 MB, free: 1.641 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.238e-05/0.5457, allocations: 33.7 kB / 414.5 MB, free: 1.602 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.5458, allocations: 53.7 kB / 414.6 MB, free: 1.543 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5458, allocations: 0 / 414.6 MB, free: 1.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002731/0.5461, allocations: 115.3 kB / 414.7 MB, free: 1.418 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.5462, allocations: 33.7 kB / 414.7 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5462, allocations: 0 / 414.7 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.5462, allocations: 4.031 kB / 414.7 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.5463, allocations: 12.05 kB / 414.7 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.5463, allocations: 4 kB / 414.7 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.073e-05/0.5464, allocations: 8 kB / 414.7 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.5465, allocations: 11.89 kB / 414.8 MB, free: 1.34 MB / 330.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.0001192/0.5466, allocations: 113.8 kB / 414.9 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.5466, allocations: 11.89 kB / 414.9 MB, free: 1.207 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.5469, allocations: 89.58 kB / 415 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.5469, allocations: 4 kB / 415 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.547, allocations: 0 / 415 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.547, allocations: 0 / 415 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.5474, allocations: 346.6 kB / 415.3 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5475, allocations: 3.938 kB / 415.3 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.755e-05/0.5475, allocations: 11.94 kB / 415.3 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.5476, allocations: 0 / 415.3 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.5476, allocations: 0 / 415.3 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.5476, allocations: 0 / 415.3 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5476, allocations: 8 kB / 415.3 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.5479, allocations: 175.4 kB / 415.5 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.5479, allocations: 85.02 kB / 415.6 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.548, allocations: 3.984 kB / 415.6 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.5481, allocations: 4 kB / 415.6 MB, free: 408 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.5481, allocations: 4 kB / 415.6 MB, free: 404 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.5482, allocations: 4 kB / 415.6 MB, free: 400 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000127/0.5483, allocations: 117.6 kB / 415.7 MB, free: 284 kB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5483, allocations: 0 / 415.7 MB, free: 284 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004441/0.5488, allocations: 47.92 kB / 415.8 MB, free: 236 kB / 330.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 (6): * Single equations (assignments): 5 * 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.001757/0.5505, allocations: 1.056 MB / 416.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002927/0.5509, allocations: 103.4 kB / 416.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.5509, allocations: 8 kB / 416.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.062e-05/0.551, allocations: 23.92 kB / 416.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.5513, allocations: 11.98 kB / 417 MB, free: 15.08 MB / 346.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/0.5544, allocations: 1.151 MB / 418.1 MB, free: 13.87 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.5548, allocations: 0.6926 MB / 418.8 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.5549, allocations: 27.42 kB / 418.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of SimCode: time 1.393e-06/0.5549, allocations: 0 / 418.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.81/3.365, allocations: 2.257 MB / 421.1 MB, free: 10.86 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat does not exist to compare? outputFormat=mat