Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Limiters.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.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.258/2.258, allocations: 209.2 MB / 224.8 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004622, allocations: 12 kB / 282.7 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3473, allocations: 48.7 MB / 331.4 MB, free: 6.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.4824, allocations: 75.76 MB / 407.1 MB, free: 2.539 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.4827, allocations: 67.95 kB / 407.2 MB, free: 2.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0186/0.5013, allocations: 3.74 MB / 410.9 MB, free: 14.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5014, allocations: 0 / 410.9 MB, free: 14.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.5014, allocations: 0 / 410.9 MB, free: 14.74 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009905/0.5024, allocations: 482.7 kB / 411.4 MB, free: 14.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.5025, allocations: 8.031 kB / 411.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.935e-05/0.5025, allocations: 38.56 kB / 411.4 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.086e-05/0.5026, allocations: 15.91 kB / 411.5 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007743/0.5034, allocations: 259.2 kB / 411.7 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.5035, allocations: 89.09 kB / 411.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.5036, allocations: 8 kB / 411.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/0.5042, allocations: 172.2 kB / 412 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.5043, allocations: 4 kB / 412 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.5043, allocations: 8 kB / 412 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5043, allocations: 0 / 412 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007263/0.505, allocations: 148.5 kB / 412.1 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.5066, allocations: 492.3 kB / 412.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009425/0.5075, allocations: 190.4 kB / 412.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.5076, allocations: 7.984 kB / 412.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.5076, allocations: 38.73 kB / 412.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.344e-06/0.5076, allocations: 0 / 412.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.001175/0.5088, allocations: 237.5 kB / 413.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.5089, allocations: 106.8 kB / 413.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.5091, allocations: 150.5 kB / 413.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.496e-05/0.5092, allocations: 29.7 kB / 413.4 MB, free: 12.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.5093, allocations: 182.5 kB / 413.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.5093, allocations: 23.59 kB / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.5093, allocations: 4 kB / 413.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5095, allocations: 310.8 kB / 413.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.5097, allocations: 43.97 kB / 413.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.5099, allocations: 76.2 kB / 414 MB, free: 11.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.5101, allocations: 48 kB / 414 MB, free: 11.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5102, allocations: 0 / 414 MB, free: 11.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004955/0.5107, allocations: 133.6 kB / 414.2 MB, free: 11.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.5107, allocations: 11.95 kB / 414.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5107, allocations: 0 / 414.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5107, allocations: 0 / 414.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.5111, allocations: 43.91 kB / 414.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.5111, allocations: 8.062 kB / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.5113, allocations: 19.89 kB / 414.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.5114, allocations: 0 / 414.2 MB, free: 11.14 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001304/0.5115, allocations: 121.8 kB / 414.4 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.5116, allocations: 15.89 kB / 414.4 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.906e-05/0.5116, allocations: 17.34 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.5116, allocations: 4 kB / 414.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5117, allocations: 4 kB / 414.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.5117, allocations: 256 / 414.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.512, allocations: 229.4 kB / 414.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.512, allocations: 4 kB / 414.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003823/0.5124, allocations: 55.89 kB / 414.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.5124, allocations: 4 kB / 414.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.5125, allocations: 0 / 414.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.5125, allocations: 3.953 kB / 414.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5125, allocations: 0 / 414.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.5136, allocations: 343.3 kB / 415 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.5138, allocations: 101 kB / 415.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.5138, allocations: 4 kB / 415.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004796/0.5143, allocations: 48.02 kB / 415.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.5144, allocations: 7.938 kB / 415.2 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.5144, allocations: 11.94 kB / 415.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.5145, allocations: 124 kB / 415.3 MB, free: 9.969 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5146, allocations: 0 / 415.3 MB, free: 9.969 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003453/0.5149, allocations: 24 kB / 415.3 MB, free: 9.945 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001526/0.5165, allocations: 0.8762 MB / 416.2 MB, free: 9.043 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006033/0.5171, allocations: 119.9 kB / 416.3 MB, free: 8.926 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5171, allocations: 128 / 416.3 MB, free: 8.926 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.5175, allocations: 71.95 kB / 416.4 MB, free: 8.855 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.5178, allocations: 31.19 kB / 416.4 MB, free: 8.828 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.5201, allocations: 1.146 MB / 417.6 MB, free: 7.621 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.5204, allocations: 0.708 MB / 418.3 MB, free: 6.887 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.5205, allocations: 39.42 kB / 418.3 MB, free: 6.848 MB / 346.7 MB Notification: Performance of SimCode: time 9.71e-07/0.5205, allocations: 0 / 418.3 MB, free: 6.848 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.724/3.244, allocations: 2.056 MB / 420.4 MB, free: 4.809 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat