Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 1.725/1.725, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003548, allocations: 11.98 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07705/0.07742, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003033/0.08051, allocations: 1.845 MB / 274.5 MB, free: 9.668 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.08178, allocations: 0.5694 MB / 275 MB, free: 9.098 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.08194, allocations: 8 kB / 275 MB, free: 9.09 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.291e-05/0.08201, allocations: 23.78 kB / 275.1 MB, free: 9.066 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.08229, allocations: 87.73 kB / 275.2 MB, free: 8.98 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.0825, allocations: 43.94 kB / 275.2 MB, free: 8.938 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.08285, allocations: 175.6 kB / 275.4 MB, free: 8.766 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.08306, allocations: 80.52 kB / 275.5 MB, free: 8.684 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.08324, allocations: 87.64 kB / 275.5 MB, free: 8.598 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.08343, allocations: 95.53 kB / 275.6 MB, free: 8.504 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.08348, allocations: 8 kB / 275.6 MB, free: 8.496 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.202e-05/0.08354, allocations: 12 kB / 275.7 MB, free: 8.484 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.0836, allocations: 35.86 kB / 275.7 MB, free: 8.449 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.729e-05/0.08368, allocations: 61.58 kB / 275.7 MB, free: 8.383 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.08395, allocations: 175.8 kB / 275.9 MB, free: 8.211 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.08396, allocations: 0 / 275.9 MB, free: 8.211 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.08397, allocations: 0 / 275.9 MB, free: 8.211 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.08399, allocations: 4 kB / 275.9 MB, free: 8.207 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008242/0.08482, allocations: 482.9 kB / 276.4 MB, free: 7.688 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.08488, allocations: 12.03 kB / 276.4 MB, free: 7.676 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.272e-05/0.08496, allocations: 27.7 kB / 276.4 MB, free: 7.648 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.08529, allocations: 231.4 kB / 276.7 MB, free: 7.383 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.08533, allocations: 20.39 kB / 276.7 MB, free: 7.363 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-05/0.08541, allocations: 27.91 kB / 276.7 MB, free: 7.336 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.08594, allocations: 201.9 kB / 276.9 MB, free: 7.125 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.08597, allocations: 4 kB / 276.9 MB, free: 7.121 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.08601, allocations: 8 kB / 276.9 MB, free: 7.113 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.08603, allocations: 8 kB / 276.9 MB, free: 7.105 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004161/0.08646, allocations: 137.5 kB / 277.1 MB, free: 6.973 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.08789, allocations: 0.7171 MB / 277.8 MB, free: 6.199 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.08829, allocations: 142.5 kB / 277.9 MB, free: 6.051 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.08833, allocations: 4 kB / 277.9 MB, free: 6.047 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.08837, allocations: 30.56 kB / 277.9 MB, free: 6.008 MB / 234.7 MB Notification: Performance of pre-optimization done (n=20): time 2.795e-06/0.08838, allocations: 4 kB / 277.9 MB, free: 6.004 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.002246/0.09064, allocations: 0.9028 MB / 278.9 MB, free: 5.016 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.09069, allocations: 55.27 kB / 278.9 MB, free: 4.949 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.09092, allocations: 175.5 kB / 279.1 MB, free: 4.762 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.09096, allocations: 29.7 kB / 279.1 MB, free: 4.727 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.09108, allocations: 140.3 kB / 279.2 MB, free: 4.586 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.834e-05/0.09118, allocations: 94.67 kB / 279.3 MB, free: 4.492 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.0912, allocations: 4 kB / 279.3 MB, free: 4.488 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.09134, allocations: 334.8 kB / 279.7 MB, free: 4.152 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.09155, allocations: 59.95 kB / 279.7 MB, free: 4.094 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.0918, allocations: 104.2 kB / 279.8 MB, free: 3.977 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.09204, allocations: 67.94 kB / 279.9 MB, free: 3.91 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.09205, allocations: 4 kB / 279.9 MB, free: 3.906 MB / 234.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006833/0.09275, allocations: 250 kB / 280.1 MB, free: 3.652 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.09278, allocations: 9.094 kB / 280.2 MB, free: 3.645 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.0928, allocations: 8.125 kB / 280.2 MB, free: 3.637 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002412/0.09305, allocations: 32.83 kB / 280.2 MB, free: 3.602 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.09343, allocations: 47.92 kB / 280.2 MB, free: 3.555 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.09496, allocations: 1.39 MB / 281.6 MB, free: 2.031 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.09518, allocations: 11.98 kB / 281.6 MB, free: 2.02 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.09522, allocations: 12 kB / 281.7 MB, free: 2.008 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0001647/0.09539, allocations: 129.8 kB / 281.8 MB, free: 1.871 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/0.09546, allocations: 19.81 kB / 281.8 MB, free: 1.852 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.01e-05/0.09553, allocations: 25.94 kB / 281.8 MB, free: 1.828 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.09555, allocations: 7.984 kB / 281.8 MB, free: 1.82 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.09557, allocations: 3.953 kB / 281.8 MB, free: 1.816 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.09568, allocations: 96.91 kB / 281.9 MB, free: 1.703 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.09573, allocations: 8 kB / 281.9 MB, free: 1.695 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.09593, allocations: 11.98 kB / 281.9 MB, free: 1.684 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.09601, allocations: 11.98 kB / 282 MB, free: 1.672 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009836/0.097, allocations: 326.8 kB / 282.3 MB, free: 1.344 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008025/0.09783, allocations: 462.5 kB / 282.7 MB, free: 0.875 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002081/0.09805, allocations: 67.97 kB / 282.8 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001347/0.0982, allocations: 129.2 kB / 282.9 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of Backend: time 6.81e-07/0.09822, allocations: 0 / 282.9 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0008157/0.09904, allocations: 317 kB / 283.2 MB, free: 360 kB / 234.7 MB Notification: Performance of SimCode: time 0.001845/0.1009, allocations: 1.259 MB / 284.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of Templates: time 0.007883/0.1088, allocations: 2.186 MB / 286.7 MB, free: 12.86 MB / 250.7 MB