Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.StrictLimiters.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.527/2.527, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.174e-05/2.173e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3477, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1574/0.5052, allocations: 83.66 MB / 441.8 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.5055, allocations: 67.95 kB / 441.8 MB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06858/0.5741, allocations: 13.47 MB / 455.3 MB, free: 13.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5741, allocations: 0 / 455.3 MB, free: 13.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.959e-05/0.5742, allocations: 12 kB / 455.3 MB, free: 13.59 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.003298/0.5775, allocations: 0.9626 MB / 456.3 MB, free: 12.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.5776, allocations: 8.031 kB / 456.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004322/0.578, allocations: 79.06 kB / 456.4 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.5799, allocations: 0.5427 MB / 456.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/0.58, allocations: 15.95 kB / 456.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.5801, allocations: 24 kB / 457 MB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009879/0.5811, allocations: 298.6 kB / 457.2 MB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.5822, allocations: 422.5 kB / 457.7 MB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.5823, allocations: 3.906 kB / 457.7 MB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.96e-05/0.5824, allocations: 0 / 457.7 MB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.5824, allocations: 8 kB / 457.7 MB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004462/0.5869, allocations: 1.377 MB / 459 MB, free: 9.711 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/0.5896, allocations: 0.691 MB / 459.7 MB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005086/0.5901, allocations: 177.7 kB / 459.9 MB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.62e-05/0.5902, allocations: 4 kB / 459.9 MB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.5903, allocations: 38.56 kB / 460 MB, free: 8.754 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.748e-06/0.5903, allocations: 0 / 460 MB, free: 8.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.001265/0.5916, allocations: 393.6 kB / 460.3 MB, free: 8.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.408e-05/0.5917, allocations: 140.3 kB / 460.5 MB, free: 8.191 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007054/0.5924, allocations: 378.4 kB / 460.8 MB, free: 7.816 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.5926, allocations: 29.7 kB / 460.9 MB, free: 7.781 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.5929, allocations: 318.9 kB / 461.2 MB, free: 7.465 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.5931, allocations: 153.8 kB / 461.3 MB, free: 7.312 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.5932, allocations: 0 / 461.3 MB, free: 7.312 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5934, allocations: 322.8 kB / 461.7 MB, free: 6.988 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004113/0.5938, allocations: 140.9 kB / 461.8 MB, free: 6.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004611/0.5943, allocations: 187.3 kB / 462 MB, free: 6.656 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.5947, allocations: 140.7 kB / 462.1 MB, free: 6.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.5947, allocations: 4 kB / 462.1 MB, free: 6.516 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001085/0.5958, allocations: 379.9 kB / 462.5 MB, free: 6.141 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.5959, allocations: 189.1 kB / 462.7 MB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.596, allocations: 0 / 462.7 MB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.596, allocations: 4 kB / 462.7 MB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.5979, allocations: 199.7 kB / 462.9 MB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.5979, allocations: 0 / 462.9 MB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.599, allocations: 111.5 kB / 463 MB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.26e-05/0.5991, allocations: 11.98 kB / 463 MB, free: 5.625 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5992, allocations: 4 kB / 463 MB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009248/0.6001, allocations: 302.4 kB / 463.3 MB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6001, allocations: 0 / 463.3 MB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.6002, allocations: 0 / 463.3 MB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.6017, allocations: 163.8 kB / 463.4 MB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.6018, allocations: 0 / 463.4 MB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000655/0.6024, allocations: 83.58 kB / 463.5 MB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/0.6025, allocations: 8 kB / 463.5 MB, free: 5.074 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002349/0.6027, allocations: 112.9 kB / 463.6 MB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001187/0.604, allocations: 385.1 kB / 464 MB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.6042, allocations: 55.34 kB / 464.1 MB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.6044, allocations: 66.09 kB / 464.1 MB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.6044, allocations: 7.953 kB / 464.2 MB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.6045, allocations: 4 kB / 464.2 MB, free: 4.441 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.6045, allocations: 3.984 kB / 464.2 MB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/0.607, allocations: 0.995 MB / 465.2 MB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.6071, allocations: 7.938 kB / 465.2 MB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/0.6085, allocations: 159.8 kB / 465.3 MB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.436e-05/0.6085, allocations: 3.953 kB / 465.3 MB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.258e-05/0.6086, allocations: 4 kB / 465.3 MB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.186e-06/0.6086, allocations: 4 kB / 465.3 MB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.6087, allocations: 3.984 kB / 465.3 MB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.6105, allocations: 0.7719 MB / 466.1 MB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/0.611, allocations: 192.1 kB / 466.3 MB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.6111, allocations: 0 / 466.3 MB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.6122, allocations: 87.91 kB / 466.4 MB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.6124, allocations: 35.94 kB / 466.4 MB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/0.6124, allocations: 19.98 kB / 466.4 MB, free: 2.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005767/0.613, allocations: 298.9 kB / 466.7 MB, free: 1.781 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.613, allocations: 0 / 466.7 MB, free: 1.781 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009807/0.614, allocations: 179.4 kB / 466.9 MB, free: 1.605 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.002123/0.6162, allocations: 1.408 MB / 468.3 MB, free: 172 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.2911/0.9073, allocations: 0.5331 MB / 468.8 MB, free: 97.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.9074, allocations: 0.6562 kB / 468.8 MB, free: 97.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006781/0.9081, allocations: 196.7 kB / 469 MB, free: 97.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.9094, allocations: 107.2 kB / 469.1 MB, free: 97.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005099/0.9146, allocations: 1.134 MB / 470.3 MB, free: 97.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.9151, allocations: 0.8921 MB / 471.2 MB, free: 96.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000665/0.9158, allocations: 234.2 kB / 471.4 MB, free: 96.37 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.9158, allocations: 0 / 471.4 MB, free: 96.37 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.721/3.637, allocations: 9.589 MB / 481 MB, free: 95.37 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat