Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001374/0.001374, 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.00148/0.00148, allocations: 212.5 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.573/1.573, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/2.93e-05, allocations: 2.281 kB / 379.1 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.2644/0.2644, allocations: 4.779 MB / 383.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003808/0.2682, allocations: 1.471 MB / 385.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006718/0.2689, allocations: 39.03 kB / 385.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005325/0.2695, allocations: 215.1 kB / 385.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006911/0.2701, allocations: 194.3 kB / 385.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.2713, allocations: 419 kB / 386.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.273, allocations: 1.419 MB / 387.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006286/0.2737, allocations: 300.1 kB / 387.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007804/0.2744, allocations: 498.3 kB / 388.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004347/0.2749, allocations: 376.4 kB / 388.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.275, allocations: 87.38 kB / 388.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.2753, allocations: 102.9 kB / 388.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001445/0.2767, allocations: 2.078 MB / 391 MB, free: 8.578 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008029/0.2775, allocations: 1.432 MB / 392.4 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.2777, allocations: 85.91 kB / 392.5 MB, free: 7.566 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002752/0.278, allocations: 140.5 kB / 392.7 MB, free: 7.504 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: 252 (252) * Number of variables: 252 (252) Notification: Performance of [SIM] Bindings: time 0.004025/0.282, allocations: 4.417 MB / 397.1 MB, free: 4.438 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005392/0.2825, allocations: 449.4 kB / 397.5 MB, free: 4.176 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002836/0.2854, allocations: 2.29 MB / 399.8 MB, free: 2.781 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0009867/0.2864, allocations: 420.7 kB / 400.2 MB, free: 2.562 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.008732/0.2951, allocations: 5.492 MB / 405.7 MB, free: 15.49 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003856/0.2955, allocations: 216.4 kB / 405.9 MB, free: 15.32 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001329/0.2956, allocations: 112.7 kB / 406 MB, free: 15.21 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0004162/0.296, allocations: 271.3 kB / 406.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0001614/0.2962, allocations: 75.84 kB / 406.4 MB, free: 14.88 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005631/0.2968, allocations: 435.8 kB / 406.8 MB, free: 14.53 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.004324/0.3011, allocations: 2.973 MB / 409.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001154/0.3022, allocations: 1.02 MB / 410.8 MB, free: 12.15 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.001367/0.3036, allocations: 0.7041 MB / 411.5 MB, free: 11.43 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.001809/0.3054, allocations: 1.577 MB / 413.1 MB, free: 9.844 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 8.93e-05/0.3055, allocations: 40 kB / 413.1 MB, free: 9.797 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0002497/0.3058, allocations: 243.7 kB / 413.3 MB, free: 9.559 MB / 318.1 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [ALGB] (1) Real voltageToCurrentAdaptor2c.pder [ALGB] (1) Real currentToVoltageAdaptor1c.fder Following equations were created by fixing variables: Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.680397644988261] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v', 'inductor2.i'] 0.3178197669913061 0.33137212200000005 0.050204205 Calling exit ...