Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 1.82/1.82, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003468, allocations: 11.94 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08912/0.08949, allocations: 44.51 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003114/0.09265, allocations: 1.834 MB / 310.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.09397, allocations: 0.5973 MB / 311.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.09411, allocations: 4 kB / 311.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.184e-05/0.09419, allocations: 23.72 kB / 311.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.09447, allocations: 87.73 kB / 311.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.09468, allocations: 35.97 kB / 311.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.09503, allocations: 183.6 kB / 311.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.09524, allocations: 68.78 kB / 311.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.09542, allocations: 79.7 kB / 312 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.09561, allocations: 91.56 kB / 312.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.888e-05/0.09566, allocations: 12 kB / 312.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.171e-05/0.09573, allocations: 12 kB / 312.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.09578, allocations: 35.83 kB / 312.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.588e-05/0.09587, allocations: 73.58 kB / 312.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.09614, allocations: 167.8 kB / 312.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.09616, allocations: 0 / 312.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.09617, allocations: 0 / 312.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.09619, allocations: 0 / 312.3 MB, free: 13.05 MB / 266.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.000846/0.09704, allocations: 490.8 kB / 312.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.09709, allocations: 12.03 kB / 312.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.647e-05/0.09717, allocations: 23.72 kB / 312.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.0975, allocations: 231.3 kB / 313.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.09755, allocations: 16.44 kB / 313.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-05/0.09762, allocations: 27.89 kB / 313.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.09817, allocations: 205.9 kB / 313.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.0982, allocations: 4 kB / 313.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.09824, allocations: 4 kB / 313.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.09826, allocations: 12 kB / 313.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004177/0.09869, allocations: 133.6 kB / 313.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.1001, allocations: 0.7132 MB / 314.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.1005, allocations: 140.9 kB / 314.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.1006, allocations: 8.344 kB / 314.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.1006, allocations: 42.52 kB / 314.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 2.585e-06/0.1006, allocations: 0 / 314.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.00239/0.103, allocations: 0.8947 MB / 315.3 MB, free: 9.855 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.1031, allocations: 55.36 kB / 315.3 MB, free: 9.789 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.1033, allocations: 170.6 kB / 315.5 MB, free: 9.609 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.1034, allocations: 33.7 kB / 315.5 MB, free: 9.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.1035, allocations: 144.3 kB / 315.7 MB, free: 9.426 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.1036, allocations: 86.75 kB / 315.8 MB, free: 9.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.1037, allocations: 4 kB / 315.8 MB, free: 9.336 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1038, allocations: 326.8 kB / 316.1 MB, free: 9.008 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.104, allocations: 55.97 kB / 316.1 MB, free: 8.953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.1043, allocations: 109.3 kB / 316.2 MB, free: 8.832 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.1046, allocations: 75.88 kB / 316.3 MB, free: 8.758 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1046, allocations: 7.875 kB / 316.3 MB, free: 8.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007219/0.1053, allocations: 254 kB / 316.6 MB, free: 8.492 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1053, allocations: 7.953 kB / 316.6 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.1054, allocations: 4 kB / 316.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002387/0.1056, allocations: 32.83 kB / 316.6 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/0.106, allocations: 55.91 kB / 316.7 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.1077, allocations: 1.382 MB / 318 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.108, allocations: 11.94 kB / 318.1 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.108, allocations: 12 kB / 318.1 MB, free: 6.848 MB / 266.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.0001849/0.1082, allocations: 133 kB / 318.2 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.1083, allocations: 19.77 kB / 318.2 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.867e-05/0.1083, allocations: 33.8 kB / 318.3 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1084, allocations: 0 / 318.3 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.1084, allocations: 4 kB / 318.3 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-05/0.1085, allocations: 92.92 kB / 318.3 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.1085, allocations: 7.984 kB / 318.4 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.1087, allocations: 4 kB / 318.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.1088, allocations: 23.97 kB / 318.4 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001022/0.1098, allocations: 329.4 kB / 318.7 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008865/0.1107, allocations: 450.1 kB / 319.1 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002304/0.111, allocations: 71.95 kB / 319.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001474/0.1111, allocations: 127.2 kB / 319.3 MB, free: 5.527 MB / 266.7 MB Notification: Performance of Backend: time 8.41e-07/0.1111, allocations: 0 / 319.3 MB, free: 5.527 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008713/0.112, allocations: 300.9 kB / 319.6 MB, free: 5.215 MB / 266.7 MB Notification: Performance of SimCode: time 0.001936/0.114, allocations: 1.247 MB / 320.9 MB, free: 3.922 MB / 266.7 MB Notification: Performance of Templates: time 0.008124/0.1221, allocations: 2.182 MB / 323.1 MB, free: 1.742 MB / 266.7 MB