Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001265/0.001265, allocations: 115.7 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 213.1 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/2.795e-05, allocations: 6.219 kB / 359.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005287/0.005324, allocations: 4.6 MB / 363.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.007933, allocations: 1.395 MB / 365.3 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003008/0.00825, allocations: 23.81 kB / 365.3 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.008637, allocations: 182.2 kB / 365.5 MB, free: 6.773 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.008972, allocations: 162.3 kB / 365.7 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007435/0.009753, allocations: 383.4 kB / 366 MB, free: 6.238 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.01078, allocations: 1.103 MB / 367.2 MB, free: 5.129 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005589/0.01135, allocations: 431.5 kB / 367.6 MB, free: 4.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004173/0.01177, allocations: 326.6 kB / 367.9 MB, free: 4.359 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.01211, allocations: 346 kB / 368.2 MB, free: 4.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.135e-05/0.01221, allocations: 72 kB / 368.3 MB, free: 3.949 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.01243, allocations: 127.8 kB / 368.4 MB, free: 3.824 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009276/0.01337, allocations: 1.416 MB / 369.8 MB, free: 2.391 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005187/0.01389, allocations: 0.9617 MB / 370.8 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.01404, allocations: 163.4 kB / 371 MB, free: 1.254 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002152/0.01426, allocations: 123.4 kB / 371.1 MB, free: 1.133 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: 201 (201) * Number of variables: 201 (201) Notification: Performance of Bindings: time 0.2122/0.2264, allocations: 3.825 MB / 374.9 MB, free: 13 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001938/0.2266, allocations: 148.4 kB / 375.1 MB, free: 13 MB / 302.1 MB Notification: Performance of Early Inline: time 0.002004/0.2287, allocations: 1.911 MB / 377 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001838/0.2289, allocations: 135.2 kB / 377.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Alias: time 0.006504/0.2354, allocations: 5.68 MB / 382.8 MB, free: 9.586 MB / 302.1 MB Notification: Performance of simplify2: time 7.271e-05/0.2355, allocations: 47.42 kB / 382.8 MB, free: 9.574 MB / 302.1 MB Notification: Performance of Events: time 9.262e-05/0.2356, allocations: 62.94 kB / 382.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003828/0.2359, allocations: 291.3 kB / 383.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002687/0.2362, allocations: 235.9 kB / 383.4 MB, free: 9.223 MB / 302.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 3 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: inverseMass.a. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) inverseMass.positionToForce.u = Modelica.Blocks.Interfaces.Adaptors.Functions.state2({directMass.mass.s + 0.5 * directMass.mass.L, inverseMass.v, inverseMass.a}, time) ($RES_SIM_100)