Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 188.4 kB / 24.53 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.7 MB / 253.4 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] 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.Blocks.Examples.SinCosEncoder,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|integrator.y|der1.y|cosB.phi|cosBminus.phi|sinA.phi|sinAminus.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder") translateModel(Modelica.Blocks.Examples.SinCosEncoder,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|integrator.y|der1.y|cosB.phi|cosBminus.phi|sinA.phi|sinAminus.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.065e-05/3.065e-05, allocations: 6.219 kB / 371.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SinCosEncoder): time 0.00544/0.005471, allocations: 2.086 MB / 373.8 MB, free: 7.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.007626, allocations: 0.6583 MB / 374.5 MB, free: 6.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.007831, allocations: 11.88 kB / 374.5 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.00808, allocations: 47.52 kB / 374.5 MB, free: 6.352 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.008358, allocations: 51.52 kB / 374.6 MB, free: 6.301 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.008808, allocations: 99.81 kB / 374.7 MB, free: 6.203 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005181/0.009326, allocations: 283.6 kB / 374.9 MB, free: 5.926 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.009614, allocations: 75.97 kB / 375 MB, free: 5.852 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.009847, allocations: 103.6 kB / 375.1 MB, free: 5.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.01002, allocations: 95.41 kB / 375.2 MB, free: 5.656 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.01007, allocations: 16 kB / 375.2 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.01018, allocations: 27.98 kB / 375.3 MB, free: 5.613 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005491/0.01072, allocations: 447.1 kB / 375.7 MB, free: 5.172 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002847/0.01101, allocations: 296 kB / 376 MB, free: 4.879 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.871e-05/0.01106, allocations: 16 kB / 376 MB, free: 4.863 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.511e-05/0.01111, allocations: 15.88 kB / 376 MB, free: 4.848 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 [SIM] Bindings: time 0.001698/0.01281, allocations: 1.091 MB / 377.1 MB, free: 3.625 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003477/0.01316, allocations: 173 kB / 377.3 MB, free: 3.445 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0008384/0.014, allocations: 0.5544 MB / 377.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00032/0.01432, allocations: 153.8 kB / 378 MB, free: 2.668 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002432/0.01675, allocations: 1.123 MB / 379.1 MB, free: 1.395 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002591/0.01701, allocations: 132.5 kB / 379.2 MB, free: 1.215 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001411/0.01715, allocations: 80.33 kB / 379.3 MB, free: 1.109 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003773/0.01753, allocations: 183.2 kB / 379.5 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.000122/0.01765, allocations: 43.91 kB / 379.5 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004305/0.01808, allocations: 214.7 kB / 379.7 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.00113/0.01921, allocations: 489.2 kB / 380.2 MB, free: 140 kB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.3117/0.331, allocations: 374.1 kB / 380.6 MB, free: 16.83 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001804/0.3328, allocations: 358.7 kB / 380.9 MB, free: 16.68 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001656/0.3344, allocations: 0.6051 MB / 381.5 MB, free: 16.67 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.779e-05/0.3345, allocations: 23.61 kB / 381.6 MB, free: 16.65 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002083/0.3347, allocations: 98.77 kB / 381.7 MB, free: 16.65 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002972/0.3377, allocations: 0.8088 MB / 382.5 MB, free: 16.6 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 6.48e-05/0.3377, allocations: 31.41 kB / 382.5 MB, free: 16.59 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.645e-06/0.3377, allocations: 0 / 382.5 MB, free: 16.59 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005532/0.3383, allocations: 153.9 kB / 382.6 MB, free: 16.56 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.18e-05/0.3383, allocations: 1.031 kB / 382.6 MB, free: 16.56 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.753e-05/0.3384, allocations: 34.31 kB / 382.7 MB, free: 16.55 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.872e-05/0.3384, allocations: 5.875 kB / 382.7 MB, free: 16.54 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001493/0.3399, allocations: 0.4996 MB / 383.2 MB, free: 16.53 MB / 302.1 MB Error: Internal error NBJacobian.SparsityColoring.PartialD2ColoringAlgC.getIndices failed because cref toPolar.u[2] is neither a seed nor a partial candidate! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.695666490995791] Failed to read output from testmodel.py, exit status != 0: ['time', 'integrator.y', 'der1.y', 'cosB.phi', 'cosBminus.phi', 'sinA.phi', 'sinAminus.phi'] 0.3516394660109654 0.37368551 0.358134628 Calling exit ...