Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestStrings.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.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadModel(ModelicaTest): time 2.204/2.204, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000659/0.0006592, allocations: 12 kB / 314.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2809, allocations: 54.86 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0008546/0.2818, allocations: 212.5 kB / 369.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004798/0.2867, allocations: 1.208 MB / 370.6 MB, free: 9.305 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.2867, allocations: 0 / 370.6 MB, free: 9.305 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.2868, allocations: 0 / 370.6 MB, free: 9.305 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/0.2868, allocations: 0 / 370.6 MB, free: 9.305 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.2891, allocations: 430.9 kB / 371 MB, free: 8.883 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.257e-05/0.2892, allocations: 4 kB / 371 MB, free: 8.879 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.691e-05/0.2892, allocations: 3.984 kB / 371 MB, free: 8.875 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.372e-05/0.2893, allocations: 3.984 kB / 371 MB, free: 8.871 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.968e-05/0.2893, allocations: 3.938 kB / 371 MB, free: 8.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.923e-06/0.2893, allocations: 0 / 371 MB, free: 8.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/0.2922, allocations: 0.7492 MB / 371.8 MB, free: 8.117 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.368e-06/0.2923, allocations: 0 / 371.8 MB, free: 8.117 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.2923, allocations: 25.7 kB / 371.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.2936, allocations: 347.4 kB / 372.1 MB, free: 7.746 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.193e-06/0.2936, allocations: 0 / 372.1 MB, free: 7.746 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.991e-06/0.2936, allocations: 0 / 372.1 MB, free: 7.746 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.228e-06/0.2936, allocations: 0 / 372.1 MB, free: 7.746 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0009128/0.2946, allocations: 465 kB / 372.6 MB, free: 7.238 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/0.2946, allocations: 8.031 kB / 372.6 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.9e-05/0.2947, allocations: 7.938 kB / 372.6 MB, free: 7.223 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.2949, allocations: 167.1 kB / 372.8 MB, free: 7.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.295, allocations: 4 kB / 372.8 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.295, allocations: 0 / 372.8 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.2951, allocations: 25.7 kB / 372.8 MB, free: 6.984 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.2952, allocations: 3.938 kB / 372.8 MB, free: 6.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2952, allocations: 4 kB / 372.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.2952, allocations: 0 / 372.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.442e-05/0.2953, allocations: 3.953 kB / 372.8 MB, free: 6.973 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.2956, allocations: 157.5 kB / 373 MB, free: 6.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.759e-05/0.2957, allocations: 22.61 kB / 373 MB, free: 6.738 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.2957, allocations: 0 / 373 MB, free: 6.738 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.81e-05/0.2958, allocations: 56.27 kB / 373 MB, free: 6.668 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 3.023e-06/0.2958, allocations: 0 / 373 MB, free: 6.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002798/0.2961, allocations: 75.3 kB / 373.1 MB, free: 6.582 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.196e-05/0.2962, allocations: 77.11 kB / 373.2 MB, free: 6.488 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.361e-05/0.2963, allocations: 89.98 kB / 373.3 MB, free: 6.391 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.2964, allocations: 33.7 kB / 373.3 MB, free: 6.352 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.2965, allocations: 150.6 kB / 373.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.2966, allocations: 0 / 373.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-06/0.2966, allocations: 0 / 373.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002377/0.2968, allocations: 314.8 kB / 373.8 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.498e-05/0.2969, allocations: 0 / 373.8 MB, free: 5.887 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/0.2969, allocations: 4 kB / 373.8 MB, free: 5.883 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.856e-05/0.297, allocations: 29.7 kB / 373.8 MB, free: 5.848 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.297, allocations: 4.062 kB / 373.8 MB, free: 5.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000185/0.2972, allocations: 67.33 kB / 373.9 MB, free: 5.766 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/0.2973, allocations: 29.7 kB / 373.9 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.306e-06/0.2973, allocations: 0 / 373.9 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.2973, allocations: 0 / 373.9 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-06/0.2974, allocations: 4 kB / 373.9 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.2974, allocations: 3.984 kB / 373.9 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.391e-05/0.2974, allocations: 0 / 373.9 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.2975, allocations: 0 / 373.9 MB, free: 5.723 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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.0001871/0.2977, allocations: 147.5 kB / 374.1 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.2977, allocations: 0 / 374.1 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.254e-05/0.2977, allocations: 3.125 kB / 374.1 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.272e-06/0.2978, allocations: 0 / 374.1 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.796e-06/0.2978, allocations: 0 / 374.1 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.062e-06/0.2978, allocations: 0 / 374.1 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.298, allocations: 157.6 kB / 374.2 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-06/0.298, allocations: 0 / 374.2 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-06/0.2981, allocations: 0 / 374.2 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.545e-06/0.2981, allocations: 4 kB / 374.2 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.2981, allocations: 0 / 374.2 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.244e-06/0.2982, allocations: 7.938 kB / 374.2 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.518e-06/0.2982, allocations: 0 / 374.2 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.2984, allocations: 98.72 kB / 374.3 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.167e-05/0.2985, allocations: 77.11 kB / 374.4 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.2985, allocations: 4 kB / 374.4 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.516e-05/0.2986, allocations: 0 / 374.4 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.2986, allocations: 3.938 kB / 374.4 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-06/0.2987, allocations: 4.031 kB / 374.4 MB, free: 5.121 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.66e-05/0.2987, allocations: 75.28 kB / 374.5 MB, free: 5.047 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.081e-06/0.2988, allocations: 0 / 374.5 MB, free: 5.047 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00129/0.3001, allocations: 204 kB / 374.7 MB, free: 4.848 MB / 298.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.002783/0.3029, allocations: 0.5883 MB / 375.3 MB, free: 4.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.3031, allocations: 55.41 kB / 375.3 MB, free: 4.254 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.291e-06/0.3031, allocations: 4.062 kB / 375.3 MB, free: 4.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.082e-05/0.3032, allocations: 59.34 kB / 375.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.3034, allocations: 7.891 kB / 375.4 MB, free: 4.172 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.3037, allocations: 112.4 kB / 375.5 MB, free: 4.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/0.3042, allocations: 0.6692 MB / 376.2 MB, free: 3.332 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.13e-05/0.3043, allocations: 11.44 kB / 376.2 MB, free: 3.32 MB / 298.7 MB Notification: Performance of SimCode: time 1.981e-06/0.3043, allocations: 0 / 376.2 MB, free: 3.32 MB / 298.7 MB Notification: Performance of Templates: time 0.01633/0.3207, allocations: 4.396 MB / 380.6 MB, free: 14.92 MB / 314.7 MB