Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001478/0.001478, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001601/0.001601, allocations: 219.1 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.612/1.612, allocations: 230.5 MB / 258.2 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] 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.TotalHarmonicDistortion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|thd1.harmonic.mean1.x|thd1.harmonic.mean2.x|thd1.rootMeanSquare.mean.x|thdRMS.harmonic.mean1.x|thdRMS.harmonic.mean2.x|thdRMS.rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion") translateModel(Modelica.Blocks.Examples.TotalHarmonicDistortion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|thd1.harmonic.mean1.x|thd1.harmonic.mean2.x|thd1.rootMeanSquare.mean.x|thdRMS.harmonic.mean1.x|thdRMS.harmonic.mean2.x|thdRMS.rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.595e-05, allocations: 2.281 kB / 379 MB, free: 2.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.2805/0.2805, allocations: 3.409 MB / 382.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003054/0.2835, allocations: 1.352 MB / 383.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005928/0.2841, allocations: 17.12 kB / 383.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.2845, allocations: 88.86 kB / 383.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005127/0.285, allocations: 153.3 kB / 384 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.2862, allocations: 470.3 kB / 384.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.2877, allocations: 1.181 MB / 385.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006017/0.2883, allocations: 256.3 kB / 385.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007953/0.2891, allocations: 437.3 kB / 386.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004443/0.2896, allocations: 326.9 kB / 386.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.2897, allocations: 98.69 kB / 386.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.29, allocations: 110 kB / 386.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001039/0.291, allocations: 1.52 MB / 388.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005156/0.2915, allocations: 0.9474 MB / 389.3 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.2917, allocations: 54.59 kB / 389.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001944/0.2919, allocations: 44.27 kB / 389.4 MB, free: 9.312 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: 141 (141) * Number of variables: 141 (135) Notification: Performance of [SIM] Bindings: time 0.003322/0.2952, allocations: 3.511 MB / 393 MB, free: 6.785 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006538/0.2958, allocations: 493.6 kB / 393.4 MB, free: 6.48 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002478/0.2983, allocations: 2.26 MB / 395.7 MB, free: 5.035 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0007906/0.2991, allocations: 360 kB / 396.1 MB, free: 4.82 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.005059/0.3042, allocations: 3.325 MB / 399.4 MB, free: 2.836 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004707/0.3046, allocations: 246.4 kB / 399.6 MB, free: 2.688 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002104/0.3049, allocations: 199.6 kB / 399.8 MB, free: 2.531 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0006209/0.3055, allocations: 0.53 MB / 400.3 MB, free: 2.125 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0005065/0.306, allocations: 365.6 kB / 400.7 MB, free: 1.934 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0009019/0.3069, allocations: 0.794 MB / 401.5 MB, free: 1.426 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002391/0.3093, allocations: 1.582 MB / 403.1 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001578/0.3108, allocations: 1.54 MB / 404.6 MB, free: 15.8 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.002157/0.313, allocations: 1.045 MB / 405.7 MB, free: 15 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.0028/0.3158, allocations: 2.518 MB / 408.2 MB, free: 12.99 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001919/0.316, allocations: 60.09 kB / 408.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0007646/0.3168, allocations: 0.5672 MB / 408.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.01574/0.3325, allocations: 9.056 MB / 417.9 MB, free: 4.957 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.00016/0.3327, allocations: 168 kB / 418 MB, free: 4.793 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 2.134e-06/0.3327, allocations: 0 / 418 MB, free: 4.793 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.000928/0.3336, allocations: 429.5 kB / 418.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.963e-05/0.3336, allocations: 7.938 kB / 418.5 MB, free: 4.293 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0001206/0.3337, allocations: 80 kB / 418.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 5.661e-05/0.3338, allocations: 7.938 kB / 418.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.004288/0.3381, allocations: 1.755 MB / 420.3 MB, free: 2.461 MB / 318.1 MB Error: Internal error NBJacobian.SparsityColoring.PartialD2ColoringAlgC.getIndices failed because cref thd1.harmonic.product1.u[1] is neither a seed nor a partial candidate! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.790677112992853] Failed to read output from testmodel.py, exit status != 0: ['time', 'thd1.harmonic.mean1.x', 'thd1.harmonic.mean2.x', 'thd1.rootMeanSquare.mean.x', 'thdRMS.harmonic.mean1.x', 'thdRMS.harmonic.mean2.x', 'thdRMS.rootMeanSquare.mean.x'] 0.34880106995115057 0.37141399999999997 0.07532279900000001 Calling exit ...