Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 103.6 kB / 21.25 MB, free: 0.5664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 212 kB / 24.55 MB, free: 3.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 230.6 MB / 258.3 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.SinCosEncoder") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.484e-05, allocations: 2.281 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SinCosEncoder): time 0.003775/0.0038, allocations: 2.117 MB / 381.2 MB, free: 356 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2483/0.2521, allocations: 0.7056 MB / 381.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.2522, allocations: 9.938 kB / 381.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.2524, allocations: 49.14 kB / 381.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.2526, allocations: 44.09 kB / 382 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.2529, allocations: 104.5 kB / 382.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.2532, allocations: 279.1 kB / 382.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002205/0.2535, allocations: 86.84 kB / 382.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002626/0.2537, allocations: 104.3 kB / 382.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.2539, allocations: 87.91 kB / 382.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.2539, allocations: 18.31 kB / 382.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.891e-05/0.254, allocations: 30.44 kB / 382.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000304/0.2543, allocations: 456.4 kB / 383.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001529/0.2545, allocations: 296.6 kB / 383.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.2545, allocations: 14.88 kB / 383.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.084e-05/0.2546, allocations: 15 kB / 383.4 MB, free: 12.51 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.001237/0.2558, allocations: 1.09 MB / 384.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002682/0.2561, allocations: 170.9 kB / 384.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006628/0.2567, allocations: 0.6231 MB / 385.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002147/0.2569, allocations: 148.3 kB / 385.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.00174/0.2587, allocations: 1.12 MB / 386.6 MB, free: 11 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001433/0.2588, allocations: 133.2 kB / 386.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 7.565e-05/0.2589, allocations: 80.23 kB / 386.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000247/0.2591, allocations: 181.8 kB / 387 MB, free: 10.64 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.004e-05/0.2592, allocations: 43.72 kB / 387 MB, free: 10.62 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002799/0.2595, allocations: 210.5 kB / 387.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0007573/0.2603, allocations: 488.4 kB / 387.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003404/0.2606, allocations: 370.2 kB / 388 MB, free: 10.25 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0005405/0.2612, allocations: 366.6 kB / 388.4 MB, free: 9.992 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0006524/0.2618, allocations: 0.6802 MB / 389.1 MB, free: 9.641 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.675e-05/0.2618, allocations: 21.66 kB / 389.1 MB, free: 9.625 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001097/0.262, allocations: 105.4 kB / 389.2 MB, free: 9.566 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001259/0.2632, allocations: 0.7958 MB / 390 MB, free: 9.402 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.465e-05/0.2632, allocations: 26.88 kB / 390 MB, free: 9.383 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.91e-07/0.2632, allocations: 3.938 kB / 390 MB, free: 9.379 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0002461/0.2635, allocations: 137.2 kB / 390.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.352e-06/0.2635, allocations: 4 kB / 390.2 MB, free: 9.328 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.733e-05/0.2635, allocations: 33.34 kB / 390.2 MB, free: 9.305 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.769e-06/0.2635, allocations: 3.094 kB / 390.2 MB, free: 9.305 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0007625/0.2643, allocations: 0.4918 MB / 390.7 MB, free: 9.148 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.6677785590291023] Failed to read output from testmodel.py, exit status != 0: ['time', 'integrator.y', 'der1.y', 'cosB.phi', 'cosBminus.phi', 'sinA.phi', 'sinAminus.phi'] 0.2733361540012993 0.289967779 0.031543822 Calling exit ...