Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Blocks.Examples.SinCosEncoder,tolerance=1e-05,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|integrator.y|der1.y|cosB.phi|cosBminus.phi|sinA.phi|sinAminus.phi",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder") translateModel(Modelica.Blocks.Examples.SinCosEncoder,tolerance=1e-05,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|integrator.y|der1.y|cosB.phi|cosBminus.phi|sinA.phi|sinAminus.phi",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001168, allocations: 115 kB / 18.47 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001356, allocations: 217.1 kB / 19.42 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.625e-05, allocations: 8.891 kB / 359.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SinCosEncoder): time 0.00326/0.003296, allocations: 2.223 MB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.004893, allocations: 0.7479 MB / 362.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003146/0.005223, allocations: 7.938 kB / 362.3 MB, free: 10 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.005501, allocations: 47.52 kB / 362.4 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.005837, allocations: 47.59 kB / 362.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004887/0.006409, allocations: 103.7 kB / 362.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005714/0.006992, allocations: 271.6 kB / 362.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003829/0.007384, allocations: 115.4 kB / 362.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003465/0.007739, allocations: 103.6 kB / 363 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.007965, allocations: 99.47 kB / 363.1 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.87e-05/0.008033, allocations: 20 kB / 363.1 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.008208, allocations: 31.98 kB / 363.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003613/0.00858, allocations: 367.4 kB / 363.5 MB, free: 8.812 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001859/0.008775, allocations: 236.3 kB / 363.7 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.591e-05/0.00888, allocations: 35.88 kB / 363.8 MB, free: 8.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001268/0.009014, allocations: 15.88 kB / 363.8 MB, free: 8.527 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: 53 (49) * Number of variables: 53 (46) Notification: Performance of Bindings: time 0.001338/0.01036, allocations: 1.054 MB / 364.8 MB, free: 7.367 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001781/0.01055, allocations: 99.78 kB / 364.9 MB, free: 7.27 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0005804/0.01114, allocations: 0.5813 MB / 365.5 MB, free: 6.66 MB / 302.1 MB Notification: Performance of simplify1: time 5.526e-05/0.0112, allocations: 43.94 kB / 365.5 MB, free: 6.617 MB / 302.1 MB Notification: Performance of Alias: time 0.001384/0.01259, allocations: 1.06 MB / 366.6 MB, free: 5.414 MB / 302.1 MB Notification: Performance of simplify2: time 5.476e-05/0.01266, allocations: 27.95 kB / 366.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002317/0.0129, allocations: 147 kB / 366.8 MB, free: 5.23 MB / 302.1 MB Notification: Performance of Events: time 0.000151/0.01306, allocations: 59.22 kB / 366.8 MB, free: 5.172 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002124/0.01328, allocations: 154.6 kB / 367 MB, free: 5.016 MB / 302.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: $FUN_7. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (4) rotator.RotationMatrix = {{$FUN_7, -$FUN_8}, {$FUN_8, $FUN_7}} ($RES_BND_49)