Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IdealizedContact_IdealizedContact.Examples.Example10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package IdealizedContact with version 0.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(IdealizedContact.Examples.Example10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IdealizedContact_IdealizedContact.Examples.Example10") translateModel(IdealizedContact.Examples.Example10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IdealizedContact_IdealizedContact.Examples.Example10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004614/0.004614, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo): time 0.09258/0.09258, allocations: 14.21 MB / 30.05 MB, free: 3.465 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.364/1.364, allocations: 170.8 MB / 205 MB, free: 13.18 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00186/0.00186, allocations: 115.4 kB / 248.1 MB, free: 2.117 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003631, allocations: 12 kB / 300.8 MB, free: 36.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0843/0.08468, allocations: 42.25 MB / 343 MB, free: 10.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4284/0.5131, allocations: 130.5 MB / 473.6 MB, free: 1.574 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.5134, allocations: 79.34 kB / 473.6 MB, free: 1.535 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo:1555:39-1555:49:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo:16734:7-16734:45:writable] Warning: Ignoring the modification on outer element: contact.contactDefinition.animation = true. Notification: Performance of FrontEnd - DAE generated: time 1.933/2.446, allocations: 409.5 MB / 0.8625 GB, free: 16.02 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.735e-06/2.446, allocations: 2.516 kB / 0.8625 GB, free: 16.02 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0009817/2.447, allocations: 380.4 kB / 0.8628 GB, free: 16 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5678 * Number of variables: 5678 Notification: Performance of Generate backend data structure: time 0.0736/2.521, allocations: 16.46 MB / 0.8789 GB, free: 10.66 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/2.521, allocations: 10.66 kB / 0.8789 GB, free: 10.66 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03705/2.558, allocations: 8.475 MB / 0.8872 GB, free: 9.633 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04463/2.603, allocations: 17.28 MB / 0.9041 GB, free: 8.152 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001858/2.605, allocations: 1.551 MB / 0.9056 GB, free: 7.988 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01272/2.617, allocations: 1.887 MB / 0.9074 GB, free: 7.977 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1204/2.738, allocations: 43.5 MB / 0.9499 GB, free: 2.281 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009881/2.739, allocations: 121.9 kB / 0.95 GB, free: 2.27 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009694/2.748, allocations: 0.8292 MB / 0.9508 GB, free: 2.27 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004665/2.753, allocations: 2.563 MB / 0.9533 GB, free: 2.223 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4624/3.216, allocations: 39.66 MB / 0.9921 GB, free: 30.63 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3067/3.522, allocations: 155.7 MB / 1.144 GB, free: 184 kB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3834/3.906, allocations: 18.19 MB / 1.162 GB, free: 86.58 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08975/3.996, allocations: 38.08 MB / 1.199 GB, free: 78.43 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.401e-05/3.996, allocations: 80.55 kB / 1.199 GB, free: 78.39 MB / 474.8 MB Notification: Performance of pre-optimization done (n=480): time 1.199e-05/3.996, allocations: 0 / 1.199 GB, free: 78.39 MB / 474.8 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: contact.contactDefinition.geometry.auxp2_cp_cy1.n[3] 2: contact.contactDefinition.geometry.auxp2_cp_cy1.n[2] 3: contact.contactDefinition.geometry.auxp2_cp_cy1.n[1] 4: contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[3] 5: contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[2] 6: contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[1] 7: contact.contactDefinition.geometry.auxp2_cp_cy2.n[3] 8: contact.contactDefinition.geometry.auxp2_cp_cy2.n[2] 9: contact.contactDefinition.geometry.auxp2_cp_cy2.n[1] 10: contact.contactDefinition.geometry.auxp1_auxcp1_cy1.n[3] 11: contact.contactDefinition.geometry.auxp1_auxcp1_cy1.n[2] 12: contact.contactDefinition.geometry.auxp1_auxcp1_cy1.n[1] Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=703): time 5.095/9.091, allocations: 0.6402 GB / 1.839 GB, free: 77.99 MB / 474.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:3387:11-3387:142:writable] Error: Internal error function createResidualSetEquations failed for equation: {$DER.contact.contactDefinition.geometry.auxp1_auxcp1_cy2.e[1], $DER.contact.contactDefinition.geometry.auxp1_auxcp1_cy2.e[2], $DER.contact.contactDefinition.geometry.auxp1_auxcp1_cy2.e[3]} = smooth(1, if sqrt(contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[1] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[2] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[3] ^ 2.0) >= 1e-13 then {($DER.contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[1] * sqrt(contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[1] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[2] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[3] ^ 2.0) - contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[1] * 0.5 * (2.0 * contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[1] * $DER.contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[1] + 2.0 * contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[2] * $DER.contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[2] + 2.0 * contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[3] * $DER.contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[3]) / sqrt(contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[1] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[2] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[3] ^ 2.0)) / (contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[1] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[2] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[3] ^ 2.0), ($DER.contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[2] * sqrt(contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[1] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[2] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[3] ^ 2.0) - contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[2] * 0.5 * (2.0 * contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[1] * $DER.contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[1] + 2.0 * contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[2] * $DER.contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[2] + 2.0 * contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[3] * $DER.contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[3]) / sqrt(contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[1] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[2] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[3] ^ 2.0)) / (contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[1] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[2] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[3] ^ 2.0), ($DER.contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[3] * sqrt(contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[1] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[2] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[3] ^ 2.0) - contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[3] * 0.5 * (2.0 * contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[1] * $DER.contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[1] + 2.0 * contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[2] * $DER.contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[2] + 2.0 * contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[3] * $DER.contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[3]) / sqrt(contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[1] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[2] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[3] ^ 2.0)) / (contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[1] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[2] ^ 2.0 + contact.contactDefinition.geometry.auxp1_auxcp1_cy2.n[3] ^ 2.0)} else {0.0, 0.0, 0.0})