Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.First.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadModel(Modelica): time 1.569/1.569, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003585, allocations: 12 kB / 233.2 MB, free: 0.9609 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07068/0.07107, allocations: 38.77 MB / 271.9 MB, free: 10.11 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002879/0.074, allocations: 1.838 MB / 273.8 MB, free: 8.246 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.0752, allocations: 0.5812 MB / 274.3 MB, free: 7.664 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.07538, allocations: 4 kB / 274.3 MB, free: 7.66 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.673e-05/0.07545, allocations: 23.78 kB / 274.4 MB, free: 7.637 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.07571, allocations: 91.73 kB / 274.5 MB, free: 7.547 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.07591, allocations: 35.97 kB / 274.5 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.07625, allocations: 191.6 kB / 274.7 MB, free: 7.324 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.07648, allocations: 85.17 kB / 274.8 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.07667, allocations: 91.58 kB / 274.9 MB, free: 7.148 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.07688, allocations: 99.55 kB / 274.9 MB, free: 7.051 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.07694, allocations: 12 kB / 275 MB, free: 7.039 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.415e-05/0.077, allocations: 12 kB / 275 MB, free: 7.027 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.07706, allocations: 39.84 kB / 275 MB, free: 6.988 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.491e-05/0.07716, allocations: 65.58 kB / 275.1 MB, free: 6.918 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.07744, allocations: 191.8 kB / 275.3 MB, free: 6.73 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.797e-06/0.07745, allocations: 0 / 275.3 MB, free: 6.73 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.985e-06/0.07747, allocations: 3.938 kB / 275.3 MB, free: 6.727 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.077e-06/0.07749, allocations: 0 / 275.3 MB, free: 6.727 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008044/0.0783, allocations: 498.9 kB / 275.8 MB, free: 6.191 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.07835, allocations: 8.031 kB / 275.8 MB, free: 6.184 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.096e-05/0.07843, allocations: 27.72 kB / 275.8 MB, free: 6.156 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.07879, allocations: 235.3 kB / 276 MB, free: 5.887 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.07884, allocations: 20.39 kB / 276 MB, free: 5.867 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.07891, allocations: 24 kB / 276.1 MB, free: 5.844 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000475/0.0794, allocations: 199.2 kB / 276.3 MB, free: 5.641 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.07944, allocations: 4 kB / 276.3 MB, free: 5.637 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.07948, allocations: 8 kB / 276.3 MB, free: 5.629 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.0795, allocations: 4 kB / 276.3 MB, free: 5.625 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003999/0.07991, allocations: 141.6 kB / 276.4 MB, free: 5.488 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.08121, allocations: 0.6384 MB / 277 MB, free: 4.797 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.08166, allocations: 184.1 kB / 277.2 MB, free: 4.609 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.0817, allocations: 7.938 kB / 277.2 MB, free: 4.602 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.08174, allocations: 30.56 kB / 277.3 MB, free: 4.562 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 3.961e-06/0.08176, allocations: 0 / 277.3 MB, free: 4.562 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.002595/0.08437, allocations: 1.082 MB / 278.3 MB, free: 3.387 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.08445, allocations: 59.41 kB / 278.4 MB, free: 3.316 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.08469, allocations: 174.5 kB / 278.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.08474, allocations: 33.7 kB / 278.6 MB, free: 3.098 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.08488, allocations: 199.1 kB / 278.8 MB, free: 2.902 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.08502, allocations: 118.3 kB / 278.9 MB, free: 2.785 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.08505, allocations: 8 kB / 278.9 MB, free: 2.777 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.08524, allocations: 322.8 kB / 279.2 MB, free: 2.453 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.08547, allocations: 71.97 kB / 279.3 MB, free: 2.383 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.08574, allocations: 110.6 kB / 279.4 MB, free: 2.266 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.086, allocations: 85.34 kB / 279.5 MB, free: 2.184 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.379e-06/0.08602, allocations: 0 / 279.5 MB, free: 2.184 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007459/0.08678, allocations: 287.8 kB / 279.8 MB, free: 1.895 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.08682, allocations: 13.83 kB / 279.8 MB, free: 1.883 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.677e-06/0.08684, allocations: 0 / 279.8 MB, free: 1.883 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002316/0.08708, allocations: 40.83 kB / 279.8 MB, free: 1.84 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.08742, allocations: 63.91 kB / 279.9 MB, free: 1.777 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.0895, allocations: 1.573 MB / 281.5 MB, free: 76 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.08971, allocations: 8.094 kB / 281.5 MB, free: 68 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.08975, allocations: 12 kB / 281.5 MB, free: 56 kB / 234.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 (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.1999/0.2896, allocations: 137.7 kB / 281.6 MB, free: 14.65 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.229e-05/0.2897, allocations: 18.97 kB / 281.6 MB, free: 14.65 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.471e-05/0.2898, allocations: 29.94 kB / 281.7 MB, free: 14.64 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.342e-06/0.2899, allocations: 7.641 kB / 281.7 MB, free: 14.64 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.188e-06/0.2899, allocations: 3.469 kB / 281.7 MB, free: 14.64 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.2899, allocations: 1.594 kB / 281.7 MB, free: 14.64 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.2915, allocations: 0.7884 MB / 282.5 MB, free: 14.27 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.291e-06/0.2915, allocations: 1.094 kB / 282.5 MB, free: 14.27 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/0.2919, allocations: 58.95 kB / 282.5 MB, free: 14.27 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00018/0.2921, allocations: 41.08 kB / 282.6 MB, free: 14.27 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.2921, allocations: 7.062 kB / 282.6 MB, free: 14.27 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.2933, allocations: 1.403 MB / 284 MB, free: 13.01 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.2934, allocations: 0.6562 kB / 284 MB, free: 13.01 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009123/0.2943, allocations: 485.9 kB / 284.5 MB, free: 12.84 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.2944, allocations: 110.8 kB / 284.6 MB, free: 12.75 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.2945, allocations: 5.5 kB / 284.6 MB, free: 12.75 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.2947, allocations: 12.12 kB / 284.6 MB, free: 12.75 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/0.2948, allocations: 25.19 kB / 284.6 MB, free: 12.75 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.2948, allocations: 7.172 kB / 284.6 MB, free: 12.75 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.2949, allocations: 138.9 kB / 284.8 MB, free: 12.67 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.93e-07/0.295, allocations: 0 / 284.8 MB, free: 12.67 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005232/0.2955, allocations: 67.88 kB / 284.8 MB, free: 12.67 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001214/0.2956, allocations: 110.8 kB / 284.9 MB, free: 12.57 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0008189/0.2965, allocations: 346.2 kB / 285.3 MB, free: 12.45 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.019e-06/0.2965, allocations: 0.7812 kB / 285.3 MB, free: 12.45 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004577/0.297, allocations: 244.8 kB / 285.5 MB, free: 12.33 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.2974, allocations: 37.27 kB / 285.5 MB, free: 12.32 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.299, allocations: 0.9081 MB / 286.4 MB, free: 11.78 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.2993, allocations: 0.7655 MB / 287.2 MB, free: 11.08 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.608e-05/0.2994, allocations: 22.39 kB / 287.2 MB, free: 11.07 MB / 234.7 MB Notification: Performance of SimCode: time 1.615e-06/0.2994, allocations: 0 / 287.2 MB, free: 11.07 MB / 234.7 MB Notification: Performance of Templates: time 0.007624/0.307, allocations: 3.69 MB / 290.9 MB, free: 10.82 MB / 234.7 MB