Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.144/2.144, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006721/0.0006721, allocations: 16 kB / 282.7 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4078, allocations: 48.7 MB / 331.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.5924, allocations: 78.58 MB / 409.9 MB, free: 15.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.5927, allocations: 67.97 kB / 410 MB, free: 15.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09376/0.6865, allocations: 18.33 MB / 428.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6865, allocations: 7.938 kB / 428.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.401e-05/0.6866, allocations: 20 kB / 428.4 MB, free: 13.29 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.003979/0.6906, allocations: 1.13 MB / 429.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.6907, allocations: 8.031 kB / 429.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002709/0.691, allocations: 90.52 kB / 429.6 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002885/0.6913, allocations: 94.92 kB / 429.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/0.6938, allocations: 0.6009 MB / 430.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.983e-05/0.694, allocations: 41 kB / 430.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.6942, allocations: 47.91 kB / 430.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/0.6965, allocations: 0.628 MB / 431 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.6966, allocations: 0 / 431 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.6967, allocations: 16 kB / 431 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.6968, allocations: 12 kB / 431 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.6994, allocations: 0.5387 MB / 431.6 MB, free: 9.949 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004901/0.7043, allocations: 1.488 MB / 433.1 MB, free: 8.402 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00385/0.7082, allocations: 0.9581 MB / 434 MB, free: 7.371 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.7084, allocations: 20.06 kB / 434 MB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.7085, allocations: 42.5 kB / 434.1 MB, free: 7.301 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.606e-06/0.7085, allocations: 0 / 434.1 MB, free: 7.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.004679/0.7132, allocations: 0.9426 MB / 435 MB, free: 6.348 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.7133, allocations: 132.5 kB / 435.1 MB, free: 6.188 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008946/0.7142, allocations: 418.3 kB / 435.6 MB, free: 5.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001492/0.7144, allocations: 37.7 kB / 435.6 MB, free: 5.727 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/0.7147, allocations: 326.9 kB / 435.9 MB, free: 5.406 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.715, allocations: 153.7 kB / 436.1 MB, free: 5.254 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.7151, allocations: 16 kB / 436.1 MB, free: 5.238 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.7152, allocations: 334.8 kB / 436.4 MB, free: 4.902 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.7167, allocations: 276.7 kB / 436.7 MB, free: 4.633 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.7183, allocations: 332 kB / 437 MB, free: 4.301 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.7197, allocations: 280.7 kB / 437.3 MB, free: 4.023 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.7198, allocations: 0 / 437.3 MB, free: 4.023 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003135/0.7229, allocations: 0.6637 MB / 437.9 MB, free: 3.355 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.723, allocations: 11.12 kB / 437.9 MB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.723, allocations: 0 / 437.9 MB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.7231, allocations: 4 kB / 437.9 MB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/0.725, allocations: 187.7 kB / 438.1 MB, free: 3.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.393e-05/0.7251, allocations: 0 / 438.1 MB, free: 3.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.7266, allocations: 99.61 kB / 438.2 MB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.7267, allocations: 16 kB / 438.2 MB, free: 3.047 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0004498/0.7272, allocations: 177.7 kB / 438.4 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.7274, allocations: 67.16 kB / 438.5 MB, free: 2.797 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002833/0.7303, allocations: 0.6344 MB / 439.1 MB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.7304, allocations: 7.984 kB / 439.1 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.7304, allocations: 4 kB / 439.1 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.7304, allocations: 0 / 439.1 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004423/0.7348, allocations: 1.323 MB / 440.5 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.7349, allocations: 0 / 440.5 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/0.7362, allocations: 143.8 kB / 440.6 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.7363, allocations: 4 kB / 440.6 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.7364, allocations: 19.98 kB / 440.6 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.7364, allocations: 0 / 440.6 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.7364, allocations: 3.953 kB / 440.6 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004942/0.7414, allocations: 1.211 MB / 441.8 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/0.7419, allocations: 184.2 kB / 442 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.742, allocations: 12 kB / 442 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009629/0.743, allocations: 87.83 kB / 442.1 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.7432, allocations: 43.92 kB / 442.2 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.398e-05/0.7433, allocations: 12 kB / 442.2 MB, free: 15.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006417/0.7439, allocations: 338.8 kB / 442.5 MB, free: 14.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7439, allocations: 0 / 442.5 MB, free: 14.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000743/0.7447, allocations: 115.7 kB / 442.6 MB, free: 14.57 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.006398/0.7511, allocations: 1.841 MB / 444.4 MB, free: 12.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004046/0.7552, allocations: 0.6348 MB / 445.1 MB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/0.7553, allocations: 0 / 445.1 MB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002007/0.7573, allocations: 343.9 kB / 445.4 MB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.759, allocations: 125 kB / 445.5 MB, free: 11.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01934/0.7783, allocations: 4.252 MB / 449.8 MB, free: 7.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008653/0.7793, allocations: 0.9022 MB / 450.7 MB, free: 6.348 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009984/0.7803, allocations: 235.3 kB / 450.9 MB, free: 6.117 MB / 378.7 MB Notification: Performance of SimCode: time 1.713e-06/0.7803, allocations: 0 / 450.9 MB, free: 6.117 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.778/3.558, allocations: 9.666 MB / 460.6 MB, free: 12.46 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat