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.First.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.First,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.First") Notification: Performance of loadModel(Modelica): time 1.873/1.873, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003473, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09067/0.09104, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003207/0.09429, allocations: 1.834 MB / 310.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.09563, allocations: 0.5934 MB / 311.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.09579, allocations: 4 kB / 311.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.648e-05/0.09589, allocations: 27.78 kB / 311.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.09617, allocations: 83.75 kB / 311.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.09639, allocations: 35.95 kB / 311.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.09677, allocations: 195.5 kB / 311.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.09701, allocations: 73.34 kB / 311.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.0972, allocations: 91.62 kB / 312 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.0974, allocations: 87.62 kB / 312.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.09746, allocations: 12 kB / 312.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.632e-05/0.09752, allocations: 12 kB / 312.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.09758, allocations: 43.83 kB / 312.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.09767, allocations: 69.58 kB / 312.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.09797, allocations: 195.7 kB / 312.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.09799, allocations: 0 / 312.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.988e-06/0.098, allocations: 0 / 312.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.09801, allocations: 3.938 kB / 312.4 MB, free: 12.99 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008695/0.09889, allocations: 482.9 kB / 312.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.09895, allocations: 12.03 kB / 312.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.802e-05/0.09904, allocations: 27.62 kB / 312.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.0994, allocations: 243.3 kB / 313.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.09944, allocations: 16.44 kB / 313.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.293e-05/0.09951, allocations: 23.94 kB / 313.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.1001, allocations: 187.3 kB / 313.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.1001, allocations: 3.984 kB / 313.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.1001, allocations: 12 kB / 313.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.1002, allocations: 4 kB / 313.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004518/0.1006, allocations: 141.7 kB / 313.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.102, allocations: 0.6424 MB / 314.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/0.1025, allocations: 186.3 kB / 314.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.1025, allocations: 4 kB / 314.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1026, allocations: 34.56 kB / 314.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 2.245e-06/0.1026, allocations: 0 / 314.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.002852/0.1055, allocations: 1.084 MB / 315.5 MB, free: 9.656 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.1055, allocations: 55.41 kB / 315.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.1058, allocations: 175.1 kB / 315.7 MB, free: 9.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.1058, allocations: 33.7 kB / 315.7 MB, free: 9.371 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.1059, allocations: 140.7 kB / 315.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.1061, allocations: 114.3 kB / 316 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.1061, allocations: 4 kB / 316 MB, free: 9.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1063, allocations: 334.8 kB / 316.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.1065, allocations: 71.97 kB / 316.4 MB, free: 8.707 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.1068, allocations: 102.8 kB / 316.5 MB, free: 8.598 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.1071, allocations: 85.34 kB / 316.6 MB, free: 8.516 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1071, allocations: 0 / 316.6 MB, free: 8.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008213/0.1079, allocations: 303 kB / 316.9 MB, free: 8.211 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.108, allocations: 14.28 kB / 316.9 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.108, allocations: 4.062 kB / 316.9 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002447/0.1082, allocations: 40.83 kB / 316.9 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.1087, allocations: 59.91 kB / 317 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.1109, allocations: 1.581 MB / 318.6 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.1111, allocations: 12 kB / 318.6 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.1111, allocations: 11.95 kB / 318.6 MB, free: 6.352 MB / 266.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.0001915/0.1113, allocations: 141.8 kB / 318.7 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-05/0.1114, allocations: 23.72 kB / 318.7 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.747e-05/0.1115, allocations: 30.66 kB / 318.8 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.1115, allocations: 3.984 kB / 318.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1115, allocations: 384 / 318.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.1116, allocations: 92.92 kB / 318.9 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.1117, allocations: 7.953 kB / 318.9 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.1119, allocations: 12 kB / 318.9 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.112, allocations: 31.89 kB / 318.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001243/0.1132, allocations: 401.7 kB / 319.3 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009794/0.1142, allocations: 0.5023 MB / 319.8 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002691/0.1145, allocations: 100.5 kB / 319.9 MB, free: 4.969 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.1147, allocations: 131.2 kB / 320 MB, free: 4.84 MB / 266.7 MB Notification: Performance of Backend: time 6.61e-07/0.1147, allocations: 0 / 320 MB, free: 4.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009055/0.1156, allocations: 345 kB / 320.4 MB, free: 4.484 MB / 266.7 MB Notification: Performance of SimCode: time 0.001978/0.1176, allocations: 1.299 MB / 321.7 MB, free: 3.137 MB / 266.7 MB Notification: Performance of Templates: time 0.008856/0.1265, allocations: 2.525 MB / 324.2 MB, free: 0.6133 MB / 266.7 MB