Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 109.5 kB / 17.75 MB, free: 5.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 196.2 kB / 18.69 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.746e-05, allocations: 2.281 kB / 351.9 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003705/0.003731, allocations: 3.527 MB / 355.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.004921, allocations: 0.8762 MB / 356.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.005077, allocations: 15.94 kB / 356.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.005259, allocations: 79.22 kB / 356.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.005492, allocations: 146.6 kB / 356.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.005843, allocations: 159.7 kB / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005476/0.006398, allocations: 0.6622 MB / 357.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.006684, allocations: 197.4 kB / 357.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.006919, allocations: 243.1 kB / 357.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.007171, allocations: 266.9 kB / 358.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.798e-05/0.007245, allocations: 52 kB / 358.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.84e-05/0.007319, allocations: 52 kB / 358.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005152/0.007839, allocations: 0.8346 MB / 359 MB, free: 12.15 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002384/0.008085, allocations: 0.4965 MB / 359.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.008162, allocations: 91.69 kB / 359.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.175e-05/0.008219, allocations: 20 kB / 359.6 MB, free: 11.54 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 (116) * Number of variables: 116 (116) Notification: Performance of Bindings: time 0.001747/0.009971, allocations: 2.341 MB / 362 MB, free: 9.07 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.000158/0.01014, allocations: 147.7 kB / 362.1 MB, free: 8.926 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001057/0.0112, allocations: 1.284 MB / 363.4 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001021/0.01131, allocations: 119.8 kB / 363.5 MB, free: 7.496 MB / 302.1 MB Notification: Performance of Alias: time 0.002835/0.01415, allocations: 2.697 MB / 366.2 MB, free: 4.66 MB / 302.1 MB Notification: Performance of simplify2: time 7.395e-05/0.01424, allocations: 87.89 kB / 366.3 MB, free: 4.574 MB / 302.1 MB Notification: Performance of Events: time 0.0001864/0.01443, allocations: 178.2 kB / 366.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004551/0.01489, allocations: 395.3 kB / 366.8 MB, free: 3.996 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000393/0.01529, allocations: 417.8 kB / 367.3 MB, free: 3.578 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (5|5) Unmatched Variables *************************** [ALGB] (1) Real innerContactB.lossPower slice: {} [ALGB] (1) Real springPlateA.a (start = 0.0) slice: {} [ALGB] (1) Real outerContactB.lossPower slice: {} [ALGB] (1) Real friction.lossPower slice: {} [ALGB] (1) Real spool.a (start = 0.0) slice: {} (5|5) Unmatched Equations *************************** [SCAL] (1) friction.s_rel = (-(0.5 * rod3.L + (0.5 * rod3.L - (spool.s - 0.5 * spool.L)))) - fixedLe.s0 ($RES_SIM_19) slice: {} [SCAL] (1) outerContactB.s_rel = (0.5 * housing.L - (-(fixedLe.s0 + 0.5 * housing.L))) - (springPlateB.s + 0.5 * springPlateB.L) ($RES_SIM_28) slice: {} [SCAL] (1) innerContactB.s_rel = (0.5 * rod4.L - (-((spool.s - 0.5 * spool.L) + 0.5 * rod4.L))) - (-(0.5 * rod2.L + (0.5 * rod2.L - (springPlateB.s - 0.5 * springPlateB.L)))) ($RES_SIM_68) slice: {} [SCAL] (1) outerContactA.s_rel = (springPlateA.s - 0.5 * springPlateA.L) - fixedLe.s0 ($RES_SIM_38) slice: {} [SCAL] (1) innerContactA.s_rel = (0.5 * rod1.L - (-((springPlateA.s + 0.5 * springPlateA.L) + 0.5 * rod1.L))) - (-(0.5 * rod3.L + (0.5 * rod3.L - (spool.s - 0.5 * spool.L)))) ($RES_SIM_78) slice: {}