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.ElastoGap.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.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.1_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadModel(Modelica): time 1.791/1.791, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 15.98 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07776/0.07813, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003686/0.08187, allocations: 2.021 MB / 274.6 MB, free: 9.516 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008637/0.08277, allocations: 378.8 kB / 275 MB, free: 9.145 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.08293, allocations: 7.938 kB / 275 MB, free: 9.137 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.304e-05/0.08304, allocations: 39.69 kB / 275.1 MB, free: 9.098 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.08339, allocations: 115.7 kB / 275.2 MB, free: 8.984 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.08373, allocations: 71.91 kB / 275.2 MB, free: 8.914 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.08417, allocations: 251.3 kB / 275.5 MB, free: 8.668 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.08442, allocations: 93.61 kB / 275.6 MB, free: 8.57 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.08461, allocations: 123.5 kB / 275.7 MB, free: 8.449 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.08486, allocations: 131.5 kB / 275.8 MB, free: 8.32 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.843e-05/0.08493, allocations: 19.98 kB / 275.9 MB, free: 8.301 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.748e-05/0.08502, allocations: 16 kB / 275.9 MB, free: 8.285 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.925e-05/0.08509, allocations: 51.77 kB / 275.9 MB, free: 8.234 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.348e-05/0.0852, allocations: 81.58 kB / 276 MB, free: 8.148 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.08559, allocations: 275.5 kB / 276.3 MB, free: 7.879 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.0856, allocations: 0 / 276.3 MB, free: 7.879 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.08562, allocations: 0 / 276.3 MB, free: 7.879 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.08563, allocations: 0 / 276.3 MB, free: 7.879 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001425/0.08706, allocations: 0.5885 MB / 276.9 MB, free: 7.242 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.08711, allocations: 8.031 kB / 276.9 MB, free: 7.234 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.08724, allocations: 35.62 kB / 276.9 MB, free: 7.199 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.08764, allocations: 258.5 kB / 277.2 MB, free: 6.906 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.08769, allocations: 28.45 kB / 277.2 MB, free: 6.879 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.609e-05/0.08778, allocations: 28 kB / 277.2 MB, free: 6.852 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008338/0.08863, allocations: 272.8 kB / 277.5 MB, free: 6.578 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.08867, allocations: 4 kB / 277.5 MB, free: 6.574 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.08872, allocations: 15.94 kB / 277.5 MB, free: 6.559 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.08874, allocations: 8 kB / 277.5 MB, free: 6.551 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000995/0.08975, allocations: 286 kB / 277.8 MB, free: 6.27 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.09164, allocations: 0.8068 MB / 278.6 MB, free: 5.414 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009577/0.09262, allocations: 356.8 kB / 278.9 MB, free: 5.051 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-05/0.09268, allocations: 4 kB / 278.9 MB, free: 5.047 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.09272, allocations: 46.55 kB / 279 MB, free: 4.992 MB / 234.7 MB Notification: Performance of pre-optimization done (n=43): time 2.144e-06/0.09274, allocations: 0 / 279 MB, free: 4.992 MB / 234.7 MB Notification: Performance of matching and sorting (n=63): time 0.007185/0.09993, allocations: 2.035 MB / 281 MB, free: 2.867 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.09999, allocations: 63.97 kB / 281.1 MB, free: 2.793 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.1003, allocations: 198.9 kB / 281.3 MB, free: 2.59 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/0.1003, allocations: 33.7 kB / 281.3 MB, free: 2.551 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.1004, allocations: 145 kB / 281.5 MB, free: 2.406 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.1007, allocations: 208.9 kB / 281.7 MB, free: 2.199 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.1007, allocations: 12 kB / 281.7 MB, free: 2.188 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.1009, allocations: 346.8 kB / 282 MB, free: 1.84 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005737/0.1015, allocations: 169 kB / 282.2 MB, free: 1.672 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005722/0.1021, allocations: 177 kB / 282.3 MB, free: 1.5 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006082/0.1027, allocations: 186.2 kB / 282.5 MB, free: 1.32 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1027, allocations: 0 / 282.5 MB, free: 1.32 MB / 234.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001434/0.1042, allocations: 0.4947 MB / 283 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1042, allocations: 4 kB / 283 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1042, allocations: 0 / 283 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.1042, allocations: 4 kB / 283 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008731/0.1051, allocations: 123.8 kB / 283.1 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.1052, allocations: 4 kB / 283.2 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.1055, allocations: 35.97 kB / 283.2 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.1056, allocations: 16 kB / 283.2 MB, free: 0.6367 MB / 234.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.0002301/0.1058, allocations: 157.7 kB / 283.4 MB, free: 484 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-05/0.1059, allocations: 35.62 kB / 283.4 MB, free: 448 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.1061, allocations: 47.33 kB / 283.4 MB, free: 400 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.1061, allocations: 3.984 kB / 283.4 MB, free: 396 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1061, allocations: 0 / 283.4 MB, free: 396 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.026e-05/0.1062, allocations: 104.7 kB / 283.5 MB, free: 272 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.758e-05/0.1063, allocations: 12 kB / 283.6 MB, free: 260 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/0.1067, allocations: 31.94 kB / 283.6 MB, free: 228 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.55e-05/0.1068, allocations: 36.45 kB / 283.6 MB, free: 188 kB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00206/0.1088, allocations: 0.6199 MB / 284.2 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0022/0.1111, allocations: 0.904 MB / 285.1 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006496/0.1117, allocations: 240.4 kB / 285.4 MB, free: 14.4 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001658/0.1119, allocations: 144.2 kB / 285.5 MB, free: 14.26 MB / 250.7 MB Notification: Performance of Backend: time 7.71e-07/0.1119, allocations: 0 / 285.5 MB, free: 14.26 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.113, allocations: 345.6 kB / 285.9 MB, free: 13.91 MB / 250.7 MB Notification: Performance of SimCode: time 0.002327/0.1153, allocations: 1.421 MB / 287.3 MB, free: 12.44 MB / 250.7 MB Notification: Performance of Templates: time 0.01365/0.129, allocations: 4.443 MB / 291.7 MB, free: 8.012 MB / 250.7 MB