Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.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.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 194.9 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003481, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09107, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003516/0.09463, allocations: 2.018 MB / 311.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008704/0.09553, allocations: 386.8 kB / 311.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.09569, allocations: 4 kB / 311.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.677e-05/0.09579, allocations: 39.69 kB / 311.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.09611, allocations: 115.7 kB / 311.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.09645, allocations: 71.86 kB / 311.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000421/0.09688, allocations: 247.5 kB / 311.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.09712, allocations: 89.66 kB / 312 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.09731, allocations: 119.6 kB / 312.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.09756, allocations: 139.4 kB / 312.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.508e-05/0.09763, allocations: 16 kB / 312.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.966e-05/0.09774, allocations: 16 kB / 312.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.742e-05/0.09782, allocations: 47.83 kB / 312.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.548e-05/0.09792, allocations: 85.52 kB / 312.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.0983, allocations: 259.5 kB / 312.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.09832, allocations: 4 kB / 312.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.09833, allocations: 4 kB / 312.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.09835, allocations: 0 / 312.7 MB, free: 12.72 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001449/0.0998, allocations: 0.5923 MB / 313.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.09986, allocations: 8.031 kB / 313.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.204e-05/0.09996, allocations: 35.62 kB / 313.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.1004, allocations: 254.5 kB / 313.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/0.1004, allocations: 32.5 kB / 313.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.879e-05/0.1005, allocations: 24 kB / 313.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008464/0.1014, allocations: 272.8 kB / 313.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.1014, allocations: 7.906 kB / 313.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-05/0.1015, allocations: 12 kB / 313.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.1015, allocations: 8 kB / 313.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.1025, allocations: 278.1 kB / 314.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.1044, allocations: 0.8107 MB / 315 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009666/0.1054, allocations: 359.2 kB / 315.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.295e-05/0.1055, allocations: 19.92 kB / 315.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.1055, allocations: 34.55 kB / 315.4 MB, free: 9.824 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 2.465e-06/0.1056, allocations: 4 kB / 315.4 MB, free: 9.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.007255/0.1128, allocations: 2.029 MB / 317.4 MB, free: 7.699 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.1129, allocations: 59.97 kB / 317.5 MB, free: 7.629 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.1132, allocations: 194.9 kB / 317.7 MB, free: 7.426 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.1132, allocations: 41.7 kB / 317.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.1133, allocations: 148.9 kB / 317.9 MB, free: 7.227 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.1136, allocations: 212.8 kB / 318.1 MB, free: 7.016 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.1136, allocations: 16 kB / 318.1 MB, free: 7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1138, allocations: 338.8 kB / 318.4 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005853/0.1144, allocations: 169 kB / 318.6 MB, free: 6.496 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005839/0.115, allocations: 177 kB / 318.8 MB, free: 6.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006117/0.1156, allocations: 186.2 kB / 318.9 MB, free: 6.145 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.1157, allocations: 0 / 318.9 MB, free: 6.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001414/0.1171, allocations: 498.6 kB / 319.4 MB, free: 5.648 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.1171, allocations: 9.875 kB / 319.4 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1171, allocations: 0 / 319.4 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.1172, allocations: 4 kB / 319.4 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009084/0.1181, allocations: 127.8 kB / 319.6 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.1181, allocations: 4 kB / 319.6 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/0.1185, allocations: 35.97 kB / 319.6 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.1185, allocations: 12 kB / 319.6 MB, free: 5.461 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0002398/0.1188, allocations: 161.7 kB / 319.8 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.364e-05/0.1189, allocations: 35.62 kB / 319.8 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.119, allocations: 47.33 kB / 319.9 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.1191, allocations: 3.984 kB / 319.9 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1191, allocations: 0 / 319.9 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1192, allocations: 104.7 kB / 320 MB, free: 5.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.857e-05/0.1193, allocations: 12 kB / 320 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/0.1197, allocations: 31.98 kB / 320 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/0.1198, allocations: 32.52 kB / 320 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0021/0.1219, allocations: 0.6237 MB / 320.7 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002241/0.1242, allocations: 0.9079 MB / 321.6 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000643/0.1248, allocations: 228.4 kB / 321.8 MB, free: 3.234 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001759/0.125, allocations: 136.6 kB / 321.9 MB, free: 3.102 MB / 266.7 MB Notification: Performance of Backend: time 8.01e-07/0.125, allocations: 4 kB / 321.9 MB, free: 3.098 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.1261, allocations: 357.5 kB / 322.3 MB, free: 2.746 MB / 266.7 MB Notification: Performance of SimCode: time 0.002327/0.1285, allocations: 1.414 MB / 323.7 MB, free: 1.277 MB / 266.7 MB Notification: Performance of Templates: time 0.01351/0.142, allocations: 4.424 MB / 328.1 MB, free: 12.87 MB / 282.7 MB