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.First.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.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_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadModel(Modelica): time 1.668/1.668, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003435, allocations: 8 kB / 233.9 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08239/0.08276, allocations: 38.78 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003114/0.08592, allocations: 1.841 MB / 274.5 MB, free: 9.676 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.08714, allocations: 0.5772 MB / 275.1 MB, free: 9.098 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.08728, allocations: 4 kB / 275.1 MB, free: 9.094 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.368e-05/0.08736, allocations: 23.78 kB / 275.1 MB, free: 9.07 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.08763, allocations: 87.73 kB / 275.2 MB, free: 8.984 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.08784, allocations: 35.97 kB / 275.2 MB, free: 8.949 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.0882, allocations: 191.6 kB / 275.4 MB, free: 8.762 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.08844, allocations: 93.16 kB / 275.5 MB, free: 8.668 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.08862, allocations: 91.58 kB / 275.6 MB, free: 8.578 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.08883, allocations: 95.61 kB / 275.7 MB, free: 8.484 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.341e-05/0.08889, allocations: 8 kB / 275.7 MB, free: 8.477 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.818e-05/0.08896, allocations: 15.94 kB / 275.7 MB, free: 8.461 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.08901, allocations: 31.91 kB / 275.7 MB, free: 8.43 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.308e-05/0.0891, allocations: 69.58 kB / 275.8 MB, free: 8.355 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.08939, allocations: 191.7 kB / 276 MB, free: 8.168 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.0894, allocations: 0 / 276 MB, free: 8.168 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.08942, allocations: 4 kB / 276 MB, free: 8.164 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.08943, allocations: 0 / 276 MB, free: 8.164 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.0008721/0.09032, allocations: 498.9 kB / 276.5 MB, free: 7.629 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.09037, allocations: 8.031 kB / 276.5 MB, free: 7.621 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.401e-05/0.09045, allocations: 27.72 kB / 276.5 MB, free: 7.594 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.09081, allocations: 239.2 kB / 276.7 MB, free: 7.32 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.09086, allocations: 24.33 kB / 276.8 MB, free: 7.297 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.19e-05/0.09093, allocations: 27.98 kB / 276.8 MB, free: 7.27 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005158/0.09145, allocations: 191.3 kB / 277 MB, free: 7.074 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.09149, allocations: 0 / 277 MB, free: 7.074 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.09153, allocations: 8 kB / 277 MB, free: 7.066 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.09155, allocations: 8 kB / 277 MB, free: 7.059 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.092, allocations: 137.7 kB / 277.1 MB, free: 6.926 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.0934, allocations: 0.6384 MB / 277.8 MB, free: 6.234 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.09387, allocations: 185.9 kB / 277.9 MB, free: 6.047 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.09391, allocations: 4 kB / 277.9 MB, free: 6.043 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.09395, allocations: 34.56 kB / 278 MB, free: 6 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 2.044e-06/0.09396, allocations: 4 kB / 278 MB, free: 5.996 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.002895/0.09686, allocations: 1.07 MB / 279 MB, free: 4.832 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.09694, allocations: 55.41 kB / 279.1 MB, free: 4.766 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.09719, allocations: 178.5 kB / 279.3 MB, free: 4.582 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.09724, allocations: 29.7 kB / 279.3 MB, free: 4.547 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.09736, allocations: 136.7 kB / 279.4 MB, free: 4.41 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.09749, allocations: 122.2 kB / 279.6 MB, free: 4.289 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/0.09752, allocations: 4 kB / 279.6 MB, free: 4.285 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.09768, allocations: 342.8 kB / 279.9 MB, free: 3.941 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.09793, allocations: 67.97 kB / 280 MB, free: 3.875 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.09821, allocations: 106.6 kB / 280.1 MB, free: 3.762 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.09851, allocations: 97.27 kB / 280.2 MB, free: 3.668 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.09852, allocations: 0 / 280.2 MB, free: 3.668 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008246/0.09936, allocations: 287.8 kB / 280.4 MB, free: 3.379 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.0994, allocations: 11.95 kB / 280.5 MB, free: 3.367 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.09942, allocations: 3.984 kB / 280.5 MB, free: 3.363 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002608/0.09969, allocations: 40.91 kB / 280.5 MB, free: 3.32 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/0.1001, allocations: 59.91 kB / 280.6 MB, free: 3.262 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.1022, allocations: 1.577 MB / 282.1 MB, free: 1.555 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.1025, allocations: 8 kB / 282.1 MB, free: 1.547 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.1025, allocations: 15.94 kB / 282.2 MB, free: 1.531 MB / 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.0001947/0.1027, allocations: 133.8 kB / 282.3 MB, free: 1.391 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.1028, allocations: 23.72 kB / 282.3 MB, free: 1.367 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.355e-05/0.1029, allocations: 38.7 kB / 282.3 MB, free: 1.328 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1029, allocations: 0 / 282.3 MB, free: 1.328 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1029, allocations: 0 / 282.3 MB, free: 1.328 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.1031, allocations: 108.9 kB / 282.5 MB, free: 1.203 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.1031, allocations: 11.94 kB / 282.5 MB, free: 1.191 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.1033, allocations: 8 kB / 282.5 MB, free: 1.184 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.1034, allocations: 23.95 kB / 282.5 MB, free: 1.16 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001248/0.1047, allocations: 401.3 kB / 282.9 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001052/0.1057, allocations: 0.5262 MB / 283.4 MB, free: 220 kB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002565/0.106, allocations: 87.95 kB / 283.5 MB, free: 132 kB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001693/0.1062, allocations: 136.3 kB / 283.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of Backend: time 7.52e-07/0.1062, allocations: 4 kB / 283.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009505/0.1072, allocations: 350 kB / 284 MB, free: 15.63 MB / 250.7 MB Notification: Performance of SimCode: time 0.002006/0.1092, allocations: 1.3 MB / 285.3 MB, free: 14.29 MB / 250.7 MB Notification: Performance of Templates: time 0.008856/0.1181, allocations: 2.527 MB / 287.8 MB, free: 11.76 MB / 250.7 MB