Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Limiters.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Limiters") Notification: Performance of loadModel(ModelicaTest): time 2.249/2.249, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004452, allocations: 15.98 kB / 314.3 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2774, allocations: 54.87 MB / 369.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002125/0.2796, allocations: 1.297 MB / 370.5 MB, free: 9.289 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.2808, allocations: 0.5484 MB / 371 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.012e-05/0.2809, allocations: 7.938 kB / 371 MB, free: 8.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.2809, allocations: 7.938 kB / 371 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.2811, allocations: 11.97 kB / 371.1 MB, free: 8.711 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.2815, allocations: 103.7 kB / 371.2 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.2817, allocations: 79.84 kB / 371.2 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.2818, allocations: 33.05 kB / 371.3 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.282, allocations: 55.83 kB / 371.3 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.2821, allocations: 47.81 kB / 371.4 MB, free: 8.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.2822, allocations: 4 kB / 371.4 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.376e-05/0.2822, allocations: 8 kB / 371.4 MB, free: 8.387 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.2823, allocations: 23.91 kB / 371.4 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.973e-05/0.2823, allocations: 49.58 kB / 371.4 MB, free: 8.309 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.2825, allocations: 75.83 kB / 371.5 MB, free: 8.234 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.634e-06/0.2825, allocations: 0 / 371.5 MB, free: 8.234 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.808e-06/0.2825, allocations: 0 / 371.5 MB, free: 8.234 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.787e-06/0.2825, allocations: 0 / 371.5 MB, free: 8.234 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007474/0.2833, allocations: 443.6 kB / 372 MB, free: 7.754 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2833, allocations: 12.03 kB / 372 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.2834, allocations: 15.81 kB / 372 MB, free: 7.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.2837, allocations: 206.8 kB / 372.2 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.2837, allocations: 4 kB / 372.2 MB, free: 7.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.2838, allocations: 4 kB / 372.2 MB, free: 7.477 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005261/0.2843, allocations: 195.6 kB / 372.4 MB, free: 7.273 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.2844, allocations: 3.984 kB / 372.4 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.2844, allocations: 11.88 kB / 372.4 MB, free: 7.258 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2844, allocations: 4 kB / 372.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005246/0.2849, allocations: 147.9 kB / 372.5 MB, free: 7.109 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.2861, allocations: 464.5 kB / 373 MB, free: 6.605 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007809/0.2869, allocations: 246.5 kB / 373.2 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.2869, allocations: 0 / 373.2 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.2869, allocations: 38.55 kB / 373.3 MB, free: 6.309 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 2.161e-06/0.287, allocations: 0 / 373.3 MB, free: 6.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.001916/0.2889, allocations: 0.658 MB / 373.9 MB, free: 5.598 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.292e-05/0.289, allocations: 102.8 kB / 374 MB, free: 5.473 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.2892, allocations: 154.1 kB / 374.2 MB, free: 5.312 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.2892, allocations: 25.7 kB / 374.2 MB, free: 5.281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.2894, allocations: 170.5 kB / 374.4 MB, free: 5.113 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.509e-05/0.2894, allocations: 35.45 kB / 374.4 MB, free: 5.078 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.301e-06/0.2894, allocations: 4 kB / 374.4 MB, free: 5.074 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.2896, allocations: 318.8 kB / 374.7 MB, free: 4.754 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.2899, allocations: 83.94 kB / 374.8 MB, free: 4.672 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.2903, allocations: 122.5 kB / 374.9 MB, free: 4.543 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.2906, allocations: 79.98 kB / 375 MB, free: 4.465 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.852e-06/0.2906, allocations: 0 / 375 MB, free: 4.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006741/0.2913, allocations: 213.5 kB / 375.2 MB, free: 4.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.928e-05/0.2914, allocations: 96.98 kB / 375.3 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.679e-06/0.2914, allocations: 3.984 kB / 375.3 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2914, allocations: 0 / 375.3 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.2917, allocations: 43.97 kB / 375.4 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.479e-06/0.2917, allocations: 0 / 375.4 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.2919, allocations: 39.92 kB / 375.4 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.2919, allocations: 4 kB / 375.4 MB, free: 4.059 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.274e-06/0.2919, allocations: 4 kB / 375.4 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003054/0.2923, allocations: 95.88 kB / 375.5 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-06/0.2923, allocations: 3.938 kB / 375.5 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-06/0.2923, allocations: 0 / 375.5 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.2924, allocations: 31.98 kB / 375.5 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.2925, allocations: 0 / 375.5 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.519e-05/0.2926, allocations: 15.98 kB / 375.6 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.211e-06/0.2926, allocations: 0 / 375.6 MB, free: 3.91 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001889/0.2928, allocations: 201.1 kB / 375.7 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/0.2929, allocations: 11.86 kB / 375.8 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.737e-05/0.2929, allocations: 17.09 kB / 375.8 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.776e-06/0.2929, allocations: 0 / 375.8 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.293, allocations: 7.984 kB / 375.8 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.096e-06/0.293, allocations: 4 kB / 375.8 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.2942, allocations: 0.5498 MB / 376.3 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.939e-06/0.2943, allocations: 0 / 376.3 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.2945, allocations: 48 kB / 376.4 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.2945, allocations: 3.984 kB / 376.4 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.2946, allocations: 0 / 376.4 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.697e-06/0.2946, allocations: 4 kB / 376.4 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.6e-06/0.2946, allocations: 0 / 376.4 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.2957, allocations: 416 kB / 376.8 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-05/0.2958, allocations: 89.03 kB / 376.9 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.2958, allocations: 3.938 kB / 376.9 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.2962, allocations: 56.02 kB / 376.9 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.2962, allocations: 7.984 kB / 377 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.2963, allocations: 4 kB / 377 MB, free: 2.395 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.2964, allocations: 118.1 kB / 377.1 MB, free: 2.281 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.2964, allocations: 4 kB / 377.1 MB, free: 2.277 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004364/0.2969, allocations: 32 kB / 377.1 MB, free: 2.246 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (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 Backend phase and start with SimCode phase: time 0.000135/0.297, allocations: 95.25 kB / 377.2 MB, free: 2.145 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008364/0.2979, allocations: 235.8 kB / 377.4 MB, free: 1.914 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.597e-06/0.2979, allocations: 4 kB / 377.4 MB, free: 1.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003266/0.2982, allocations: 95.94 kB / 377.5 MB, free: 1.816 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.2986, allocations: 19.94 kB / 377.5 MB, free: 1.797 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008568/0.2994, allocations: 359.8 kB / 377.9 MB, free: 1.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.2998, allocations: 0.7052 MB / 378.6 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/0.2999, allocations: 15.42 kB / 378.6 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of SimCode: time 1.526e-06/0.3, allocations: 4 kB / 378.6 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of Templates: time 0.004276/0.3042, allocations: 1.639 MB / 380.3 MB, free: 15.04 MB / 314.7 MB