Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001287/0.001287, allocations: 105.7 kB / 19.05 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 211.7 kB / 20.03 MB, free: 2.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.212/1.212, allocations: 230.4 MB / 251.3 MB, free: 8.801 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.58e-05, allocations: 2.281 kB / 368.8 MB, free: 6.598 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.1418/0.1418, allocations: 18.51 MB / 387.3 MB, free: 4.559 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009959/0.1518, allocations: 6.168 MB / 393.5 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/0.1537, allocations: 145.6 kB / 393.7 MB, free: 0.582 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008973/0.1627, allocations: 6.087 MB / 399.7 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005325/0.168, allocations: 2.606 MB / 402.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004289/0.1723, allocations: 2.527 MB / 404.9 MB, free: 10 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008708/0.181, allocations: 7.942 MB / 412.8 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004835/0.1858, allocations: 4.658 MB / 417.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.1888, allocations: 2.609 MB / 420.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003337/0.1921, allocations: 3.052 MB / 423.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005766/0.1927, allocations: 436 kB / 423.6 MB, free: 9.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002579/0.1953, allocations: 1.56 MB / 425.1 MB, free: 8.254 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.00478/0.2001, allocations: 6.457 MB / 431.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.002875/0.203, allocations: 4.045 MB / 435.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008101/0.2038, allocations: 0.5179 MB / 436.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0006334/0.2044, allocations: 146.9 kB / 436.3 MB, free: 12.97 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 (988) * Number of variables: 2272 (680) Notification: Performance of Bindings: time 0.01522/0.2196, allocations: 16.09 MB / 452.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.001887/0.2215, allocations: 2.137 MB / 454.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of Early Inline: time 0.7472/0.9688, allocations: 349.3 MB / 0.7849 GB, free: 84.07 MB / 0.5294 GB Notification: Performance of Simplify 1: time 0.07833/1.047, allocations: 55.32 MB / 0.839 GB, free: 79.14 MB / 0.5294 GB Notification: Performance of Alias: time 0.321/1.368, allocations: 113.8 MB / 0.9501 GB, free: 101.5 MB / 0.545 GB Notification: Performance of Simplify 2: time 0.07113/1.439, allocations: 55.02 MB / 1.004 GB, free: 101.3 MB / 0.545 GB Notification: Performance of Remove Stream: time 0.05819/1.497, allocations: 38.31 MB / 1.041 GB, free: 88.23 MB / 0.545 GB Notification: Performance of Detect States: time 0.07941/1.577, allocations: 74.08 MB / 1.114 GB, free: 29.43 MB / 0.545 GB Notification: Performance of Events: time 0.6083/2.185, allocations: 289.9 MB / 1.397 GB, free: 186.4 MB / 0.5762 GB Error: Internal error NBVariable.getDerCref failed for joint.w_rel because of wrong variable kind.