Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.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.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadModel(Modelica): time 1.731/1.731, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003389, allocations: 8 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1035, allocations: 38.78 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004143/0.1077, allocations: 1.873 MB / 274.5 MB, free: 9.652 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000834/0.1086, allocations: 247.2 kB / 274.7 MB, free: 9.41 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.1088, allocations: 7.938 kB / 274.8 MB, free: 9.402 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.109, allocations: 27.77 kB / 274.8 MB, free: 9.375 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004017/0.1094, allocations: 99.72 kB / 274.9 MB, free: 9.277 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.1097, allocations: 47.94 kB / 274.9 MB, free: 9.23 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005142/0.1102, allocations: 203.4 kB / 275.1 MB, free: 9.031 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.1105, allocations: 73.62 kB / 275.2 MB, free: 8.953 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.1107, allocations: 91.7 kB / 275.3 MB, free: 8.863 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.111, allocations: 103.5 kB / 275.4 MB, free: 8.762 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.313e-05/0.1111, allocations: 15.98 kB / 275.4 MB, free: 8.746 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.444e-05/0.1112, allocations: 12 kB / 275.4 MB, free: 8.734 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.504e-05/0.1113, allocations: 43.84 kB / 275.5 MB, free: 8.691 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1115, allocations: 69.58 kB / 275.5 MB, free: 8.617 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.1119, allocations: 211.6 kB / 275.7 MB, free: 8.41 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1119, allocations: 0 / 275.7 MB, free: 8.41 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.112, allocations: 0 / 275.7 MB, free: 8.41 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.112, allocations: 0 / 275.7 MB, free: 8.41 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001337/0.1133, allocations: 0.5028 MB / 276.2 MB, free: 7.859 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.1134, allocations: 8.031 kB / 276.2 MB, free: 7.852 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.1135, allocations: 31.62 kB / 276.3 MB, free: 7.82 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004857/0.114, allocations: 235.4 kB / 276.5 MB, free: 7.547 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.1141, allocations: 24.52 kB / 276.5 MB, free: 7.523 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.1142, allocations: 24 kB / 276.6 MB, free: 7.5 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000851/0.1151, allocations: 243.4 kB / 276.8 MB, free: 7.246 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/0.1152, allocations: 3.906 kB / 276.8 MB, free: 7.242 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.608e-05/0.1153, allocations: 12 kB / 276.8 MB, free: 7.23 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.1153, allocations: 4 kB / 276.8 MB, free: 7.227 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006562/0.116, allocations: 159.8 kB / 277 MB, free: 7.07 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002243/0.1182, allocations: 0.805 MB / 277.8 MB, free: 6.207 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.1193, allocations: 283.8 kB / 278 MB, free: 5.902 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/0.1194, allocations: 4 kB / 278.1 MB, free: 5.898 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.1195, allocations: 42.5 kB / 278.1 MB, free: 5.848 MB / 234.7 MB Notification: Performance of pre-optimization done (n=33): time 4.469e-06/0.1195, allocations: 0 / 278.1 MB, free: 5.848 MB / 234.7 MB Notification: Performance of matching and sorting (n=45): time 0.005998/0.1255, allocations: 1.942 MB / 280 MB, free: 3.641 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1257, allocations: 114.7 kB / 280.1 MB, free: 3.504 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.126, allocations: 190.5 kB / 280.3 MB, free: 3.305 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 6.74e-05/0.1261, allocations: 33.7 kB / 280.4 MB, free: 3.266 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.1263, allocations: 136.8 kB / 280.5 MB, free: 3.129 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/0.1266, allocations: 162.5 kB / 280.7 MB, free: 2.969 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.1267, allocations: 8 kB / 280.7 MB, free: 2.961 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0003108/0.127, allocations: 342.8 kB / 281 MB, free: 2.617 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.1275, allocations: 92.83 kB / 281.1 MB, free: 2.527 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/0.128, allocations: 150.3 kB / 281.2 MB, free: 2.359 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005251/0.1286, allocations: 125 kB / 281.4 MB, free: 2.242 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1286, allocations: 0 / 281.4 MB, free: 2.242 MB / 234.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001319/0.1299, allocations: 333.1 kB / 281.7 MB, free: 1.91 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.13, allocations: 11.94 kB / 281.7 MB, free: 1.898 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.13, allocations: 0 / 281.7 MB, free: 1.898 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.13, allocations: 7.938 kB / 281.7 MB, free: 1.891 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.1311, allocations: 99.83 kB / 281.8 MB, free: 1.793 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/0.1311, allocations: 4 kB / 281.8 MB, free: 1.789 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.1314, allocations: 8 kB / 281.8 MB, free: 1.781 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/0.1315, allocations: 20.09 kB / 281.8 MB, free: 1.762 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002936/0.1318, allocations: 149.7 kB / 282 MB, free: 1.605 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.1321, allocations: 35.66 kB / 282 MB, free: 1.57 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.1322, allocations: 37.86 kB / 282.1 MB, free: 1.535 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.1323, allocations: 0 / 282.1 MB, free: 1.535 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.1323, allocations: 0 / 282.1 MB, free: 1.535 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.1324, allocations: 104.8 kB / 282.2 MB, free: 1.414 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.697e-05/0.1325, allocations: 8 kB / 282.2 MB, free: 1.406 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004943/0.1331, allocations: 11.94 kB / 282.2 MB, free: 1.395 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.1332, allocations: 31.92 kB / 282.2 MB, free: 1.363 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002117/0.1353, allocations: 0.5795 MB / 282.8 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001762/0.1371, allocations: 0.7357 MB / 283.5 MB, free: 28 kB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004741/0.1376, allocations: 137.5 kB / 283.7 MB, free: 15.89 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002354/0.1379, allocations: 136.2 kB / 283.8 MB, free: 15.76 MB / 250.7 MB Notification: Performance of Backend: time 1.162e-06/0.1379, allocations: 0 / 283.8 MB, free: 15.76 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.1392, allocations: 245.4 kB / 284 MB, free: 15.52 MB / 250.7 MB Notification: Performance of SimCode: time 0.003461/0.1427, allocations: 1.436 MB / 285.5 MB, free: 14.03 MB / 250.7 MB Notification: Performance of Templates: time 0.01036/0.1531, allocations: 2.989 MB / 288.5 MB, free: 11.05 MB / 250.7 MB